commit:     d16a7816ce9d9bd9a79423349cba7b3826017fdb
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 22:03:36 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 22:03:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16a7816

x11-themes/gtk-chtheme: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...0.3.1-r3.ebuild => gtk-chtheme-0.3.1-r4.ebuild} | 23 +++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild 
b/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r4.ebuild
similarity index 68%
rename from x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild
rename to x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r4.ebuild
index bd7dd770de66..40828f11d52f 100644
--- a/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild
+++ b/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r4.ebuild
@@ -1,33 +1,33 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
 inherit toolchain-funcs
 
 DESCRIPTION="GTK-2.0 Theme Switcher"
 HOMEPAGE="http://plasmasturm.org/programs/gtk-chtheme/";
 SRC_URI="http://plasmasturm.org/programs/gtk-chtheme/${P}.tar.bz2";
 
-IUSE=""
+LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-LICENSE="GPL-2"
 
 RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
        "${FILESDIR}"/${P}-implicit.patch
-       "${FILESDIR}/${P}-asneeded.patch"  # Fix forced as-needed, bug #248655
-       "${FILESDIR}/${P}-qgtkstyle.patch" # Make it work with qgtkstyle, bug 
#250504
+       "${FILESDIR}"/${P}-asneeded.patch  # Fix forced as-needed, bug #248655
+       "${FILESDIR}"/${P}-qgtkstyle.patch # Make it work with qgtkstyle, bug 
#250504
 )
 
 src_prepare() {
-       # QA: stop Makefile from stripping the binaries
-       sed -i -e "s:strip:true:" "${S}"/Makefile || die "sed failed"
-
        default
+
+       # QA: stop Makefile from stripping the binaries
+       sed -i -e "s:strip:true:" Makefile || die
 }
 
 src_compile() {
@@ -36,4 +36,5 @@ src_compile() {
 
 src_install() {
        emake DESTDIR="${ED}" install
+       einstalldocs
 }

Reply via email to