x11-themes/gtk-engines-candido: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Tue, 24 Dec 2019 11:53:14 +0000 (12:53 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 24 Dec 2019 11:53:14 +0000 (12:53 +0100)
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
x11-themes/gtk-engines-candido/files/gtk-engines-candido-0.9.1-glib-2.31.patch
x11-themes/gtk-engines-candido/gtk-engines-candido-0.9.1.ebuild

index d8f7e3e70ff2ef5e17848b136e3fd86dba8809e7..68094d31b9919e9a94ad98d620d94bcb88d1a5cb 100644 (file)
@@ -1,7 +1,7 @@
 http://bugs.gentoo.org/412731
 
---- src/animation.c
-+++ src/animation.c
+--- a/src/animation.c
++++ b/src/animation.c
 @@ -7,7 +7,7 @@
  #include "animation.h"
  
index 74f512f15e495dcfe4bfadc64ff8724b3662a967..90d89b19f4f97a7e5e36a855cf4ccc492f3d1871 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
 
 MY_P="candido-engine-${PV}"
 
@@ -13,18 +14,17 @@ SRC_URI="mirror://sourceforge/candido.berlios/${MY_P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
-RDEPEND=">=x11-libs/gtk+-2.8:2"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
-DOCS="AUTHORS ChangeLog CREDITS NEWS README"
+PATCHES=( "${FILESDIR}"/${P}-glib-2.31.patch )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-glib-2.31.patch
+       default
        eautoreconf # required for interix
 }
 
@@ -34,5 +34,7 @@ src_configure() {
 
 src_install() {
        default
-       find "${ED}" -name '*.la' -exec rm -f {} +
+
+       # no static archives
+       find "${D}" -name '*.la' -delete || die
 }