1 |
commit: c24c480bca34705387e280479a73e8e130cd1544 |
2 |
Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 17 22:08:51 2017 +0000 |
4 |
Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 17 22:08:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24c480b |
7 |
|
8 |
xfce4-indicator-plugin: remove obsolete xfconf.eclass, migrate to EAPI6 |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
...uild => xfce4-indicator-plugin-2.3.3-r2.ebuild} | 25 +++++++++++++++++----- |
13 |
1 file changed, 20 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.3.3-r1.ebuild b/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.3.3-r2.ebuild |
16 |
similarity index 72% |
17 |
rename from xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.3.3-r1.ebuild |
18 |
rename to xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.3.3-r2.ebuild |
19 |
index 40d31f2476f..1dd34e845cc 100644 |
20 |
--- a/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.3.3-r1.ebuild |
21 |
+++ b/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.3.3-r2.ebuild |
22 |
@@ -1,8 +1,8 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=5 |
28 |
-inherit xfconf |
29 |
+EAPI=6 |
30 |
+inherit gnome2-utils xdg-utils |
31 |
|
32 |
DESCRIPTION="A panel plugin that uses indicator-applet to show new messages" |
33 |
HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin" |
34 |
@@ -11,7 +11,7 @@ SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" |
35 |
LICENSE="GPL-2 LGPL-2" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86" |
38 |
-IUSE="debug" |
39 |
+IUSE="" |
40 |
|
41 |
RDEPEND=">=dev-libs/libindicator-12.10.1:3= |
42 |
>=x11-libs/gtk+-3.6:3= |
43 |
@@ -29,8 +29,23 @@ pkg_setup() { |
44 |
# TODO: libido3-13.10.0 needs ubuntu-private.h from Ubuntu's GTK+ 3.x |
45 |
XFCONF=( |
46 |
--disable-ido |
47 |
- $(xfconf_use_debug) |
48 |
) |
49 |
|
50 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS ) |
51 |
} |
52 |
+ |
53 |
+src_install() { |
54 |
+ default |
55 |
+ |
56 |
+ find "${D}" -name '*.la' -delete || die |
57 |
+} |
58 |
+ |
59 |
+pkg_postinst() { |
60 |
+ gnome2_icon_cache_update |
61 |
+ xdg_desktop_database_update |
62 |
+} |
63 |
+ |
64 |
+pkg_postrm() { |
65 |
+ gnome2_icon_cache_update |
66 |
+ xdg_desktop_database_update |
67 |
+} |