1 |
commit: 3eccfc8137ada1dc898de1647120918bd9660353 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 14 12:41:20 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 14 12:46:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eccfc81 |
7 |
|
8 |
x11-libs/gtkhotkey: Add USE=static-libs |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild | 33 ++++++++++++++++++---------- |
14 |
1 file changed, 21 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild b/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild |
17 |
index c4e3b9053cf..3470b1d217a 100644 |
18 |
--- a/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild |
19 |
+++ b/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -18,24 +18,33 @@ SRC_URI="https://launchpad.net/${PN}/${MY_CRV}/${PV}/+download/${P}.tar.gz" |
27 |
LICENSE="LGPL-3" |
28 |
SLOT="0" |
29 |
KEYWORDS="amd64 x86" |
30 |
-IUSE="" |
31 |
- |
32 |
-COMMON_DEPEND=">=dev-libs/glib-2.16 |
33 |
- >=x11-libs/gtk+-2.12:2" |
34 |
- |
35 |
-RDEPEND="${COMMON_DEPEND} |
36 |
- virtual/libintl" |
37 |
- |
38 |
-DEPEND="${COMMON_DEPEND} |
39 |
+IUSE="static-libs" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ >=dev-libs/glib-2.16 |
43 |
+ >=x11-libs/gtk+-2.12:2 |
44 |
+" |
45 |
+RDEPEND=" |
46 |
+ ${COMMON_DEPEND} |
47 |
+ virtual/libintl |
48 |
+" |
49 |
+DEPEND=" |
50 |
+ ${COMMON_DEPEND} |
51 |
virtual/pkgconfig |
52 |
>=dev-util/intltool-0.35.0 |
53 |
- sys-devel/gettext" |
54 |
+ sys-devel/gettext |
55 |
+" |
56 |
|
57 |
PATCHES=( "${FILESDIR}/${P}-glibheaders.patch" ) |
58 |
|
59 |
src_prepare() { |
60 |
- sed -i -e "s: install-gtkhotkeydocDATA ::" Makefile.in || die "Patching Makefile.in failed" |
61 |
default |
62 |
+ sed -i -e "s: install-gtkhotkeydocDATA ::" Makefile.in || die |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(use_enable static-libs static) |
68 |
} |
69 |
|
70 |
src_install() { |