x11-themes/gtk-engines-rezlooks: EAPI=7
authorJeroen Roovers <jer@gentoo.org>
Sun, 25 Aug 2019 08:19:55 +0000 (10:19 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 25 Aug 2019 08:22:28 +0000 (10:22 +0200)
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Co-Authored-By: Stephan Hartmann <stha09@googlemail.com>
Fixes: https://bugs.gentoo.org/692816
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-glib-single-include.patch
x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild [new file with mode: 0644]

index 340bd046fb0ebf20b0a4e62daab644ab19295897..d9b035ac53b3e2f6939cfa04a826878c31edd13b 100644 (file)
@@ -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 (file)
index 0000000..2cc642b
--- /dev/null
@@ -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
+}