Gentoo Archives: gentoo-commits

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