Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-engines-aurora/files/, x11-themes/gtk-engines-aurora/
Date: Tue, 24 Dec 2019 11:53:47
Message-Id: 1577188393.890702867e9e2c057e778ad5434d13f503f85923.soap@gentoo
1 commit: 890702867e9e2c057e778ad5434d13f503f85923
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 24 11:53:13 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 24 11:53:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89070286
7
8 x11-themes/gtk-engines-aurora: 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 .../files/gtk-engines-aurora-1.5.1-glib-2.31.patch | 4 +--
14 .../gtk-engines-aurora-1.5.1.ebuild | 38 ++++++++++------------
15 2 files changed, 19 insertions(+), 23 deletions(-)
16
17 diff --git a/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-glib-2.31.patch b/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-glib-2.31.patch
18 index 34897addd27..33dc3af23f4 100644
19 --- a/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-glib-2.31.patch
20 +++ b/x11-themes/gtk-engines-aurora/files/gtk-engines-aurora-1.5.1-glib-2.31.patch
21 @@ -1,7 +1,7 @@
22 http://bugs.gentoo.org/419393
23
24 ---- src/animation.c
25 -+++ src/animation.c
26 +--- a/src/animation.c
27 ++++ b/src/animation.c
28 @@ -7,7 +7,7 @@
29 #include "animation.h"
30
31
32 diff --git a/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild b/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild
33 index 503ede706f1..f85ed5696b8 100644
34 --- a/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild
35 +++ b/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild
36 @@ -1,10 +1,9 @@
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 eutils versionator
43 +EAPI=7
44
45 -MY_MAJ=$(get_version_component_range 1-2)
46 +MY_MAJ=$(ver_cut 1-2)
47
48 DESCRIPTION="Aurora GTK+ 2.x Theme Engine"
49 HOMEPAGE="http://www.gnome-look.org/content/show.php?content=56438"
50 @@ -13,24 +12,21 @@ SRC_URI="http://gnome-look.org/CONTENT/content-files/56438-aurora-${PV}.tar.bz2"
51 LICENSE="GPL-2"
52 SLOT="0"
53 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-macos"
54 -IUSE=""
55
56 -RDEPEND=">=dev-libs/glib-2
57 - >=x11-libs/gtk+-2.10:2"
58 -DEPEND="${RDEPEND}
59 - virtual/pkgconfig"
60 +RDEPEND="
61 + dev-libs/glib:2
62 + x11-libs/gtk+:2"
63 +DEPEND="${RDEPEND}"
64 +BDEPED="virtual/pkgconfig"
65
66 -S=${WORKDIR}/aurora-${MY_MAJ}
67 +S="${WORKDIR}/aurora-${MY_MAJ}"
68 +
69 +PATCHES=( "${FILESDIR}"/${P}-glib-2.31.patch )
70
71 src_unpack() {
72 unpack ${A}
73 - cd "${WORKDIR}"
74 - tar -xzf aurora-gtk-engine-${MY_MAJ}.tar.gz || die
75 - tar -xjf Aurora.tar.bz2 || die
76 -}
77 -
78 -src_prepare() {
79 - epatch "${FILESDIR}"/${P}-glib-2.31.patch
80 + unpack ./aurora-gtk-engine-${MY_MAJ}.tar.gz
81 + unpack ./Aurora.tar.bz2
82 }
83
84 src_configure() {
85 @@ -38,11 +34,11 @@ src_configure() {
86 }
87
88 src_install() {
89 - emake DESTDIR="${D}" install
90 - dodoc AUTHORS ChangeLog NEWS README
91 + default
92
93 insinto /usr/share/themes/Aurora
94 - doins -r ../Aurora/*
95 + doins -r ../Aurora/.
96
97 - find "${ED}"/usr -name '*.la' -type f -exec rm -f {} +
98 + # no static archives
99 + find "${D}" -name '*.la' -delete || die
100 }