1 |
commit: 29d348ab6b3552954688908e9740d71e37f92e17 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 30 06:56:21 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 07:26:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d348ab |
7 |
|
8 |
x11-themes/gtk-chtheme: EAPI bump, bug 605728 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild | 39 ++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild b/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..2adbbc6017e |
18 |
--- /dev/null |
19 |
+++ b/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild |
20 |
@@ -0,0 +1,39 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+inherit eutils toolchain-funcs |
26 |
+ |
27 |
+DESCRIPTION="GTK-2.0 Theme Switcher" |
28 |
+HOMEPAGE="http://plasmasturm.org/programs/gtk-chtheme/" |
29 |
+SRC_URI="http://plasmasturm.org/programs/gtk-chtheme/${P}.tar.bz2" |
30 |
+ |
31 |
+IUSE="" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
34 |
+LICENSE="GPL-2" |
35 |
+ |
36 |
+RDEPEND="x11-libs/gtk+:2" |
37 |
+DEPEND="${RDEPEND} |
38 |
+ virtual/pkgconfig" |
39 |
+ |
40 |
+PATCHES=( |
41 |
+ "${FILESDIR}"/${P}-implicit.patch |
42 |
+ "${FILESDIR}/${P}-asneeded.patch" # Fix forced as-needed, bug #248655 |
43 |
+ "${FILESDIR}/${P}-qgtkstyle.patch" # Make it work with qgtkstyle, bug #250504 |
44 |
+) |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ # QA: stop Makefile from stripping the binaries |
48 |
+ sed -i -e "s:strip:true:" "${S}"/Makefile || die "sed failed" |
49 |
+ |
50 |
+ default |
51 |
+} |
52 |
+ |
53 |
+src_compile() { |
54 |
+ emake CC="$(tc-getCC)" |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ emake DESTDIR="${ED}" install |
59 |
+} |