summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-11-30 14:36:58 +0000
committerMichał Górny <mgorny@gentoo.org>2014-11-30 14:36:58 +0000
commit912f4e519422333e5373e518543b0a817715ca4a (patch)
treeddd0b749e626d5ead070776960b325cf9f0d6143 /dev-libs/keybinder
parentForce Qt4 build wrt bug #531184. (diff)
downloadgentoo-2-912f4e519422333e5373e518543b0a817715ca4a.tar.gz
gentoo-2-912f4e519422333e5373e518543b0a817715ca4a.tar.bz2
gentoo-2-912f4e519422333e5373e518543b0a817715ca4a.zip
Convert to python-single-r1. Use proper gtk-doc location.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-libs/keybinder')
-rw-r--r--dev-libs/keybinder/ChangeLog9
-rw-r--r--dev-libs/keybinder/keybinder-0.3.0-r201.ebuild53
2 files changed, 60 insertions, 2 deletions
diff --git a/dev-libs/keybinder/ChangeLog b/dev-libs/keybinder/ChangeLog
index 81774f1928e1..11f36ef321e2 100644
--- a/dev-libs/keybinder/ChangeLog
+++ b/dev-libs/keybinder/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/keybinder
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/ChangeLog,v 1.16 2012/11/28 09:48:45 ssuominen Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/ChangeLog,v 1.17 2014/11/30 14:36:58 mgorny Exp $
+
+*keybinder-0.3.0-r201 (30 Nov 2014)
+
+ 30 Nov 2014; Michał Górny <mgorny@gentoo.org> +keybinder-0.3.0-r201.ebuild:
+ Convert to python-single-r1. Use proper gtk-doc location.
28 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
keybinder-0.3.0-r200.ebuild, keybinder-0.3.0-r300.ebuild:
diff --git a/dev-libs/keybinder/keybinder-0.3.0-r201.ebuild b/dev-libs/keybinder/keybinder-0.3.0-r201.ebuild
new file mode 100644
index 000000000000..8181c330b1e7
--- /dev/null
+++ b/dev-libs/keybinder/keybinder-0.3.0-r201.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/keybinder-0.3.0-r201.ebuild,v 1.1 2014/11/30 14:36:58 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A library for registering global keyboard shortcuts"
+HOMEPAGE="http://kaizer.se/wiki/keybinder/"
+SRC_URI="http://kaizer.se/publicfiles/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
+IUSE="+introspection lua python"
+
+RDEPEND=">=x11-libs/gtk+-2.20:2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ introspection? ( dev-libs/gobject-introspection )
+ lua? ( >=dev-lang/lua-5.1 )
+ python? ( ${PYTHON_DEPS}
+ >=dev-python/pygobject-2.15.3:2[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.12[${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS NEWS README"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local myconf
+ use lua || myconf='--disable-lua'
+
+ econf \
+ $(use_enable introspection) \
+ $(use_enable python) \
+ ${myconf}
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}