diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-30 17:07:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-30 17:07:50 +0000 |
commit | 41f86494bb412562a4a74675e2d28d2fa7eb446d (patch) | |
tree | f0ab1dc9c3c7c5ad4f46becc96cec3dbeaf5651b /dev-libs/keybinder | |
parent | Version bump thanks to Marcin Mirosław (bug #339229). Change init.d script t... (diff) | |
download | gentoo-2-41f86494bb412562a4a74675e2d28d2fa7eb446d.tar.gz gentoo-2-41f86494bb412562a4a74675e2d28d2fa7eb446d.tar.bz2 gentoo-2-41f86494bb412562a4a74675e2d28d2fa7eb446d.zip |
Initial commit.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/keybinder')
-rw-r--r-- | dev-libs/keybinder/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/keybinder/keybinder-0.2.2.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/keybinder/metadata.xml | 9 |
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-libs/keybinder/ChangeLog b/dev-libs/keybinder/ChangeLog new file mode 100644 index 000000000000..77d41b4ad1e2 --- /dev/null +++ b/dev-libs/keybinder/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/keybinder +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/ChangeLog,v 1.1 2010/09/30 17:07:50 ssuominen Exp $ + +*keybinder-0.2.2 (30 Sep 2010) + + 30 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> + +keybinder-0.2.2.ebuild: + Initial commit. + diff --git a/dev-libs/keybinder/keybinder-0.2.2.ebuild b/dev-libs/keybinder/keybinder-0.2.2.ebuild new file mode 100644 index 000000000000..7d75a07d0029 --- /dev/null +++ b/dev-libs/keybinder/keybinder-0.2.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/keybinder-0.2.2.ebuild,v 1.1 2010/09/30 17:07:50 ssuominen Exp $ + +EAPI=3 + +PYTHON_DEPEND="python? 2:2.5" + +inherit python + +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 ~x86" +IUSE="lua python" + +RDEPEND=">=x11-libs/gtk+-2.20:2 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libX11 + lua? ( >=dev-lang/lua-5.1 ) + python? ( >=dev-python/pygobject-2.15.3 + >=dev-python/pygtk-2.12 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + rm -f py-compile + ln -s $(type -P true) py-compile +} + +src_configure() { + local myconf + use lua || myconf="--disable-lua" + + econf \ + --disable-dependency-tracking \ + $(use_enable python) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS NEWS README + + find "${D}" -name '*.la' -exec rm -f '{}' + +} + +pkg_postinst() { + use python && python_mod_optimize keybinder +} + +pkg_postrm() { + use python && python_mod_cleanup keybinder +} diff --git a/dev-libs/keybinder/metadata.xml b/dev-libs/keybinder/metadata.xml new file mode 100644 index 000000000000..7cc5007c5d79 --- /dev/null +++ b/dev-libs/keybinder/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>ssuominen@gentoo.org</email> + <name>Samuli Suominen</name> + </maintainer> +</pkgmetadata> |