summaryrefslogtreecommitdiff
path: root/x11/keybinder
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2015-07-11 11:13:28 +0000
committerkamil <kamil@pkgsrc.org>2015-07-11 11:13:28 +0000
commit482fdbc5845e3dcdefb7b8c2b925bae2f85ba6a6 (patch)
tree10b28a13326bd4f916f9913d6118947b28c016dd /x11/keybinder
parent9c6c2933208f626896aace65ede986b854f7ac47 (diff)
downloadpkgsrc-482fdbc5845e3dcdefb7b8c2b925bae2f85ba6a6.tar.gz
Add x11/{,lua-,py-}keybinder version 0.3.0
The Keybinder package contains a library for registering global keyboard shortcuts. Keybinder works with GTK-based applications using the X Window System. The library contains: - A C library, libkeybinder - Python bindings, python-keybinder - An examples directory with programs in C, Lua, Python and Vala. There are: Python (py-keybinder) and Lua (lua-keybinder) bindings. Approved by <riastradh> Nobody complains to import it since 2015-04-08 http://mail-index.netbsd.org/tech-pkg/2015/04/07/msg014589.html Originally packaged in pkgsrc-wip by myself.
Diffstat (limited to 'x11/keybinder')
-rw-r--r--x11/keybinder/DESCR10
-rw-r--r--x11/keybinder/Makefile16
-rw-r--r--x11/keybinder/Makefile.common23
-rw-r--r--x11/keybinder/PLIST20
-rw-r--r--x11/keybinder/buildlink3.mk15
-rw-r--r--x11/keybinder/distinfo5
6 files changed, 89 insertions, 0 deletions
diff --git a/x11/keybinder/DESCR b/x11/keybinder/DESCR
new file mode 100644
index 00000000000..014dface011
--- /dev/null
+++ b/x11/keybinder/DESCR
@@ -0,0 +1,10 @@
+The Keybinder package contains a library for registering global keyboard
+shortcuts.
+Keybinder works with GTK-based applications using the X Window System.
+
+The library contains:
+- A C library, libkeybinder
+- Python bindings, python-keybinder
+- An examples directory with programs in C, Lua, Python and Vala.
+
+There are: Python (py-keybinder) and Lua (lua-keybinder) bindings.
diff --git a/x11/keybinder/Makefile b/x11/keybinder/Makefile
new file mode 100644
index 00000000000..cabc51e1259
--- /dev/null
+++ b/x11/keybinder/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2015/07/11 11:13:28 kamil Exp $
+
+.include "Makefile.common"
+
+CATEGORIES= x11
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Library for registering keyboard shortcuts
+LICENSE= gnu-gpl-v2
+
+CONFIGURE_ARGS+= --disable-lua
+CONFIGURE_ARGS+= --disable-python
+
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/keybinder/Makefile.common b/x11/keybinder/Makefile.common
new file mode 100644
index 00000000000..145bedb9c61
--- /dev/null
+++ b/x11/keybinder/Makefile.common
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.common,v 1.1 2015/07/11 11:13:28 kamil Exp $
+#
+# used by x11/py-keybinder/Makefile
+# used by x11/lua-keybinder/Makefile
+
+DISTNAME= keybinder-0.3.0
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
+
+HOMEPAGE= https://github.com/engla/keybinder
+LICENSE= gnu-gpl-v2
+
+DISTINFO_FILE= ${.CURDIR}/../../x11/keybinder/distinfo
+
+PKGCONFIG_OVERRIDE+= libkeybinder/keybinder.pc.in
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+
+CONFIGURE_ARGS+= --disable-static
+# Don't rebuild the documentation
+CONFIGURE_ARGS+= --disable-gtk-doc
diff --git a/x11/keybinder/PLIST b/x11/keybinder/PLIST
new file mode 100644
index 00000000000..2f95bfa37c8
--- /dev/null
+++ b/x11/keybinder/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2015/07/11 11:13:28 kamil Exp $
+include/keybinder.h
+lib/girepository-1.0/Keybinder-0.0.typelib
+lib/libkeybinder.la
+lib/pkgconfig/keybinder.pc
+share/gir-1.0/Keybinder-0.0.gir
+share/gtk-doc/html/keybinder/annotation-glossary.html
+share/gtk-doc/html/keybinder/api-index-full.html
+share/gtk-doc/html/keybinder/ch01.html
+share/gtk-doc/html/keybinder/deprecated-api-index.html
+share/gtk-doc/html/keybinder/home.png
+share/gtk-doc/html/keybinder/index.html
+share/gtk-doc/html/keybinder/index.sgml
+share/gtk-doc/html/keybinder/keybinder-keybinder.html
+share/gtk-doc/html/keybinder/keybinder.devhelp2
+share/gtk-doc/html/keybinder/left.png
+share/gtk-doc/html/keybinder/object-tree.html
+share/gtk-doc/html/keybinder/right.png
+share/gtk-doc/html/keybinder/style.css
+share/gtk-doc/html/keybinder/up.png
diff --git a/x11/keybinder/buildlink3.mk b/x11/keybinder/buildlink3.mk
new file mode 100644
index 00000000000..a83b4a2544c
--- /dev/null
+++ b/x11/keybinder/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/07/11 11:13:28 kamil Exp $
+
+BUILDLINK_TREE+= keybinder
+
+.if !defined(KEYBINDER_BUILDLINK3_MK)
+KEYBINDER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.keybinder+= keybinder>=0.3.0
+BUILDLINK_PKGSRCDIR.keybinder?= ../../x11/keybinder
+
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.endif # KEYBINDER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -keybinder
diff --git a/x11/keybinder/distinfo b/x11/keybinder/distinfo
new file mode 100644
index 00000000000..bde9d844f41
--- /dev/null
+++ b/x11/keybinder/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/07/11 11:13:28 kamil Exp $
+
+SHA1 (keybinder-0.3.0.tar.gz) = e4adddf8641241c08b594c465cee197f8de68bdd
+RMD160 (keybinder-0.3.0.tar.gz) = 2f2e25860fa116f7872bbdb2850b75e3e43958cf
+Size (keybinder-0.3.0.tar.gz) = 377765 bytes