1 |
commit: 28bf78317cf5f57bd7e4875826a2d51d52fa7524 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 19:04:38 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 19:06:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28bf7831 |
7 |
|
8 |
dev-util/geany: Bumped live ebuild top EAPI-7 |
9 |
|
10 |
replaced gnome2-utils eclass with xdg eclass |
11 |
|
12 |
Bug: https://bugs.gentoo.org/588570 |
13 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
dev-util/geany/geany-9999.ebuild | 21 +++++++++++---------- |
17 |
1 file changed, 11 insertions(+), 10 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/geany/geany-9999.ebuild b/dev-util/geany/geany-9999.ebuild |
20 |
index f07d539b727..79034d53feb 100644 |
21 |
--- a/dev-util/geany/geany-9999.ebuild |
22 |
+++ b/dev-util/geany/geany-9999.ebuild |
23 |
@@ -1,9 +1,10 @@ |
24 |
-# Copyright 1999-2018 Gentoo Authors |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=6 |
29 |
+EAPI=7 |
30 |
|
31 |
-inherit gnome2-utils xdg-utils |
32 |
+# eutils required for strip-linguas |
33 |
+inherit eutils xdg |
34 |
|
35 |
LANGS="ar ast be bg ca cs de el en_GB es et eu fa fi fr gl he hi hu id it ja kk ko lb lt mn nl nn pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN ZH_TW" |
36 |
NOSHORTLANGS="en_GB zh_CN zh_TW" |
37 |
@@ -14,6 +15,7 @@ if [[ "${PV}" = 9999* ]] ; then |
38 |
inherit autotools git-r3 |
39 |
EGIT_REPO_URI="https://github.com/geany/geany.git" |
40 |
else |
41 |
+ [[ "${PV}" == *_pre* ]] && inherit autotools |
42 |
SRC_URI="https://download.geany.org/${P}.tar.bz2" |
43 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
44 |
fi |
45 |
@@ -41,7 +43,7 @@ pkg_setup() { |
46 |
} |
47 |
|
48 |
src_prepare() { |
49 |
- default |
50 |
+ xdg_src_prepare #588570 |
51 |
|
52 |
# Syntax highlighting for Portage |
53 |
sed -i -e "s:*.sh;:*.sh;*.ebuild;*.eclass;:" \ |
54 |
@@ -56,7 +58,6 @@ src_configure() { |
55 |
local myeconfargs=( |
56 |
--disable-html-docs |
57 |
--disable-dependency-tracking |
58 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" |
59 |
$(use_enable gtk3) |
60 |
$(use_enable vte) |
61 |
) |
62 |
@@ -68,14 +69,14 @@ src_install() { |
63 |
find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die |
64 |
} |
65 |
|
66 |
-pkg_preinst() { gnome2_icon_savelist; } |
67 |
+pkg_preinst() { |
68 |
+ xdg_pkg_preinst |
69 |
+} |
70 |
|
71 |
pkg_postinst() { |
72 |
- gnome2_icon_cache_update |
73 |
- xdg_desktop_database_update |
74 |
+ xdg_pkg_postinst |
75 |
} |
76 |
|
77 |
pkg_postrm() { |
78 |
- gnome2_icon_cache_update |
79 |
- xdg_desktop_database_update |
80 |
+ xdg_pkg_postrm |
81 |
} |