commit:     f68d890bdb38ff2ce5848180e6af87a1160e994b
Author:     Marco Scardovi <mscardovi <AT> icloud <DOT> com>
AuthorDate: Sun Jan  8 21:19:26 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 07:53:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68d890b

app-admin/gkrellm: update EAPI 7 -> 8 on 9999

Signed-off-by: Marco Scardovi <mscardovi <AT> icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/29025
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-admin/gkrellm/gkrellm-9999.ebuild | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/app-admin/gkrellm/gkrellm-9999.ebuild 
b/app-admin/gkrellm/gkrellm-9999.ebuild
index caea7327cbef..0cb8a88d1b58 100644
--- a/app-admin/gkrellm/gkrellm-9999.ebuild
+++ b/app-admin/gkrellm/gkrellm-9999.ebuild
@@ -1,19 +1,17 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop systemd toolchain-funcs
 
-MY_P="${P/_/-}"
-
 DESCRIPTION="Single process stack of various system monitors"
 HOMEPAGE="http://www.gkrellm.net/";
 if [[ "${PV}" == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://git.srcbox.net/gkrellm/gkrellm.git";
 else
-       SRC_URI="http://gkrellm.srcbox.net/${MY_P}.tar.bz2";
+       SRC_URI="http://gkrellm.srcbox.net/releases/${P}.tar.bz2";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 LICENSE="GPL-3+"
@@ -41,22 +39,21 @@ RDEPEND="
                x11-libs/libSM
                x11-libs/libX11
                x11-libs/pango
-               )"
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )"
-
-BDEPEND="
-       virtual/pkgconfig
+               )
 "
+DEPEND="
+       ${RDEPEND}
+       nls? ( sys-devel/gettext )
+"
+
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
-       "${FILESDIR}"/${PN}-2.3.5-config.patch
-       "${FILESDIR}"/${PN}-2.3.5-width.patch
-       "${FILESDIR}"/${PN}-2.3.5-sansfont.patch
+       "${FILESDIR}/${PN}-2.3.5-config.patch"
+       "${FILESDIR}/${PN}-2.3.5-width.patch"
+       "${FILESDIR}/${PN}-2.3.5-sansfont.patch"
 )
 
-S="${WORKDIR}/${MY_P}"
-
 DOCS=( Changelog CREDITS README )
 
 pkg_pretend() {

Reply via email to