commit:     986f1c13b241bba8e2c3289d052ec2750a969f05
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 23 15:31:20 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 23 15:40:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=986f1c13

xfce-base/xfconf: Bump to 4.21.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                 |  1 +
 xfce-base/xfconf/Manifest             |  1 +
 xfce-base/xfconf/xfconf-4.21.0.ebuild | 72 +++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index b1b32d7f894f..a72c10d8df5c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -79,6 +79,7 @@ dev-python/simplebayes
 >=xfce-base/xfce4-power-manager-4.21
 >=xfce-base/xfce4-session-4.21
 >=xfce-base/xfce4-settings-4.21
+>=xfce-base/xfconf-4.21
 
 # Michał Górny <[email protected]> (2025-03-17)
 # A "forever beta" wrapper over dev-python/requests, with no tests,

diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest
index d663de3f91c9..8f2dd275e59f 100644
--- a/xfce-base/xfconf/Manifest
+++ b/xfce-base/xfconf/Manifest
@@ -1,2 +1,3 @@
 DIST xfconf-4.18.3.tar.bz2 648479 BLAKE2B 
021198bba84c651f05cf47a1034617e088dcce6502eac6f0f160f8000e2309bac5f44b57cc0a4156f907a25002cc3c539ab0c16fc5b3018bbc8ae9a58b212133
 SHA512 
e1aa133f79ea584af067369f6fd059cd444c4743270ed90a8b0dfe158f7ae6fbc78af62fab67c64674060c2fd1404f06602ac8c019b0db8b70779a17fde4a327
 DIST xfconf-4.20.0.tar.bz2 763205 BLAKE2B 
56b895e8da736b5c0f63e733e625fe09c07a95ccb1d72271387ace1214410aab04be1ff508c6c43b1ab890cc1a4fd2bb0904b5f6ad4e7f615be2dcea60f01ec4
 SHA512 
87ae4e9366cccb6c2f13229539e8317d26bfb3fc5333e769ec2de1b596e04348595bb2e85ca90fb63c6c64968e5108e59490700028aeb077b32b9cd03062d9e9
+DIST xfconf-4.21.0.tar.xz 166464 BLAKE2B 
e012f6cce6bb404fcd23c9bf9f744b8b46842ca918da9774c1f5ed738c41184e99d1e1558dca385d80159551be054a6c2ecf29eb04043a1c3598df44b630fc4e
 SHA512 
ed9a8a06f60eef3ee799c861c9138fb6345384117d05969bb61e296515d67863e024671208cfe97ddb0393e0adfb92a9628997a9acea1d0474d3e6ab1c095d53

diff --git a/xfce-base/xfconf/xfconf-4.21.0.ebuild 
b/xfce-base/xfconf/xfconf-4.21.0.ebuild
new file mode 100644
index 000000000000..1d1290ebbf25
--- /dev/null
+++ b/xfce-base/xfconf/xfconf-4.21.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 meson vala
+
+DESCRIPTION="A configuration management system for Xfce"
+HOMEPAGE="
+       https://docs.xfce.org/xfce/xfconf/start
+       https://gitlab.xfce.org/xfce/xfconf/
+"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="debug gtk-doc +introspection test vala"
+REQUIRED_USE="vala? ( introspection )"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+       >=dev-libs/glib-2.72.0
+       sys-apps/dbus
+       >=xfce-base/libxfce4util-4.17.3:=
+       introspection? ( >=dev-libs/gobject-introspection-1.72.0:= )
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       dev-build/xfce4-dev-tools
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+       vala? ( $(vala_depend) )
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use gtk-doc)
+               $(meson_use introspection)
+               $(meson_feature vala)
+               $(meson_use debug runtime-checks)
+               -Dbash-completion-dir="$(get_bashcompdir)"
+               $(meson_use test tests)
+       )
+
+       use vala && vala_setup
+       meson_src_configure
+}
+
+src_test() {
+       local service_dir=${HOME}/.local/share/dbus-1/services
+       mkdir -p "${service_dir}" || die
+       cat > "${service_dir}/org.xfce.Xfconf.service" <<-EOF || die
+               [D-BUS Service]
+               Name=org.xfce.Xfconf
+               Exec=${S}/xfconfd/xfconfd
+       EOF
+
+       (
+               # start isolated dbus session bus
+               dbus_data=$(dbus-launch --sh-syntax) || exit
+               eval "${dbus_data}"
+
+               nonfatal meson_src_test
+               ret=${?}
+
+               kill "${DBUS_SESSION_BUS_PID}"
+               exit "${ret}"
+       ) || die
+}

Reply via email to