Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-engines-rezlooks/files/, x11-themes/gtk-engines-rezlooks/
Date: Sun, 25 Aug 2019 08:22:37
Message-Id: 1566721348.dcf6998af231ac77f35395f20aae2ded1bcc5a62.jer@gentoo
1 commit: dcf6998af231ac77f35395f20aae2ded1bcc5a62
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 25 08:19:55 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 25 08:22:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf6998a
7
8 x11-themes/gtk-engines-rezlooks: EAPI=7
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Co-Authored-By: Stephan Hartmann <stha09 <AT> googlemail.com>
12 Fixes: https://bugs.gentoo.org/692816
13 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
14
15 ...-engines-rezlooks-0.6-glib-single-include.patch | 6 +--
16 .../gtk-engines-rezlooks-0.6-r1.ebuild | 45 ++++++++++++++++++++++
17 2 files changed, 47 insertions(+), 4 deletions(-)
18
19 diff --git a/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-glib-single-include.patch b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-glib-single-include.patch
20 index 340bd046fb0..d9b035ac53b 100644
21 --- a/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-glib-single-include.patch
22 +++ b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-glib-single-include.patch
23 @@ -1,7 +1,5 @@
24 -Index: rezlooks-0.6/src/animation.c
25 -===================================================================
26 ---- rezlooks-0.6.orig/src/animation.c
27 -+++ rezlooks-0.6/src/animation.c
28 +--- a/src/animation.c
29 ++++ b/src/animation.c
30 @@ -7,7 +7,7 @@
31 #include "animation.h"
32
33
34 diff --git a/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
35 new file mode 100644
36 index 00000000000..2cc642b0031
37 --- /dev/null
38 +++ b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
39 @@ -0,0 +1,45 @@
40 +# Copyright 1999-2019 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=7
44 +inherit autotools
45 +
46 +DESCRIPTION="Rezlooks GTK+ Engine"
47 +HOMEPAGE="https://www.gnome-look.org/content/show.php?content=39179"
48 +SRC_URI="https://www.gnome-look.org/content/files/39179-rezlooks-0.6.tar.gz"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
53 +
54 +RDEPEND="
55 + >=x11-libs/gtk+-2.8:2
56 +"
57 +DEPEND="
58 + ${RDEPEND}
59 + virtual/pkgconfig
60 +"
61 +PATCHES=(
62 + "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
63 +)
64 +S=${WORKDIR}/rezlooks-${PV}
65 +
66 +src_prepare() {
67 + default
68 +
69 + # automake complains: ChangeLog missing. There however is a Changelog.
70 + # to avoid problems with case insensitive fs, move somewhere else first.
71 + mv Changelog{,.1} || die
72 + mv Changelog.1 ChangeLog || die
73 +
74 + eautoreconf # required for interix
75 +}
76 +
77 +src_configure() {
78 + econf --enable-animation
79 +}
80 +
81 +src_install() {
82 + default
83 + find "${D}" -name '*.la' -exec rm -f {} + || die
84 +}