commit:     dcf6998af231ac77f35395f20aae2ded1bcc5a62
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 25 08:19:55 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 08:22:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf6998a

x11-themes/gtk-engines-rezlooks: EAPI=7

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Co-Authored-By: Stephan Hartmann <stha09 <AT> googlemail.com>
Fixes: https://bugs.gentoo.org/692816
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 ...-engines-rezlooks-0.6-glib-single-include.patch |  6 +--
 .../gtk-engines-rezlooks-0.6-r1.ebuild             | 45 ++++++++++++++++++++++
 2 files changed, 47 insertions(+), 4 deletions(-)

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
index 340bd046fb0..d9b035ac53b 100644
--- 
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
@@ -1,7 +1,5 @@
-Index: rezlooks-0.6/src/animation.c
-===================================================================
---- rezlooks-0.6.orig/src/animation.c
-+++ rezlooks-0.6/src/animation.c
+--- a/src/animation.c
++++ b/src/animation.c
 @@ -7,7 +7,7 @@
  #include "animation.h"
  

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
new file mode 100644
index 00000000000..2cc642b0031
--- /dev/null
+++ b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="Rezlooks GTK+ Engine"
+HOMEPAGE="https://www.gnome-look.org/content/show.php?content=39179";
+SRC_URI="https://www.gnome-look.org/content/files/39179-rezlooks-0.6.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       >=x11-libs/gtk+-2.8:2
+"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
+)
+S=${WORKDIR}/rezlooks-${PV}
+
+src_prepare() {
+       default
+
+       # automake complains: ChangeLog missing. There however is a Changelog.
+       # to avoid problems with case insensitive fs, move somewhere else first.
+       mv Changelog{,.1} || die
+       mv Changelog.1 ChangeLog || die
+
+       eautoreconf # required for interix
+}
+
+src_configure() {
+       econf --enable-animation
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -exec rm -f {} + || die
+}

Reply via email to