summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2016-05-20 22:02:58 +0000
committeryouri <youri@pkgsrc.org>2016-05-20 22:02:58 +0000
commitdc4b8823fa3d6127fd40a8a810ee3b592c528a81 (patch)
tree2603425f12480bc617e6018fc37fbe848c36e155 /devel
parent018a55d338b255cc64aec4ce865ad46f06058bc8 (diff)
downloadpkgsrc-dc4b8823fa3d6127fd40a8a810ee3b592c528a81.tar.gz
Import libdbusmenu-gtk3-12.10.2 as devel/libdbusmenu-gtk3.
A small little library that was created by pulling out some comon code out of indicator-applet. It passes a menu structure across DBus so that a program can create a menu simply without worrying about how it is displayed on the other side of the bus. This package provides GTK3+ API.
Diffstat (limited to 'devel')
-rw-r--r--devel/libdbusmenu-gtk3/DESCR6
-rw-r--r--devel/libdbusmenu-gtk3/Makefile26
-rw-r--r--devel/libdbusmenu-gtk3/PLIST11
-rw-r--r--devel/libdbusmenu-gtk3/buildlink3.mk14
-rw-r--r--devel/libdbusmenu-gtk3/distinfo6
5 files changed, 63 insertions, 0 deletions
diff --git a/devel/libdbusmenu-gtk3/DESCR b/devel/libdbusmenu-gtk3/DESCR
new file mode 100644
index 00000000000..e348bfc8a86
--- /dev/null
+++ b/devel/libdbusmenu-gtk3/DESCR
@@ -0,0 +1,6 @@
+A small little library that was created by pulling out some comon code out of
+indicator-applet. It passes a menu structure across DBus so that a program can
+create a menu simply without worrying about how it is displayed on the other
+side of the bus.
+
+This package provides GTK3+ API.
diff --git a/devel/libdbusmenu-gtk3/Makefile b/devel/libdbusmenu-gtk3/Makefile
new file mode 100644
index 00000000000..77603ced6a1
--- /dev/null
+++ b/devel/libdbusmenu-gtk3/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/05/20 22:02:58 youri Exp $
+
+.include "../../meta-pkgs/libdbusmenu/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/-gtk3-/}
+COMMENT= GTK3+ library created by pulling some code from indicator-applet
+
+CONFIGURE_ARGS+= --enable-gtk
+CONFIGURE_ARGS+= --with-gtk=3
+CONFIGURE_ARGS+= --disable-dumper
+CONFIGURE_ARGS+= --disable-tests
+CONFIGURE_ENV+= HAVE_VALGRIND_TRUE=
+CONFIGURE_ENV+= HAVE_VALGRIND_FALSE='\#'
+
+post-configure:
+ ${LN} -sf ${BUILDLINK_DIR}/lib/libdbusmenu-glib.la \
+ ${WRKSRC}/libdbusmenu-glib/
+
+BUILD_DIRS= libdbusmenu-gtk
+
+.include "../../devel/libdbusmenu-glib/buildlink3.mk"
+BUILDLINK_DEPMETHOD.gobject-introspection+= build
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libdbusmenu-gtk3/PLIST b/devel/libdbusmenu-gtk3/PLIST
new file mode 100644
index 00000000000..f60052e4715
--- /dev/null
+++ b/devel/libdbusmenu-gtk3/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/20 22:02:58 youri Exp $
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/client.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/dbusmenu-gtk.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/menu.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/menuitem.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/parser.h
+lib/girepository-1.0/DbusmenuGtk3-0.4.typelib
+lib/libdbusmenu-gtk3.la
+lib/pkgconfig/dbusmenu-gtk3-0.4.pc
+share/gir-1.0/DbusmenuGtk3-0.4.gir
+share/vala/vapi/DbusmenuGtk3-0.4.vapi
diff --git a/devel/libdbusmenu-gtk3/buildlink3.mk b/devel/libdbusmenu-gtk3/buildlink3.mk
new file mode 100644
index 00000000000..356603a36a2
--- /dev/null
+++ b/devel/libdbusmenu-gtk3/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/05/20 22:02:58 youri Exp $
+
+BUILDLINK_TREE+= libdbusmenu-gtk3
+
+.if !defined(LIBDBUSMENU_GTK3_BUILDLINK3_MK)
+LIBDBUSMENU_GTK3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdbusmenu-gtk3+= libdbusmenu-gtk3>=12.10.2
+BUILDLINK_PKGSRCDIR.libdbusmenu-gtk3?= ../../devel/libdbusmenu-gtk3
+
+.include "../../devel/libdbusmenu-glib/buildlink3.mk"
+.endif # LIBDBUSMENU_GTK3_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libdbusmenu-gtk3
diff --git a/devel/libdbusmenu-gtk3/distinfo b/devel/libdbusmenu-gtk3/distinfo
new file mode 100644
index 00000000000..d2ccfe69b68
--- /dev/null
+++ b/devel/libdbusmenu-gtk3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/20 22:02:58 youri Exp $
+
+SHA1 (libdbusmenu-12.10.2.tar.gz) = 067b77564f90633aa58494e54b99d733a21f3142
+RMD160 (libdbusmenu-12.10.2.tar.gz) = bf424925750549d44d6fc2563caf37e73f21db3d
+SHA512 (libdbusmenu-12.10.2.tar.gz) = cf2e50dc3adbf35d0a4ccdd62a3efd9fae2d079b8d06e6522b70f077f89ac2cf72188e380f476e38d184b69549e90b801bf1e32174fa94bbe612dd52aec94496
+Size (libdbusmenu-12.10.2.tar.gz) = 735730 bytes