summaryrefslogtreecommitdiff
path: root/devel/libindicator
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2016-05-20 21:32:24 +0000
committeryouri <youri@pkgsrc.org>2016-05-20 21:32:24 +0000
commit9243a9f0c0e06e4376d710022747e2af79c6ecb3 (patch)
tree02a0a0af57092bcfc636e11e2744eb6d626e1ac9 /devel/libindicator
parent86f185ae2033def1154639c35eca9ba81ddccee6 (diff)
downloadpkgsrc-9243a9f0c0e06e4376d710022747e2af79c6ecb3.tar.gz
Import libindicator-12.10.1 as devel/libindicator.
A set of symbols and convience functions that all indicators would like to use.
Diffstat (limited to 'devel/libindicator')
-rw-r--r--devel/libindicator/DESCR2
-rw-r--r--devel/libindicator/Makefile13
-rw-r--r--devel/libindicator/Makefile.common26
-rw-r--r--devel/libindicator/PLIST9
-rw-r--r--devel/libindicator/buildlink3.mk14
-rw-r--r--devel/libindicator/distinfo6
-rw-r--r--devel/libindicator/patches/patch-configure15
7 files changed, 85 insertions, 0 deletions
diff --git a/devel/libindicator/DESCR b/devel/libindicator/DESCR
new file mode 100644
index 00000000000..11dff263ca4
--- /dev/null
+++ b/devel/libindicator/DESCR
@@ -0,0 +1,2 @@
+A set of symbols and convience functions that all indicators would
+like to use.
diff --git a/devel/libindicator/Makefile b/devel/libindicator/Makefile
new file mode 100644
index 00000000000..44feb4d88b8
--- /dev/null
+++ b/devel/libindicator/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2016/05/20 21:32:24 youri Exp $
+
+USE_GTK_VERSION=2
+
+.include "Makefile.common"
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= GTK+2 symbols and convience functions for indicators
+
+INSTALL_DIRS= libindicator
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libindicator/Makefile.common b/devel/libindicator/Makefile.common
new file mode 100644
index 00000000000..bdddd9cba41
--- /dev/null
+++ b/devel/libindicator/Makefile.common
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile.common,v 1.1 2016/05/20 21:32:24 youri Exp $
+#
+# used by devel/libindicator3/Makefile
+# used by devel/libindicator-tools/Makefile
+
+DISTNAME= libindicator-12.10.1
+CATEGORIES= devel
+MASTER_SITES= https://launchpad.net/libindicator/12.10/${PKGVERSION_NOREV}/+download/
+
+HOMEPAGE= https://launchpad.net/libindicator
+LICENSE= gnu-gpl-v3
+
+DISTINFO_FILE= ${.CURDIR}/../../devel/libindicator/distinfo
+PATCHDIR= ${.CURDIR}/../../devel/libindicator/patches
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+EXTRACT_USING= gtar
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+PKGCONFIG_OVERRIDE+= libindicator/indicator-0.4.pc.in.in
+PKGCONFIG_OVERRIDE+= libindicator/indicator3-0.4.pc.in.in
+
+CONFIGURE_ARGS+= --with-gtk=${USE_GTK_VERSION}
diff --git a/devel/libindicator/PLIST b/devel/libindicator/PLIST
new file mode 100644
index 00000000000..8583bc80eb3
--- /dev/null
+++ b/devel/libindicator/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/20 21:32:24 youri Exp $
+include/libindicator-0.4/libindicator/indicator-desktop-shortcuts.h
+include/libindicator-0.4/libindicator/indicator-image-helper.h
+include/libindicator-0.4/libindicator/indicator-object.h
+include/libindicator-0.4/libindicator/indicator-service-manager.h
+include/libindicator-0.4/libindicator/indicator-service.h
+include/libindicator-0.4/libindicator/indicator.h
+lib/libindicator.la
+lib/pkgconfig/indicator-0.4.pc
diff --git a/devel/libindicator/buildlink3.mk b/devel/libindicator/buildlink3.mk
new file mode 100644
index 00000000000..a0581d0c99a
--- /dev/null
+++ b/devel/libindicator/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/05/20 21:32:24 youri Exp $
+
+BUILDLINK_TREE+= libindicator
+
+.if !defined(LIBINDICATOR_BUILDLINK3_MK)
+LIBINDICATOR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libindicator+= libindicator>=12.10.1
+BUILDLINK_PKGSRCDIR.libindicator?= ../../devel/libindicator
+
+.include "../../x11/gtk2/buildlink3.mk"
+.endif # LIBINDICATOR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libindicator
diff --git a/devel/libindicator/distinfo b/devel/libindicator/distinfo
new file mode 100644
index 00000000000..aaaacbc68ee
--- /dev/null
+++ b/devel/libindicator/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/20 21:32:24 youri Exp $
+
+SHA1 (libindicator-12.10.1.tar.gz) = 25c8a0a150651ee6b2198df3f36fcbb49f0295c2
+RMD160 (libindicator-12.10.1.tar.gz) = c5353a3ee5b9b24fac0cb2a7b620a23c406055af
+Size (libindicator-12.10.1.tar.gz) = 427764 bytes
+SHA1 (patch-configure) = 3af0c7c242613fac3727620dcca1aa5e51d0fa6f
diff --git a/devel/libindicator/patches/patch-configure b/devel/libindicator/patches/patch-configure
new file mode 100644
index 00000000000..e5a3d5bb289
--- /dev/null
+++ b/devel/libindicator/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2016/05/20 21:32:24 youri Exp $
+
+Ensure linker arguments are separated.
+
+--- configure.orig 2012-09-19 15:40:08.143406486 +0000
++++ configure
+@@ -12141,7 +12141,7 @@ fi
+ esac
+
+
+-LIBINDICATOR_LIBS+="$LIBM"
++LIBINDICATOR_LIBS+=" $LIBM"
+
+ ##############################
+ # Custom Junk