summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2016-05-20 22:03:46 +0000
committeryouri <youri@pkgsrc.org>2016-05-20 22:03:46 +0000
commitfc185635b7e0a61e0036ecab25361c687bdc5223 (patch)
treebbb8f628cc0c49c415d9ec6cff6499c41b219f82 /devel
parent73c2dac0626fec39715f0cfd30568a2cb114c6ab (diff)
downloadpkgsrc-fc185635b7e0a61e0036ecab25361c687bdc5223.tar.gz
Import libdbusmenu-jsonloader-12.10.2 as devel/libdbusmenu-jsonloader.
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 Test lib.
Diffstat (limited to 'devel')
-rw-r--r--devel/libdbusmenu-jsonloader/DESCR6
-rw-r--r--devel/libdbusmenu-jsonloader/Makefile24
-rw-r--r--devel/libdbusmenu-jsonloader/PLIST6
-rw-r--r--devel/libdbusmenu-jsonloader/buildlink3.mk16
-rw-r--r--devel/libdbusmenu-jsonloader/distinfo6
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/libdbusmenu-jsonloader/DESCR b/devel/libdbusmenu-jsonloader/DESCR
new file mode 100644
index 00000000000..077949ca668
--- /dev/null
+++ b/devel/libdbusmenu-jsonloader/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 Test lib.
diff --git a/devel/libdbusmenu-jsonloader/Makefile b/devel/libdbusmenu-jsonloader/Makefile
new file mode 100644
index 00000000000..900512a1145
--- /dev/null
+++ b/devel/libdbusmenu-jsonloader/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2016/05/20 22:03:46 youri Exp $
+
+.include "../../meta-pkgs/libdbusmenu/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/-jsonloader-/}
+COMMENT= Test libraries for development with libdbusemenu
+
+CONFIGURE_ARGS+= --disable-gtk
+CONFIGURE_ARGS+= --disable-dumper
+CONFIGURE_ARGS+= --disable-introspection
+CONFIGURE_ARGS+= --disable-vala
+CONFIGURE_ARGS+= --enable-tests
+
+post-configure:
+ ${LN} -sf ${BUILDLINK_DIR}/lib/libdbusmenu-glib.la \
+ ${WRKSRC}/libdbusmenu-glib/
+
+BUILD_DIRS= tests
+
+.include "../../devel/libdbusmenu-glib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libdbusmenu-jsonloader/PLIST b/devel/libdbusmenu-jsonloader/PLIST
new file mode 100644
index 00000000000..1e9f821accd
--- /dev/null
+++ b/devel/libdbusmenu-jsonloader/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/20 22:03:46 youri Exp $
+include/libdbusmenu-glib-0.4/libdbusmenu-jsonloader/json-loader.h
+lib/libdbusmenu-jsonloader.la
+lib/pkgconfig/dbusmenu-jsonloader-0.4.pc
+share/doc/libdbusmenu/examples/glib-server-nomenu.c
+share/libdbusmenu/json/test-gtk-label.json
diff --git a/devel/libdbusmenu-jsonloader/buildlink3.mk b/devel/libdbusmenu-jsonloader/buildlink3.mk
new file mode 100644
index 00000000000..963f34e5123
--- /dev/null
+++ b/devel/libdbusmenu-jsonloader/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/05/20 22:03:46 youri Exp $
+
+BUILDLINK_TREE+= libdbusmenu-jsonloader
+
+.if !defined(LIBDBUSMENU_JSONLOADER_BUILDLINK3_MK)
+LIBDBUSMENU_JSONLOADER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdbusmenu-jsonloader+= libdbusmenu-jsonloader>=12.10.2
+BUILDLINK_PKGSRCDIR.libdbusmenu-jsonloader?= ../../devel/libdbusmenu-jsonloader
+
+.include "../../devel/libdbusmenu-glib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.endif # LIBDBUSMENU_JSONLOADER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libdbusmenu-jsonloader
diff --git a/devel/libdbusmenu-jsonloader/distinfo b/devel/libdbusmenu-jsonloader/distinfo
new file mode 100644
index 00000000000..99e6b39ad48
--- /dev/null
+++ b/devel/libdbusmenu-jsonloader/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/20 22:03:46 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