2011-11-01 21:46:43 +00:00
|
|
|
DESCRIPTION = "GNOME configuration system"
|
|
|
|
SECTION = "x11/gnome"
|
|
|
|
LICENSE = "LGPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
|
|
|
|
|
2012-01-27 21:27:56 +00:00
|
|
|
POLKIT = "polkit"
|
|
|
|
POLKIT_libc-uclibc = ""
|
|
|
|
|
2012-07-27 12:10:45 +00:00
|
|
|
DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native ${POLKIT} gobject-introspection-stub"
|
2012-10-27 08:48:17 +00:00
|
|
|
DEPENDS_class-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native gobject-introspection-stub-native"
|
2011-11-01 21:46:43 +00:00
|
|
|
|
2012-09-16 18:47:26 +00:00
|
|
|
PR = "r12"
|
2011-11-23 15:05:39 +00:00
|
|
|
|
2012-07-19 13:58:51 +00:00
|
|
|
inherit gnomebase gtk-doc
|
2011-11-01 21:46:43 +00:00
|
|
|
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.bz2;name=archive \
|
2011-11-23 15:05:39 +00:00
|
|
|
file://backenddir.patch"
|
2011-11-01 21:46:43 +00:00
|
|
|
|
|
|
|
SRC_URI[archive.md5sum] = "f80329173cd9d134ad07e36002dd2a15"
|
|
|
|
SRC_URI[archive.sha256sum] = "52008a82a847527877d9e1e549a351c86cc53cada4733b8a70a1123925d6aff4"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/GConf-${PV}"
|
|
|
|
|
2011-12-01 12:02:07 +00:00
|
|
|
POLKIT_OECONF = "--enable-defaults-service"
|
2012-10-27 08:48:17 +00:00
|
|
|
POLKIT_OECONF_class-native = "--disable-defaults-service"
|
2012-01-27 21:27:56 +00:00
|
|
|
POLKIT_OECONF_libc-uclibc = "--disable-default-service"
|
|
|
|
|
2012-07-19 14:20:21 +00:00
|
|
|
EXTRA_OECONF = "--enable-shared --disable-static --enable-debug=yes \
|
2012-07-10 13:31:33 +00:00
|
|
|
--disable-introspection --disable-orbit --with-openldap=no ${POLKIT_OECONF} --disable-gtk"
|
2011-11-01 21:46:43 +00:00
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
# this directory need to be created to avoid an Error 256 at gdm launch
|
|
|
|
install -d ${D}${sysconfdir}/gconf/gconf.xml.system
|
|
|
|
|
|
|
|
# this stuff is unusable
|
2012-10-17 22:25:17 +00:00
|
|
|
rm -f ${D}${libdir}/GConf/*/*.*a
|
|
|
|
rm -f ${D}${libdir}/gio/*/*.*a
|
2011-11-01 21:46:43 +00:00
|
|
|
}
|
|
|
|
|
2011-12-08 09:34:02 +00:00
|
|
|
# disable dbus-x11 when x11 isn't in DISTRO_FEATURES
|
|
|
|
RDEPENDS_${PN} += "${@base_contains('DISTRO_FEATURES', 'x11', 'dbus-x11', '', d)}"
|
2012-10-27 08:48:17 +00:00
|
|
|
RDEPENDS_${PN}_class-native = ""
|
2011-12-08 09:34:02 +00:00
|
|
|
|
2011-11-01 21:46:43 +00:00
|
|
|
FILES_${PN} += "${libdir}/GConf/* \
|
2012-01-12 19:17:11 +00:00
|
|
|
${libdir}/gio/*/*.so \
|
|
|
|
${datadir}/polkit* \
|
|
|
|
${datadir}/dbus-1/services/*.service \
|
|
|
|
${datadir}/dbus-1/system-services/*.service \
|
|
|
|
"
|
2011-11-01 21:46:43 +00:00
|
|
|
FILES_${PN}-dbg += "${libdir}/*/*/.debug"
|
|
|
|
FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|