1 |
commit: 09934c9619f46b4546b5c6765521e426184c8ecf |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 24 11:53:18 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 24 11:53:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09934c96 |
7 |
|
8 |
x11-themes/gtk-engines-ubuntulooks: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
.../gtk-engines-ubuntulooks-0.9.12-glib-2.31.patch | 4 +-- |
14 |
.../gtk-engines-ubuntulooks-0.9.12-r3.ebuild | 40 ++++++++++++++-------- |
15 |
2 files changed, 27 insertions(+), 17 deletions(-) |
16 |
|
17 |
diff --git a/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-glib-2.31.patch b/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-glib-2.31.patch |
18 |
index 453407f14ee..8629ebb63ff 100644 |
19 |
--- a/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-glib-2.31.patch |
20 |
+++ b/x11-themes/gtk-engines-ubuntulooks/files/gtk-engines-ubuntulooks-0.9.12-glib-2.31.patch |
21 |
@@ -1,7 +1,7 @@ |
22 |
http://bugs.gentoo.org/419395 |
23 |
|
24 |
---- engine/src/animation.c |
25 |
-+++ engine/src/animation.c |
26 |
+--- a/engine/src/animation.c |
27 |
++++ b/engine/src/animation.c |
28 |
@@ -7,7 +7,7 @@ |
29 |
#include "animation.h" |
30 |
|
31 |
|
32 |
diff --git a/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild b/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild |
33 |
index 94c86304a7f..7ac97c44e10 100644 |
34 |
--- a/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild |
35 |
+++ b/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild |
36 |
@@ -1,34 +1,43 @@ |
37 |
-# Copyright 1999-2017 Gentoo Foundation |
38 |
+# Copyright 1999-2019 Gentoo Authors |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
|
41 |
-EAPI=4 |
42 |
-inherit autotools eutils |
43 |
+EAPI=7 |
44 |
+ |
45 |
+inherit autotools |
46 |
|
47 |
PATCH_LEVEL=12 |
48 |
MY_PN=${PN/gtk-engines-} |
49 |
|
50 |
DESCRIPTION="A derivative of the standard Clearlooks GTK+ 2.x engine with more orange feel" |
51 |
HOMEPAGE="http://packages.ubuntu.com/search?keywords=gtk2-engines-ubuntulooks" |
52 |
-SRC_URI="mirror://ubuntu/pool/main/u/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz |
53 |
+SRC_URI=" |
54 |
+ mirror://ubuntu/pool/main/u/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz |
55 |
mirror://ubuntu/pool/main/u/${MY_PN}/${MY_PN}_${PV}-${PATCH_LEVEL}.diff.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x86-macos" |
60 |
-IUSE="" |
61 |
|
62 |
-RDEPEND=">=dev-libs/glib-2 |
63 |
+RDEPEND=" |
64 |
+ dev-libs/glib:2 |
65 |
x11-libs/gtk+:2" |
66 |
-DEPEND="${RDEPEND} |
67 |
- virtual/pkgconfig" |
68 |
+DEPEND="${RDEPEND}" |
69 |
+BDEPEND="virtual/pkgconfig" |
70 |
|
71 |
S=${WORKDIR}/${MY_PN}-${PV} |
72 |
|
73 |
-src_prepare() { |
74 |
- epatch "${WORKDIR}"/${MY_PN}_${PV}-${PATCH_LEVEL}.diff |
75 |
- EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch debian/patches |
76 |
- epatch "${FILESDIR}"/${P}-glib-2.31.patch #419395 |
77 |
+PATCHES=( |
78 |
+ "${WORKDIR}"/${MY_PN}_${PV}-${PATCH_LEVEL}.diff |
79 |
+ "${S}"/debian/patches/01_fix_listview_arrows_drawing.patch |
80 |
+ "${S}"/debian/patches/01_fix_tick_box_drawing.patch |
81 |
+ "${S}"/debian/patches/01_progressbar-fix.patch |
82 |
+ "${S}"/debian/patches/02_fix-firefox-buttons.patch |
83 |
+ # https://bugs.gentoo.org/419395 |
84 |
+ "${FILESDIR}"/${P}-glib-2.31.patch |
85 |
+) |
86 |
|
87 |
+src_prepare() { |
88 |
+ default |
89 |
eautoreconf # update libtool for interix |
90 |
} |
91 |
|
92 |
@@ -37,8 +46,9 @@ src_configure() { |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
- emake DESTDIR="${D}" install |
97 |
- dodoc AUTHORS ChangeLog README |
98 |
+ default |
99 |
newdoc debian/changelog ChangeLog.debian |
100 |
- find "${ED}"/usr -name '*.la' -type f -exec rm -f {} + |
101 |
+ |
102 |
+ # no static archives |
103 |
+ find "${D}" -name '*.la' -delete || die |
104 |
} |