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 | c2294798a0588300dc49b325de923622514a9ea5 (patch) | |
tree | 6a4e62b90ef0d9c82a93f0d1ce01f20c78254cdf /dev-libs | |
parent | Version bump thanks to Marcin Mirosław (bug #339229). Change init.d script t... (diff) | |
download | historical-c2294798a0588300dc49b325de923622514a9ea5.tar.gz historical-c2294798a0588300dc49b325de923622514a9ea5.tar.bz2 historical-c2294798a0588300dc49b325de923622514a9ea5.zip |
Initial commit.
Package-Manager: portage-2.2_rc88/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/keybinder/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/keybinder/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/keybinder/keybinder-0.2.2.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/keybinder/metadata.xml | 9 |
4 files changed, 88 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/Manifest b/dev-libs/keybinder/Manifest new file mode 100644 index 000000000000..d19f2997d672 --- /dev/null +++ b/dev-libs/keybinder/Manifest @@ -0,0 +1,4 @@ +DIST keybinder-0.2.2.tar.gz 324264 RMD160 5b1b04a1225b7fdb0c402dd4cda15a7675ea146f SHA1 9e7e62727fd236f2d3c49cc9ff1eaadc78841987 SHA256 152846803f43bf5ad303809b15479fa5f2bc7a0c6e6e31353686c1429b81b363 +EBUILD keybinder-0.2.2.ebuild 1313 RMD160 86180cd5f51de75764389e2580cfd3ad74d2bdb8 SHA1 fcc47cf1e253901a82c9d80ee6371a25cfe91ea3 SHA256 afa411600e1ba235e4644f68d1a86eb7925ac479c4cdc3a6e590d922f5115bab +MISC ChangeLog 344 RMD160 8998b25d2ed9500a3b200f4ed433a86a786482f7 SHA1 24ca0041a20ba3929059347989c8133432fc494b SHA256 de7458196790536551f491f3e70933a8e602c611eecef803745ab1994e7abd57 +MISC metadata.xml 266 RMD160 b4480e6518739202d8543a84b01b53940907f016 SHA1 3a5b0bff8b6ad1614a1e8fcbecddf54b800c80a2 SHA256 7aba9af99c2de45240978680e160a1bc959795d16c7eeeae6f2822ba59da9af2 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> |