1 |
commit: cf0c79e9388529cde141005cb1ff60c53563837b |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 29 19:26:54 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 29 19:49:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0c79e9 |
7 |
|
8 |
x11-misc/quitcount: Port to EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/826502 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
...ount-3.1.3.ebuild => quitcount-3.1.3-r1.ebuild} | 22 +++++++++++----------- |
14 |
1 file changed, 11 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/x11-misc/quitcount/quitcount-3.1.3.ebuild b/x11-misc/quitcount/quitcount-3.1.3-r1.ebuild |
17 |
similarity index 66% |
18 |
rename from x11-misc/quitcount/quitcount-3.1.3.ebuild |
19 |
rename to x11-misc/quitcount/quitcount-3.1.3-r1.ebuild |
20 |
index 1fa341a50b67..427e0fd4f5d6 100644 |
21 |
--- a/x11-misc/quitcount/quitcount-3.1.3.ebuild |
22 |
+++ b/x11-misc/quitcount/quitcount-3.1.3-r1.ebuild |
23 |
@@ -1,8 +1,9 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=5 |
29 |
-inherit gnome2-utils |
30 |
+EAPI=8 |
31 |
+ |
32 |
+inherit xdg |
33 |
|
34 |
# The string in SRC_URI doesn't follow standard naming convention |
35 |
MV="3.1" |
36 |
@@ -13,15 +14,14 @@ SRC_URI="mirror://sourceforge/${PN}/${MV}/${P}.tar.gz" |
37 |
LICENSE="GPL-3" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
-DEPEND="x11-libs/gtk+:3 |
41 |
- >=dev-libs/glib-2.6:2" |
42 |
|
43 |
+DEPEND=" |
44 |
+ x11-libs/gtk+:3 |
45 |
+ >=dev-libs/glib-2.6:2 |
46 |
+" |
47 |
RDEPEND="${DEPEND}" |
48 |
|
49 |
-pkg_postinst() { |
50 |
- gnome2_icon_cache_update |
51 |
-} |
52 |
- |
53 |
-pkg_postrm() { |
54 |
- gnome2_icon_cache_update |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ sed -i '/appdata$/s/appdata$/metainfo/' Makefile.in || die |
58 |
} |