1 |
commit: 9abcf6a07b3dbda6acee085781ca1f6ee059cec4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 1 12:10:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 1 12:17:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abcf6a0 |
7 |
|
8 |
xfce-base/xfconf: Bump to 4.17.0 |
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.17.0.ebuild | 80 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest |
17 |
index dcbdb1b4c929..51f342c89a9c 100644 |
18 |
--- a/xfce-base/xfconf/Manifest |
19 |
+++ b/xfce-base/xfconf/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xfconf-4.16.0.tar.bz2 634858 BLAKE2B 34a03e457934310d4750b0811ff3b6fbde0c786656c9cc1bb2dd733e0104c2ab3ff1834fefcea31a6711931406b8ab507a528596b598e92c401defb8e6d7715e SHA512 d2e6b272243d6eda71f42cb3df18cb9c0745a1864718639e9aa494902dfe5b4989b2761fee2195456e5725cad0f744978f9c95c6f01e48aa016a919ce3468344 |
22 |
+DIST xfconf-4.17.0.tar.bz2 629001 BLAKE2B f7dbddc5762e4000a1cd5de4c02656f2a1626a244c847f53d1d0646773d91b2a10ee48e870d4b42bd004756e09a9b1e3d3e22f240712e5e7c9fe759908ece048 SHA512 e1eac703a898f151d9bde6c4177103498754a776b0c7f1381e7af9994a9cb1765943f840b31e665f40a1c4a26bc8b8a0c6e8aa0615f5501a52d4860065d59bc3 |
23 |
|
24 |
diff --git a/xfce-base/xfconf/xfconf-4.17.0.ebuild b/xfce-base/xfconf/xfconf-4.17.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4e3f29b8703c |
27 |
--- /dev/null |
28 |
+++ b/xfce-base/xfconf/xfconf-4.17.0.ebuild |
29 |
@@ -0,0 +1,80 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit bash-completion-r1 vala |
36 |
+ |
37 |
+DESCRIPTION="A configuration management system for Xfce" |
38 |
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" |
39 |
+HOMEPAGE=" |
40 |
+ https://docs.xfce.org/xfce/xfconf/start |
41 |
+ https://gitlab.xfce.org/xfce/xfconf/ |
42 |
+" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+SLOT="0/3" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" |
47 |
+IUSE="debug +introspection vala" |
48 |
+REQUIRED_USE="vala? ( introspection )" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ >=dev-libs/glib-2.50 |
52 |
+ sys-apps/dbus |
53 |
+ >=xfce-base/libxfce4util-4.14:= |
54 |
+ introspection? ( >=dev-libs/gobject-introspection-1.66:= ) |
55 |
+ !<xfce-base/xfce4-panel-4.13.1 |
56 |
+ !<xfce-base/xfce4-settings-4.13.1 |
57 |
+" |
58 |
+RDEPEND=" |
59 |
+ ${DEPEND} |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ dev-util/gdbus-codegen |
63 |
+ dev-util/glib-utils |
64 |
+ dev-util/intltool |
65 |
+ sys-devel/gettext |
66 |
+ virtual/pkgconfig |
67 |
+ vala? ( $(vala_depend) ) |
68 |
+" |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local myconf=( |
72 |
+ $(use_enable introspection) |
73 |
+ $(use_enable vala) |
74 |
+ $(use_enable debug checks) |
75 |
+ --with-bash-completion-dir="$(get_bashcompdir)" |
76 |
+ ) |
77 |
+ |
78 |
+ use vala && vala_setup |
79 |
+ econf "${myconf[@]}" |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ local service_dir=${HOME}/.local/share/dbus-1/services |
84 |
+ mkdir -p "${service_dir}" || die |
85 |
+ cat > "${service_dir}/org.xfce.Xfconf.service" <<-EOF || die |
86 |
+ [D-BUS Service] |
87 |
+ Name=org.xfce.Xfconf |
88 |
+ Exec=${S}/xfconfd/xfconfd |
89 |
+ EOF |
90 |
+ |
91 |
+ ( |
92 |
+ # start isolated dbus session bus |
93 |
+ dbus_data=$(dbus-launch --sh-syntax) || exit |
94 |
+ eval "${dbus_data}" |
95 |
+ |
96 |
+ # -j>1 often hangs |
97 |
+ # https://gitlab.xfce.org/xfce/xfconf/-/issues/13 |
98 |
+ nonfatal emake -j1 check |
99 |
+ ret=${?} |
100 |
+ |
101 |
+ kill "${DBUS_SESSION_BUS_PID}" |
102 |
+ exit "${ret}" |
103 |
+ ) || die |
104 |
+} |
105 |
+ |
106 |
+src_install() { |
107 |
+ default |
108 |
+ find "${D}" -type f -name '*.la' -delete || die |
109 |
+} |