Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2015 17:51:40 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396306 - head/net/gupnp-av
Message-ID:  <201509071751.t87HpeLs073063@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep  7 17:51:39 2015
New Revision: 396306
URL: https://svnweb.freebsd.org/changeset/ports/396306

Log:
  - Add VALA option
  - Bump PORTREVISION for package change

Modified:
  head/net/gupnp-av/Makefile
  head/net/gupnp-av/pkg-plist

Modified: head/net/gupnp-av/Makefile
==============================================================================
--- head/net/gupnp-av/Makefile	Mon Sep  7 17:51:34 2015	(r396305)
+++ head/net/gupnp-av/Makefile	Mon Sep  7 17:51:39 2015	(r396306)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gupnp-av
 PORTVERSION=	0.12.7
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	GNOME
 
@@ -16,8 +17,11 @@ BUILD_DEPENDS=	gobject-introspection>=0.
 LIB_DEPENDS=	libgupnp-1.0.so:${PORTSDIR}/net/gupnp
 RUN_DEPENDS=	gupnp>=0.19.0:${PORTSDIR}/net/gupnp
 
+OPTIONS_DEFINE=	VALA
+OPTIONS_SUB=	yes
+VALA_DESC=	Vala binding (requires net/gssdp and net/gupnp 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
@@ -26,6 +30,10 @@ USES=		gmake libtool pathfix pkgconfig t
 
 PORTDATA=	*
 
+VALA_BUILD_DEPENDS=	vala>=0.22:${PORTSDIR}/lang/vala
+VALA_CONFIGURE_ENV=	ac_cv_path_VAPIGEN=${LOCALBASE}/bin/vapigen
+VALA_CONFIGURE_ENV_OFF=	ac_cv_path_VAPIGEN=""
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Wno-unused-parameters||' ${WRKSRC}/tests/Makefile.in
 

Modified: head/net/gupnp-av/pkg-plist
==============================================================================
--- head/net/gupnp-av/pkg-plist	Mon Sep  7 17:51:34 2015	(r396305)
+++ head/net/gupnp-av/pkg-plist	Mon Sep  7 17:51:39 2015	(r396306)
@@ -56,3 +56,5 @@ share/gtk-doc/html/gupnp-av/right-insens
 share/gtk-doc/html/gupnp-av/style.css
 share/gtk-doc/html/gupnp-av/up.png
 share/gtk-doc/html/gupnp-av/up-insensitive.png
+%%VALA%%share/vala/vapi/gupnp-av-1.0.deps
+%%VALA%%share/vala/vapi/gupnp-av-1.0.vapi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509071751.t87HpeLs073063>