1 |
commit: 4491110b5f5bfc9b53519c88a7b189591b2a521d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 6 15:01:27 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 6 15:34:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4491110b |
7 |
|
8 |
xfce-base/xfconf: Bump to 4.14.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
xfce-base/xfconf/Manifest | 1 + |
13 |
xfce-base/xfconf/xfconf-4.14.3.ebuild | 87 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 88 insertions(+) |
15 |
|
16 |
diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest |
17 |
index be5a6bf5e02..9355eef3900 100644 |
18 |
--- a/xfce-base/xfconf/Manifest |
19 |
+++ b/xfce-base/xfconf/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xfconf-4.14.1.tar.bz2 644804 BLAKE2B 1b04770fa9b3f4901f561bc3978dd7ffdbfea9496330a98334ffb19c0c7413b0540423f20200e2e5191ff876f3e2c32ca8354bbab70aac4de00592d995f77e72 SHA512 727d013f7e71e0eb9ff17e464acd65c1fa507f8eba1bd29621dae070161042f60f47b8ac048b28849bf45232d04d5d6e48530aa0bd1e661a3f58db47703a8808 |
22 |
+DIST xfconf-4.14.3.tar.bz2 591432 BLAKE2B 9722547018a6db7132bad53b750ec8bd66b2f5dde2348b605bf9a6ce6a7d18fefbfb16c31f58c1c4e6c593d3f0525c3bd8231b4bab0728bd64f91d918f0a6c23 SHA512 e3add05018215cc597bb76d852903077e1fd0a21429c462116c560739eaf32167f9dddac3adb36e89b9380b87fc4b4c38d4ee9fdd5139b540268be437fc3a713 |
23 |
|
24 |
diff --git a/xfce-base/xfconf/xfconf-4.14.3.ebuild b/xfce-base/xfconf/xfconf-4.14.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..6cdd92555cd |
27 |
--- /dev/null |
28 |
+++ b/xfce-base/xfconf/xfconf-4.14.3.ebuild |
29 |
@@ -0,0 +1,87 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit vala |
36 |
+ |
37 |
+DESCRIPTION="A configuration management system for Xfce" |
38 |
+HOMEPAGE="https://www.xfce.org/projects/" |
39 |
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="GPL-2+" |
42 |
+SLOT="0/3" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" |
44 |
+IUSE="debug introspection perl vala" |
45 |
+REQUIRED_USE="vala? ( introspection )" |
46 |
+ |
47 |
+RDEPEND=">=dev-libs/glib-2.42 |
48 |
+ >=xfce-base/libxfce4util-4.10:= |
49 |
+ introspection? ( dev-libs/gobject-introspection:= ) |
50 |
+ perl? ( |
51 |
+ dev-lang/perl:=[-build(-)] |
52 |
+ dev-perl/glib-perl |
53 |
+ ) |
54 |
+ !<xfce-base/xfce4-panel-4.13.1 |
55 |
+ !<xfce-base/xfce4-settings-4.13.1" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ dev-util/gdbus-codegen |
58 |
+ dev-util/glib-utils |
59 |
+ dev-util/intltool |
60 |
+ virtual/pkgconfig |
61 |
+ sys-devel/gettext |
62 |
+ perl? ( |
63 |
+ dev-perl/ExtUtils-Depends |
64 |
+ dev-perl/ExtUtils-PkgConfig |
65 |
+ ) |
66 |
+ vala? ( $(vala_depend) )" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ # stupid vala.eclass... |
70 |
+ default |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local myconf=( |
75 |
+ $(use_enable perl perl-bindings) |
76 |
+ $(use_enable introspection) |
77 |
+ $(use_enable vala) |
78 |
+ $(use_enable debug checks) |
79 |
+ --with-perl-options=INSTALLDIRS=vendor |
80 |
+ ) |
81 |
+ |
82 |
+ use vala && vala_src_prepare |
83 |
+ econf "${myconf[@]}" |
84 |
+} |
85 |
+ |
86 |
+src_test() { |
87 |
+ local service_dir=${HOME}/.local/share/dbus-1/services |
88 |
+ mkdir -p "${service_dir}" || die |
89 |
+ cat > "${service_dir}/org.xfce.Xfconf.service" <<-EOF || die |
90 |
+ [D-BUS Service] |
91 |
+ Name=org.xfce.Xfconf |
92 |
+ Exec=${S}/xfconfd/xfconfd |
93 |
+ EOF |
94 |
+ |
95 |
+ ( |
96 |
+ # start isolated dbus session bus |
97 |
+ dbus_data=$(dbus-launch --sh-syntax) || exit |
98 |
+ eval "${dbus_data}" |
99 |
+ |
100 |
+ nonfatal emake check |
101 |
+ ret=${?} |
102 |
+ |
103 |
+ kill "${DBUS_SESSION_BUS_PID}" |
104 |
+ exit "${ret}" |
105 |
+ ) || die |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ default |
110 |
+ find "${D}" -type f -name '*.la' -delete || die |
111 |
+ |
112 |
+ if use perl; then |
113 |
+ find "${ED}" -type f -name perllocal.pod -delete || die |
114 |
+ find "${ED}" -depth -mindepth 1 -type d -empty -delete || die |
115 |
+ fi |
116 |
+} |