1*4882a593SmuzhiyunSUMMARY = "GNOME configuration system" 2*4882a593SmuzhiyunDESCRIPTION = "GConf is a system for storing application preferences. \ 3*4882a593SmuzhiyunIt is intended for user preferences; not configuration of something like \ 4*4882a593SmuzhiyunApache, or arbitrary data storage." 5*4882a593SmuzhiyunSECTION = "x11/gnome" 6*4882a593SmuzhiyunHOMEPAGE = "https://gitlab.gnome.org/Archive/gconf" 7*4882a593SmuzhiyunLICENSE = "LGPL-2.0-or-later" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunDEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native" 11*4882a593Smuzhiyun 12*4882a593Smuzhiyuninherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunSRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ 15*4882a593Smuzhiyun file://remove_plus_from_invalid_characters_list.patch \ 16*4882a593Smuzhiyun file://unable-connect-dbus.patch \ 17*4882a593Smuzhiyun file://create_config_directory.patch \ 18*4882a593Smuzhiyun file://python3.patch \ 19*4882a593Smuzhiyun" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunSRC_URI[archive.md5sum] = "2b16996d0e4b112856ee5c59130e822c" 22*4882a593SmuzhiyunSRC_URI[archive.sha256sum] = "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunS = "${WORKDIR}/GConf-${PV}" 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunEXTRA_OECONF = "--enable-shared --disable-static \ 27*4882a593Smuzhiyun --disable-orbit --with-openldap=no --disable-gtk" 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunPACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" 30*4882a593Smuzhiyun# We really don't want Polkit for native 31*4882a593SmuzhiyunPACKAGECONFIG:class-native = "" 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunPACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit" 34*4882a593SmuzhiyunPACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum" 35*4882a593Smuzhiyun 36*4882a593Smuzhiyundo_install:append() { 37*4882a593Smuzhiyun # this directory need to be created to avoid an Error 256 at gdm launch 38*4882a593Smuzhiyun install -d ${D}${sysconfdir}/gconf/gconf.xml.system 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun # this stuff is unusable 41*4882a593Smuzhiyun rm -f ${D}${libdir}/GConf/*/*.*a 42*4882a593Smuzhiyun rm -f ${D}${libdir}/gio/*/*.*a 43*4882a593Smuzhiyun} 44*4882a593Smuzhiyun 45*4882a593Smuzhiyundo_install:append:class-native() { 46*4882a593Smuzhiyun create_wrapper ${D}/${bindir}/gconftool-2 \ 47*4882a593Smuzhiyun GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2 48*4882a593Smuzhiyun} 49*4882a593Smuzhiyun 50*4882a593SmuzhiyunFILES:${PN} += "${libdir}/GConf/* \ 51*4882a593Smuzhiyun ${libdir}/gio/*/*.so \ 52*4882a593Smuzhiyun ${datadir}/polkit* \ 53*4882a593Smuzhiyun ${datadir}/dbus-1/services/*.service \ 54*4882a593Smuzhiyun ${datadir}/dbus-1/system-services/*.service \ 55*4882a593Smuzhiyun " 56*4882a593SmuzhiyunRDEPENDS:${PN} = "python3-xml" 57*4882a593Smuzhiyun 58*4882a593SmuzhiyunFILES:${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd" 59*4882a593Smuzhiyun 60*4882a593SmuzhiyunBBCLASSEXTEND = "native" 61