diff options
Diffstat (limited to 'xfce-base/xfconf')
-rw-r--r-- | xfce-base/xfconf/Manifest | 2 | ||||
-rw-r--r-- | xfce-base/xfconf/xfconf-4.17.0.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest index 4645080371b9..f0edb5bdcd8c 100644 --- a/xfce-base/xfconf/Manifest +++ b/xfce-base/xfconf/Manifest @@ -1,3 +1,5 @@ DIST xfconf-4.16.0.tar.bz2 634858 BLAKE2B 34a03e457934310d4750b0811ff3b6fbde0c786656c9cc1bb2dd733e0104c2ab3ff1834fefcea31a6711931406b8ab507a528596b598e92c401defb8e6d7715e SHA512 d2e6b272243d6eda71f42cb3df18cb9c0745a1864718639e9aa494902dfe5b4989b2761fee2195456e5725cad0f744978f9c95c6f01e48aa016a919ce3468344 +DIST xfconf-4.17.0.tar.bz2 629001 BLAKE2B f7dbddc5762e4000a1cd5de4c02656f2a1626a244c847f53d1d0646773d91b2a10ee48e870d4b42bd004756e09a9b1e3d3e22f240712e5e7c9fe759908ece048 SHA512 e1eac703a898f151d9bde6c4177103498754a776b0c7f1381e7af9994a9cb1765943f840b31e665f40a1c4a26bc8b8a0c6e8aa0615f5501a52d4860065d59bc3 EBUILD xfconf-4.16.0.ebuild 1777 BLAKE2B 8e67eafffe8f5d85accd4973385a8ed234e7d363f89cbaed42bc3df5df233f422f2226396f2cb6d80d93f52775ba616362eb79d7484735aea60971ba9b803bb5 SHA512 9d11ecdca867cc4b9c1f16bd382eedec0ca1c5209040a7e3771ef77f56f407fcf2fb363b5f3e171cee856020fd47fb8df476c1aea74b8d482a0536e27befe38b +EBUILD xfconf-4.17.0.ebuild 1787 BLAKE2B 045ec661b197a191afef3d4411c11d52fbfa98bcf2b1eb8ac0cf15b46bcfbff331c4811506784eb71ad6eadb5831580f7b69a8773a3a8703240e401eed3fea09 SHA512 f3ec1693082f328c5511dba3bedf120add41eb34ad2da540b31b547bc6d0dd41fe9f2066cdccfca9e979d437fadf41119e16379b1669dd853d1a315369b83fb3 MISC metadata.xml 248 BLAKE2B 83bf47dc3dbedea8a88932e922075f0ba8fd841433c4ab750e2ab61c22e8cbfaa1acb04a903d89ef5140a75dfc4c4899354623e0160df5b7c178c190f8494515 SHA512 b5200cfe30adef8e869fada87f1b4171210b2427cd3ac12edef70948f305d5e612ca5f24d377f9823a6022c8867db635db50ddd3d6cb362d6b0137c299fe07e5 diff --git a/xfce-base/xfconf/xfconf-4.17.0.ebuild b/xfce-base/xfconf/xfconf-4.17.0.ebuild new file mode 100644 index 000000000000..4e3f29b8703c --- /dev/null +++ b/xfce-base/xfconf/xfconf-4.17.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 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" +SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" +HOMEPAGE=" + https://docs.xfce.org/xfce/xfconf/start + https://gitlab.xfce.org/xfce/xfconf/ +" + +LICENSE="GPL-2+" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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.50 + sys-apps/dbus + >=xfce-base/libxfce4util-4.14:= + introspection? ( >=dev-libs/gobject-introspection-1.66:= ) + !<xfce-base/xfce4-panel-4.13.1 + !<xfce-base/xfce4-settings-4.13.1 +" +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 +} |