mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
xfce-base/xfconf: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
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
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 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.bz2"
|
||||
|
||||
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 +introspection vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.66.0
|
||||
sys-apps/dbus
|
||||
>=xfce-base/libxfce4util-4.17.3:=
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.66:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable introspection)
|
||||
$(use_enable vala)
|
||||
$(use_enable debug checks)
|
||||
--with-bash-completion-dir="$(get_bashcompdir)"
|
||||
)
|
||||
|
||||
use vala && vala_setup
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
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}"
|
||||
|
||||
# -j>1 often hangs
|
||||
# https://gitlab.xfce.org/xfce/xfconf/-/issues/13
|
||||
nonfatal emake -j1 check
|
||||
ret=${?}
|
||||
|
||||
kill "${DBUS_SESSION_BUS_PID}"
|
||||
exit "${ret}"
|
||||
) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user