gconf_3.2.5.bb 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. DESCRIPTION = "GNOME configuration system"
  2. SECTION = "x11/gnome"
  3. LICENSE = "LGPLv2+"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
  5. POLKIT = "polkit"
  6. POLKIT_libc-uclibc = ""
  7. DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native ${POLKIT} gobject-introspection-stub"
  8. DEPENDS_class-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native gobject-introspection-stub-native"
  9. PR = "r14"
  10. inherit gnomebase gtk-doc
  11. SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \
  12. file://obsolete_automake_macros.patch \
  13. file://remove_plus_from_invalid_characters_list.patch \
  14. "
  15. S = "${WORKDIR}/GConf-${PV}"
  16. SRC_URI[archive.md5sum] = "1b803eb4f8576c572d072692cf40c9d8"
  17. SRC_URI[archive.sha256sum] = "4ddea9503a212ee126c5b46a0a958fd5484574c3cb6ef2baf38db02e819e58c6"
  18. POLKIT_OECONF = "--enable-defaults-service"
  19. POLKIT_OECONF_class-native = "--disable-defaults-service"
  20. POLKIT_OECONF_libc-uclibc = "--disable-default-service"
  21. EXTRA_OECONF = "--enable-shared --disable-static --enable-debug=yes \
  22. --disable-introspection --disable-orbit --with-openldap=no ${POLKIT_OECONF} --disable-gtk"
  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. # disable dbus-x11 when x11 isn't in DISTRO_FEATURES
  35. RDEPENDS_${PN} += "${@base_contains('DISTRO_FEATURES', 'x11', 'dbus-x11', '', d)}"
  36. RDEPENDS_${PN}_class-native = ""
  37. FILES_${PN} += "${libdir}/GConf/* \
  38. ${libdir}/gio/*/*.so \
  39. ${datadir}/polkit* \
  40. ${datadir}/dbus-1/services/*.service \
  41. ${datadir}/dbus-1/system-services/*.service \
  42. "
  43. FILES_${PN}-dbg += "${libdir}/*/*/.debug"
  44. FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"
  45. BBCLASSEXTEND = "native"