1 |
commit: f8784182f36525dfd23a80020940f4ea9bbc359a |
2 |
Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 29 19:15:33 2017 +0000 |
4 |
Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 29 19:15:33 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8784182 |
7 |
|
8 |
xfce-base/libxfcegui4: remove obsolete xfconf.eclass, migrate to EAPI6 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
xfce-base/libxfcegui4/Manifest | 2 +- |
13 |
xfce-base/libxfcegui4/libxfcegui4-4.10.0-r2.ebuild | 56 ++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/xfce-base/libxfcegui4/Manifest b/xfce-base/libxfcegui4/Manifest |
17 |
index ebdd7fa89c8..e8213f6be79 100644 |
18 |
--- a/xfce-base/libxfcegui4/Manifest |
19 |
+++ b/xfce-base/libxfcegui4/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST libxfcegui4-4.10.0.tar.bz2 691012 SHA256 2b82f9979175d8856880c8f349e6eede491ca92fe6940c69c8958115418d4533 SHA512 32fe3be287c84d1816154c7632a87025324c2cb9d9524ef3d7813c3b3619ca04e4b70aeb47a3e0fb59090e43e124476988774a0dc5186ebc1a0ccdfe635cbb45 WHIRLPOOL 7390c5d36bf2e3bdea6a8c7de4f9471be9f434e99a250c8925de8ae7fa69f307c43b029d52417118bf49764c0834cfb6b039320846b83488cb8d39ca79cc2e15 |
22 |
+DIST libxfcegui4-4.10.0.tar.bz2 691012 BLAKE2B cce4f0a9587c10c1a226550ddeda8a9f00b5c1306ce11c329c914e4f3240f4fdb390beb7a1aa7049076767c26707b2570c801ebb9d78504694ee3542477882eb SHA512 32fe3be287c84d1816154c7632a87025324c2cb9d9524ef3d7813c3b3619ca04e4b70aeb47a3e0fb59090e43e124476988774a0dc5186ebc1a0ccdfe635cbb45 |
23 |
|
24 |
diff --git a/xfce-base/libxfcegui4/libxfcegui4-4.10.0-r2.ebuild b/xfce-base/libxfcegui4/libxfcegui4-4.10.0-r2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7e4dd9b0c36 |
27 |
--- /dev/null |
28 |
+++ b/xfce-base/libxfcegui4/libxfcegui4-4.10.0-r2.ebuild |
29 |
@@ -0,0 +1,56 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit gnome2-utils |
36 |
+ |
37 |
+DESCRIPTION="A compability library for unported Xfce 4.6 plugins (DEPRECATED)" |
38 |
+HOMEPAGE="https://git.xfce.org/archive/libxfcegui4/" |
39 |
+SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="GPL-2 LGPL-2.1" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris" |
44 |
+IUSE="startup-notification" |
45 |
+ |
46 |
+RDEPEND="gnome-base/libglade |
47 |
+ x11-libs/libSM |
48 |
+ x11-libs/libX11 |
49 |
+ >=x11-libs/gtk+-2.10:2 |
50 |
+ >=xfce-base/libxfce4util-4.10 |
51 |
+ startup-notification? ( x11-libs/startup-notification )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-util/intltool |
54 |
+ sys-devel/gettext |
55 |
+ virtual/pkgconfig" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ eapply -p0 "${FILESDIR}"/${P}-no-xfce_setenv.patch |
59 |
+ default |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ local myconf=( |
64 |
+ --disable-static |
65 |
+ $(use_enable startup-notification) |
66 |
+ # glade:3 no longer supported on Gentoo, #575166 |
67 |
+ --disable-gladeui |
68 |
+ --with-html-dir="${EPREFIX}"/deprecated |
69 |
+ ) |
70 |
+ econf "${myconf[@]}" |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ rm -rf "${ED}"/deprecated |
76 |
+ find "${D}" -name '*.la' -delete || die |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ gnome2_icon_cache_update |
81 |
+} |
82 |
+ |
83 |
+pkg_postrm() { |
84 |
+ gnome2_icon_cache_update |
85 |
+} |