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