From 28d15466ecb04dd03d30e52d3d974b34b80da033 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 7 Sep 2015 17:51:34 +0000 Subject: - Add VALA option - Bump PORTREVISION for package change --- net/gupnp/Makefile | 10 +++++++++- net/gupnp/pkg-plist | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/net/gupnp/Makefile b/net/gupnp/Makefile index 3b0f7ddf6146..c79ab436324f 100644 --- a/net/gupnp/Makefile +++ b/net/gupnp/Makefile @@ -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 .if ${CHOSEN_COMPILER_TYPE} == "clang" diff --git a/net/gupnp/pkg-plist b/net/gupnp/pkg-plist index f7fe0026b00a..e0f21651de42 100644 --- a/net/gupnp/pkg-plist +++ b/net/gupnp/pkg-plist @@ -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 -- cgit