summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/gconf_3.2.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gnome/gconf_3.2.6.bb')
-rw-r--r--meta/recipes-gnome/gnome/gconf_3.2.6.bb17
1 files changed, 9 insertions, 8 deletions
diff --git a/meta/recipes-gnome/gnome/gconf_3.2.6.bb b/meta/recipes-gnome/gnome/gconf_3.2.6.bb
index ade93644ec..1e29bd9bb0 100644
--- a/meta/recipes-gnome/gnome/gconf_3.2.6.bb
+++ b/meta/recipes-gnome/gnome/gconf_3.2.6.bb
@@ -4,11 +4,12 @@ It is intended for user preferences; not configuration of something like \
4Apache, or arbitrary data storage." 4Apache, or arbitrary data storage."
5SECTION = "x11/gnome" 5SECTION = "x11/gnome"
6HOMEPAGE = "https://gitlab.gnome.org/Archive/gconf" 6HOMEPAGE = "https://gitlab.gnome.org/Archive/gconf"
7LICENSE = "LGPLv2+" 7LICENSE = "LGPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" 8LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
9 9
10DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native" 10DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib libxml2 intltool-native"
11 11
12GNOMEBASEBUILDCLASS = "autotools"
12inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache 13inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache
13 14
14SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ 15SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \
@@ -28,12 +29,12 @@ EXTRA_OECONF = "--enable-shared --disable-static \
28 29
29PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" 30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
30# We really don't want Polkit for native 31# We really don't want Polkit for native
31PACKAGECONFIG_class-native = "" 32PACKAGECONFIG:class-native = ""
32 33
33PACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit" 34PACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit"
34PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum" 35PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum"
35 36
36do_install_append() { 37do_install:append() {
37 # this directory need to be created to avoid an Error 256 at gdm launch 38 # this directory need to be created to avoid an Error 256 at gdm launch
38 install -d ${D}${sysconfdir}/gconf/gconf.xml.system 39 install -d ${D}${sysconfdir}/gconf/gconf.xml.system
39 40
@@ -42,19 +43,19 @@ do_install_append() {
42 rm -f ${D}${libdir}/gio/*/*.*a 43 rm -f ${D}${libdir}/gio/*/*.*a
43} 44}
44 45
45do_install_append_class-native() { 46do_install:append:class-native() {
46 create_wrapper ${D}/${bindir}/gconftool-2 \ 47 create_wrapper ${D}/${bindir}/gconftool-2 \
47 GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2 48 GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2
48} 49}
49 50
50FILES_${PN} += "${libdir}/GConf/* \ 51FILES:${PN} += "${libdir}/GConf/* \
51 ${libdir}/gio/*/*.so \ 52 ${libdir}/gio/*/*.so \
52 ${datadir}/polkit* \ 53 ${datadir}/polkit* \
53 ${datadir}/dbus-1/services/*.service \ 54 ${datadir}/dbus-1/services/*.service \
54 ${datadir}/dbus-1/system-services/*.service \ 55 ${datadir}/dbus-1/system-services/*.service \
55 " 56 "
56RDEPENDS_${PN} = "python3-xml" 57RDEPENDS:${PN} = "python3-xml"
57 58
58FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd" 59FILES:${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"
59 60
60BBCLASSEXTEND = "native" 61BBCLASSEXTEND = "native"