diff options
author | kamil <kamil> | 2015-07-11 11:13:28 +0000 |
---|---|---|
committer | kamil <kamil> | 2015-07-11 11:13:28 +0000 |
commit | 08166755460fc3d63f607f6f350d223be690ca0d (patch) | |
tree | 10b28a13326bd4f916f9913d6118947b28c016dd /x11 | |
parent | 9651609021d3b1f40bc5e93993e1a1ba829a37d5 (diff) | |
download | pkgsrc-08166755460fc3d63f607f6f350d223be690ca0d.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')
-rw-r--r-- | x11/keybinder/DESCR | 10 | ||||
-rw-r--r-- | x11/keybinder/Makefile | 16 | ||||
-rw-r--r-- | x11/keybinder/Makefile.common | 23 | ||||
-rw-r--r-- | x11/keybinder/PLIST | 20 | ||||
-rw-r--r-- | x11/keybinder/buildlink3.mk | 15 | ||||
-rw-r--r-- | x11/keybinder/distinfo | 5 | ||||
-rw-r--r-- | x11/lua-keybinder/DESCR | 10 | ||||
-rw-r--r-- | x11/lua-keybinder/Makefile | 22 | ||||
-rw-r--r-- | x11/lua-keybinder/PLIST | 2 | ||||
-rw-r--r-- | x11/lua-keybinder/buildlink3.mk | 16 | ||||
-rw-r--r-- | x11/py-keybinder/DESCR | 10 | ||||
-rw-r--r-- | x11/py-keybinder/Makefile | 23 | ||||
-rw-r--r-- | x11/py-keybinder/PLIST | 5 | ||||
-rw-r--r-- | x11/py-keybinder/buildlink3.mk | 17 |
14 files changed, 194 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 diff --git a/x11/lua-keybinder/DESCR b/x11/lua-keybinder/DESCR new file mode 100644 index 00000000000..eb4eec3ab81 --- /dev/null +++ b/x11/lua-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. + +This package contains the Lua bindings. diff --git a/x11/lua-keybinder/Makefile b/x11/lua-keybinder/Makefile new file mode 100644 index 00000000000..d2a3fea1e31 --- /dev/null +++ b/x11/lua-keybinder/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2015/07/11 11:13:28 kamil Exp $ + +.include "../../x11/keybinder/Makefile.common" + +PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME} +CATEGORIES= x11 + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= Lua bindings for the keybinder library +LICENSE= gnu-gpl-v2 + +# --enable-lua is broken +CONFIGURE_ARGS+= --disable-python + +INSTALL_DIRS= lua-keybinder + +LUA_VERSIONS_ACCEPTED= 51 + +.include "../../x11/keybinder/buildlink3.mk" +.include "../../lang/lua/luaversion.mk" +.include "../../lang/lua/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/lua-keybinder/PLIST b/x11/lua-keybinder/PLIST new file mode 100644 index 00000000000..5b6df58b0ed --- /dev/null +++ b/x11/lua-keybinder/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2015/07/11 11:13:28 kamil Exp $ +lib/lua/5.1/keybinder.la diff --git a/x11/lua-keybinder/buildlink3.mk b/x11/lua-keybinder/buildlink3.mk new file mode 100644 index 00000000000..10923ca0701 --- /dev/null +++ b/x11/lua-keybinder/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/07/11 11:13:28 kamil Exp $ + +BUILDLINK_TREE+= lua-keybinder + +.if !defined(LUA_KEYBINDER_BUILDLINK3_MK) +LUA_KEYBINDER_BUILDLINK3_MK:= + +.include "../../lang/lua/luaversion.mk" + +BUILDLINK_API_DEPENDS.lua-keybinder+= ${LUA_PKGPREFIX}-keybinder>=0.3.0 +BUILDLINK_PKGSRCDIR.lua-keybinder?= ../../x11/lua-keybinder + +.include "../../x11/keybinder/buildlink3.mk" +.endif # LUA_KEYBINDER_BUILDLINK3_MK + +BUILDLINK_TREE+= -lua-keybinder diff --git a/x11/py-keybinder/DESCR b/x11/py-keybinder/DESCR new file mode 100644 index 00000000000..f923ca56133 --- /dev/null +++ b/x11/py-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. + +This package contains the Python bindings. diff --git a/x11/py-keybinder/Makefile b/x11/py-keybinder/Makefile new file mode 100644 index 00000000000..290fcedc132 --- /dev/null +++ b/x11/py-keybinder/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2015/07/11 11:13:28 kamil Exp $ + +.include "../../x11/keybinder/Makefile.common" + +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= x11 python + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= Python bindings for the keybinder library +LICENSE= gnu-gpl-v2 + +CONFIGURE_ARGS+= --disable-lua +CONFIGURE_ARGS+= --enable-python + +PY_PATCHPLIST= yes +PYTHON_VERSIONS_INCOMPATIBLE= 33 34 + +INSTALL_DIRS= python-keybinder + +.include "../../lang/python/extension.mk" +.include "../../x11/py-gtk2/buildlink3.mk" +.include "../../x11/keybinder/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/py-keybinder/PLIST b/x11/py-keybinder/PLIST new file mode 100644 index 00000000000..a4c858fe300 --- /dev/null +++ b/x11/py-keybinder/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2015/07/11 11:13:28 kamil Exp $ +${PYSITELIB}/keybinder/__init__.py +${PYSITELIB}/keybinder/__init__.pyc +${PYSITELIB}/keybinder/__init__.pyo +${PYSITELIB}/keybinder/_keybinder.la diff --git a/x11/py-keybinder/buildlink3.mk b/x11/py-keybinder/buildlink3.mk new file mode 100644 index 00000000000..348a684ef4f --- /dev/null +++ b/x11/py-keybinder/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/07/11 11:13:28 kamil Exp $ + +BUILDLINK_TREE+= py-keybinder + +.if !defined(PY_KEYBINDER_BUILDLINK3_MK) +PY_KEYBINDER_BUILDLINK3_MK:= + +.include "../../lang/python/pyversion.mk" + +BUILDLINK_API_DEPENDS.py-keybinder+= ${PYPKGPREFIX}-keybinder>=0.3.0 +BUILDLINK_PKGSRCDIR.py-keybinder?= ../../x11/py-keybinder + +.include "../../x11/py-gtk2/buildlink3.mk" +.include "../../x11/keybinder/buildlink3.mk" +.endif # PY_KEYBINDER_BUILDLINK3_MK + +BUILDLINK_TREE+= -py-keybinder |