Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2019 02:45:36 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489298 - in head/devel/libappindicator: . files
Message-ID:  <201901050245.x052jaiS032900@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Jan  5 02:45:36 2019
New Revision: 489298
URL: https://svnweb.freebsd.org/changeset/ports/489298

Log:
  devel/libappindicator: Fix build if lang/vala is installed
  
  PR:		234549
  Submitted by:	John Hein <jcfyecrayz@liamekaens.com>

Added:
  head/devel/libappindicator/files/extra-patch-bindings-vala-examples-Makefile.in   (contents, props changed)
Modified:
  head/devel/libappindicator/Makefile   (contents, props changed)
  head/devel/libappindicator/pkg-plist   (contents, props changed)

Modified: head/devel/libappindicator/Makefile
==============================================================================
--- head/devel/libappindicator/Makefile	Sat Jan  5 02:35:58 2019	(r489297)
+++ head/devel/libappindicator/Makefile	Sat Jan  5 02:45:36 2019	(r489298)
@@ -9,6 +9,9 @@ MASTER_SITES=	https://launchpad.net/${PORTNAME}/${PORT
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	KSNI App Indicator library
 
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libdbusmenu-gtk3.so:devel/libdbusmenu \
 		libindicator3.so:devel/libindicator \
 		libdbus-glib-1.so:devel/dbus-glib
@@ -16,6 +19,13 @@ LIB_DEPENDS=	libdbusmenu-gtk3.so:devel/libdbusmenu \
 USES=		gmake libtool pkgconfig python:2.7
 USE_LDCONFIG=	yes
 USE_GNOME=	gtk30 pygtk2
+
+OPTIONS_DEFINE=	VAPI
+OPTIONS_SUB=	yes
+
+VAPI_BUILD_DEPENDS=	vala>=0:lang/vala
+VAPI_CONFIGURE_ENV_OFF=	ac_cv_path_VALA_API_GEN= ac_cv_path_VALAC=
+VAPI_VARS=	EXTRA_PATCHES+=${PATCHDIR}/extra-patch-bindings-vala-examples-Makefile.in
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gtk=3

Added: head/devel/libappindicator/files/extra-patch-bindings-vala-examples-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libappindicator/files/extra-patch-bindings-vala-examples-Makefile.in	Sat Jan  5 02:45:36 2019	(r489298)
@@ -0,0 +1,11 @@
+--- bindings/vala/examples/Makefile.in.orig	2012-07-11 17:29:07.267114650 +0000
++++ bindings/vala/examples/Makefile.in
+@@ -629,7 +629,7 @@
+ 
+ @HAVE_VALAC_TRUE@indicator-example.c: $(VALAFILES) Makefile.am
+ @HAVE_VALAC_TRUE@	$(VALAC) $(VALAFLAGS) -C $< -o $@
+-@HAVE_VALAC_TRUE@	$(SED) -i "s|#include\s*<\s*libappindicator/app-indicator.h\s*>||g" $@
++@HAVE_VALAC_TRUE@	$(SED) -i '' "s|#include\s*<\s*libappindicator/app-indicator.h\s*>||g" $@
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: head/devel/libappindicator/pkg-plist
==============================================================================
--- head/devel/libappindicator/pkg-plist	Sat Jan  5 02:35:58 2019	(r489297)
+++ head/devel/libappindicator/pkg-plist	Sat Jan  5 02:45:36 2019	(r489298)
@@ -22,3 +22,5 @@ share/gtk-doc/html/libappindicator/object-tree.html
 share/gtk-doc/html/libappindicator/right.png
 share/gtk-doc/html/libappindicator/style.css
 share/gtk-doc/html/libappindicator/up.png
+%%VAPI%%share/vala/vapi/appindicator3-0.1.deps
+%%VAPI%%share/vala/vapi/appindicator3-0.1.vapi



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