Skip to content

Commit 304dfb5

Browse files
committed
gupnp-igd: use gobject_introspection
1 parent 7e53e52 commit 304dfb5

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎net/gupnp-igd/Portfile‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
PortSystem 1.0
44
PortGroup meson 1.0
5+
PortGroup gobject_introspection 1.0
56

67
name gupnp-igd
78
version 1.6.0
8-
revision 0
9+
revision 1
910
license LGPL
1011
set branch [join [lrange [split ${version} .] 0 1] .]
1112
description GUPnP-IGD is a library to handle UPnP IGD port mapping.
@@ -25,13 +26,20 @@ checksums rmd160 306f4be3a44a18d31eb1533ba2199416a4cd78b2 \
2526
depends_build-append \
2627
port:pkgconfig
2728

28-
depends_lib-append path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \
29+
depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \
30+
port:gssdp \
2931
port:gupnp
3032

33+
gobject_introspection yes
34+
3135
# blacklist compilers that do not support C11
3236
# due to error: redefinition of typedef 'GUPnPService'
3337
# build fix for SL and earlier
3438

3539
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
3640

41+
pre-configure {
42+
configure.args-replace -Dintrospection=enabled -Dintrospection=true
43+
}
44+
3745
livecheck.type gnome

0 commit comments

Comments
 (0)