From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/keybinder: metadata.xml keybinder-0.2.2.ebuild ChangeLog |
Date: | Thu, 30 Sep 2010 17:08:00 |
Message-Id: | 20100930170750.CC7DF20051@flycatcher.gentoo.org |
1 | ssuominen 10/09/30 17:07:50 |
2 | |
3 | Added: metadata.xml keybinder-0.2.2.ebuild ChangeLog |
4 | Log: |
5 | Initial commit. |
6 | |
7 | (Portage version: 2.2_rc88/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/keybinder/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/keybinder/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/keybinder/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>no-herd</herd> |
21 | <maintainer> |
22 | <email>ssuominen@g.o</email> |
23 | <name>Samuli Suominen</name> |
24 | </maintainer> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | 1.1 dev-libs/keybinder/keybinder-0.2.2.ebuild |
30 | |
31 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/keybinder/keybinder-0.2.2.ebuild?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/keybinder/keybinder-0.2.2.ebuild?rev=1.1&content-type=text/plain |
33 | |
34 | Index: keybinder-0.2.2.ebuild |
35 | =================================================================== |
36 | # Copyright 1999-2010 Gentoo Foundation |
37 | # Distributed under the terms of the GNU General Public License v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/keybinder-0.2.2.ebuild,v 1.1 2010/09/30 17:07:50 ssuominen Exp $ |
39 | |
40 | EAPI=3 |
41 | |
42 | PYTHON_DEPEND="python? 2:2.5" |
43 | |
44 | inherit python |
45 | |
46 | DESCRIPTION="A library for registering global keyboard shortcuts" |
47 | HOMEPAGE="http://kaizer.se/wiki/keybinder/" |
48 | SRC_URI="http://kaizer.se/publicfiles/${PN}/${P}.tar.gz" |
49 | |
50 | LICENSE="GPL-2" |
51 | SLOT="0" |
52 | KEYWORDS="~amd64 ~x86" |
53 | IUSE="lua python" |
54 | |
55 | RDEPEND=">=x11-libs/gtk+-2.20:2 |
56 | x11-libs/libXext |
57 | x11-libs/libXrender |
58 | x11-libs/libX11 |
59 | lua? ( >=dev-lang/lua-5.1 ) |
60 | python? ( >=dev-python/pygobject-2.15.3 |
61 | >=dev-python/pygtk-2.12 )" |
62 | DEPEND="${RDEPEND} |
63 | dev-util/pkgconfig" |
64 | |
65 | pkg_setup() { |
66 | if use python; then |
67 | python_set_active_version 2 |
68 | python_pkg_setup |
69 | fi |
70 | } |
71 | |
72 | src_prepare() { |
73 | rm -f py-compile |
74 | ln -s $(type -P true) py-compile |
75 | } |
76 | |
77 | src_configure() { |
78 | local myconf |
79 | use lua || myconf="--disable-lua" |
80 | |
81 | econf \ |
82 | --disable-dependency-tracking \ |
83 | $(use_enable python) \ |
84 | ${myconf} |
85 | } |
86 | |
87 | src_install() { |
88 | emake DESTDIR="${D}" install || die |
89 | dodoc AUTHORS NEWS README |
90 | |
91 | find "${D}" -name '*.la' -exec rm -f '{}' + |
92 | } |
93 | |
94 | pkg_postinst() { |
95 | use python && python_mod_optimize keybinder |
96 | } |
97 | |
98 | pkg_postrm() { |
99 | use python && python_mod_cleanup keybinder |
100 | } |
101 | |
102 | |
103 | |
104 | 1.1 dev-libs/keybinder/ChangeLog |
105 | |
106 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/keybinder/ChangeLog?rev=1.1&view=markup |
107 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/keybinder/ChangeLog?rev=1.1&content-type=text/plain |
108 | |
109 | Index: ChangeLog |
110 | =================================================================== |
111 | # ChangeLog for dev-libs/keybinder |
112 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
113 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/ChangeLog,v 1.1 2010/09/30 17:07:50 ssuominen Exp $ |
114 | |
115 | *keybinder-0.2.2 (30 Sep 2010) |
116 | |
117 | 30 Sep 2010; Samuli Suominen <ssuominen@g.o> |
118 | +keybinder-0.2.2.ebuild: |
119 | Initial commit. |