gconf_3.2.6.bb 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. SUMMARY = "GNOME configuration system"
  2. SECTION = "x11/gnome"
  3. LICENSE = "LGPLv2+"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
  5. DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native"
  6. inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache
  7. SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \
  8. file://remove_plus_from_invalid_characters_list.patch \
  9. file://unable-connect-dbus.patch \
  10. "
  11. SRC_URI[archive.md5sum] = "2b16996d0e4b112856ee5c59130e822c"
  12. SRC_URI[archive.sha256sum] = "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
  13. S = "${WORKDIR}/GConf-${PV}"
  14. EXTRA_OECONF = "--enable-shared --disable-static \
  15. --disable-orbit --with-openldap=no --disable-gtk"
  16. # Disable PolicyKit by default
  17. PACKAGECONFIG ??= ""
  18. # We really don't want PolicyKit for native or uclibc
  19. PACKAGECONFIG_class-native = ""
  20. PACKAGECONFIG_libc-uclibc = ""
  21. PACKAGECONFIG[policykit] = "--enable-defaults-service,--disable-defaults-service,polkit"
  22. PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum"
  23. do_install_append() {
  24. # this directory need to be created to avoid an Error 256 at gdm launch
  25. install -d ${D}${sysconfdir}/gconf/gconf.xml.system
  26. # this stuff is unusable
  27. rm -f ${D}${libdir}/GConf/*/*.*a
  28. rm -f ${D}${libdir}/gio/*/*.*a
  29. }
  30. do_install_append_class-native() {
  31. create_wrapper ${D}/${bindir}/gconftool-2 \
  32. GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2
  33. }
  34. FILES_${PN} += "${libdir}/GConf/* \
  35. ${libdir}/gio/*/*.so \
  36. ${datadir}/polkit* \
  37. ${datadir}/dbus-1/services/*.service \
  38. ${datadir}/dbus-1/system-services/*.service \
  39. "
  40. FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"
  41. BBCLASSEXTEND = "native"