gnome-base/dconf: bump to 0.26.1

Package-Manager: Portage-2.3.8, Repoman-2.3.2
This commit is contained in:
Mart Raudsepp
2017-10-26 01:20:57 +03:00
parent cff6ab6421
commit 200c8a0dd0
2 changed files with 63 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST dconf-0.26.0.tar.xz 219688 SHA256 8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9 SHA512 ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e WHIRLPOOL 5e4e24aa6083ad5a7a50041772bb7d466eb9cee93725311516fd6070a1b31b8db137772a3c55fa7cfca1675f72f9ab35b70d6aec1b67666eeedfbdfdebd9ac7a
DIST dconf-0.26.1.tar.xz 218516 SHA256 d583b1f7fc93b879e2956acc6a26ea05a445a0002158aeef80c8e378e1414535 SHA512 4d2b4afce189e448e3bd4e9c2f9d3d5eec6c694748aec87a9a8de047296c858772a5234dbcace8e84d99c5378d2d1ba35cafb5e5ea7efca25c10a53a55b8b6da WHIRLPOOL a790df3c838e0d7e78b4bed6e547f8627348897c9d50c2990208afcc91855b8181b19cd318f48de6ed739bb367f04b84e7f5563fe9f6f2a91a7ed9cfe8db0e59

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2 bash-completion-r1 virtualx
DESCRIPTION="Simple low-level configuration system"
HOMEPAGE="https://wiki.gnome.org/action/show/Projects/dconf"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux"
IUSE=""
RDEPEND="
>=dev-libs/glib-2.44.0:2
sys-apps/dbus
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.2
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
dev-util/gdbus-codegen
>=dev-util/gtk-doc-am-1.15
sys-devel/gettext
virtual/pkgconfig
"
src_configure() {
gnome2_src_configure \
--disable-gcov \
--enable-man \
VALAC=$(type -P true)
}
src_test() {
virtx emake check
}
src_install() {
gnome2_src_install
# GSettings backend may be one of: memory, gconf, dconf
# Only dconf is really considered functional by upstream
# must have it enabled over gconf if both are installed
echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
doenvd 51dconf
}
pkg_postinst() {
gnome2_pkg_postinst
# Kill existing dconf-service processes as recommended by upstream due to
# possible changes in the dconf private dbus API.
# dconf-service will be dbus-activated on next use.
pids=$(pgrep -x dconf-service)
if [[ $? == 0 ]]; then
ebegin "Stopping dconf-service; it will automatically restart on demand"
kill ${pids}
eend $?
fi
}