summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-29 20:26:54 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-29 20:49:16 +0100
commitcf0c79e9388529cde141005cb1ff60c53563837b (patch)
treee6f958c828d4de973b46d36b5b9457fa4afa7e67 /x11-misc/quitcount
parentapp-misc/rundeck-cli-bin: Port to EAPI 8 (diff)
downloadgentoo-cf0c79e9388529cde141005cb1ff60c53563837b.tar.gz
gentoo-cf0c79e9388529cde141005cb1ff60c53563837b.tar.bz2
gentoo-cf0c79e9388529cde141005cb1ff60c53563837b.zip
x11-misc/quitcount: Port to EAPI 8
Closes: https://bugs.gentoo.org/826502 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'x11-misc/quitcount')
-rw-r--r--x11-misc/quitcount/quitcount-3.1.3-r1.ebuild (renamed from x11-misc/quitcount/quitcount-3.1.3.ebuild)22
1 files changed, 11 insertions, 11 deletions
diff --git a/x11-misc/quitcount/quitcount-3.1.3.ebuild b/x11-misc/quitcount/quitcount-3.1.3-r1.ebuild
index 1fa341a50b67..427e0fd4f5d6 100644
--- a/x11-misc/quitcount/quitcount-3.1.3.ebuild
+++ b/x11-misc/quitcount/quitcount-3.1.3-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit gnome2-utils
+EAPI=8
+
+inherit xdg
# The string in SRC_URI doesn't follow standard naming convention
MV="3.1"
@@ -13,15 +14,14 @@ SRC_URI="mirror://sourceforge/${PN}/${MV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="x11-libs/gtk+:3
- >=dev-libs/glib-2.6:2"
+DEPEND="
+ x11-libs/gtk+:3
+ >=dev-libs/glib-2.6:2
+"
RDEPEND="${DEPEND}"
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
+src_prepare() {
+ default
+ sed -i '/appdata$/s/appdata$/metainfo/' Makefile.in || die
}