- Add VALA option

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-09-07 17:51:34 +00:00
parent 5d036c7104
commit dcd7c0b9c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396305
2 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= gupnp
PORTVERSION= 0.20.14
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= GNOME
@ -16,8 +17,11 @@ LIB_DEPENDS= libgssdp-1.0.so:${PORTSDIR}/net/gssdp \
libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
OPTIONS_DEFINE= VALA
OPTIONS_SUB= yes
VALA_DESC= Vala binding (requires net/gssdp with VALA enabled)
CONFIGURE_ARGS= --enable-introspection=yes
CONFIGURE_ENV= VAPIGEN="" ac_cv_path_VAPIGEN=""
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_GNOME= glib20 introspection:build
@ -27,6 +31,10 @@ USES= compiler:c11 gmake libtool pathfix pkgconfig python:run shebangfix tar:xz
SHEBANG_FILES= tools/gupnp-binding-tool
VALA_BUILD_DEPENDS= vala>=0.20:${PORTSDIR}/lang/vala
VALA_CONFIGURE_ENV= ac_cv_path_VAPIGEN=${LOCALBASE}/bin/vapigen
VALA_CONFIGURE_ENV_OFF= ac_cv_path_VAPIGEN=""
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == "clang"

View File

@ -72,3 +72,5 @@ share/gtk-doc/html/gupnp/style.css
share/gtk-doc/html/gupnp/tutorial.html
share/gtk-doc/html/gupnp/up-insensitive.png
share/gtk-doc/html/gupnp/up.png
%%VALA%%share/vala/vapi/gupnp-1.0.deps
%%VALA%%share/vala/vapi/gupnp-1.0.vapi