Needed for the CONFIG_PROTECT_MASK at least, but also still
for GSETTINGS_BACKEND setting, because gnome-base/gconf sets it
to gconf in /etc/env.d/50gconf, thus until gconf still sets it,
we have to set it in dconf too to override it in the higher
numbered env.d entry.
Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
meson_src_configure
}
+src_install() {
+ meson_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
+ # This snippet can't be removed until gconf package is
+ # ensured to not install a /etc/env.d/50gconf and then
+ # still consider the CONFIG_PROTECT_MASK bit.
+ echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
+ echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
+ doenvd 51dconf
+}
+
src_test() {
virtx meson_src_test
}