1 |
commit: 6feedb9ac6aedd6fab104a2763a60df202ff1a77 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 6 08:41:14 2017 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 6 08:45:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6feedb9a |
7 |
|
8 |
x11-libs/gtkhotkey: eapi bump to 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild | 44 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild b/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..2c8189408e7 |
18 |
--- /dev/null |
19 |
+++ b/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit versionator eutils |
27 |
+ |
28 |
+MY_CRV=$(get_version_component_range 1-2) |
29 |
+ |
30 |
+RESTRICT="test" |
31 |
+# Tests try to access live filesystem |
32 |
+# See https://bugs.gentoo.org/show_bug.cgi?id=259052#c3 |
33 |
+ |
34 |
+DESCRIPTION="Cross platform library for using desktop wide hotkeys" |
35 |
+HOMEPAGE="https://launchpad.net/gtkhotkey" |
36 |
+SRC_URI="https://launchpad.net/${PN}/${MY_CRV}/${PV}/+download/${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="LGPL-3" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+IUSE="" |
42 |
+ |
43 |
+COMMON_DEPEND=">=dev-libs/glib-2.16 |
44 |
+ >=x11-libs/gtk+-2.12:2" |
45 |
+ |
46 |
+RDEPEND="${COMMON_DEPEND} |
47 |
+ virtual/libintl" |
48 |
+ |
49 |
+DEPEND="${COMMON_DEPEND} |
50 |
+ virtual/pkgconfig |
51 |
+ >=dev-util/intltool-0.35.0 |
52 |
+ sys-devel/gettext" |
53 |
+ |
54 |
+PATCHES=( "${FILESDIR}/${P}-glibheaders.patch" ) |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ sed -i -e "s: install-gtkhotkeydocDATA ::" Makefile.in || die "Patching Makefile.in failed" |
58 |
+ default |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ emake DESTDIR="${D}" install |
63 |
+ dodoc AUTHORS ChangeLog NEWS README |
64 |
+} |