angstrom-layers: add gconf from OE into meta-openembedded

Signed-off-by: Koen Kooi <k-kooi@ti.com>
This commit is contained in:
Koen Kooi 2010-11-02 09:51:22 +01:00
parent b6068fe704
commit e0144c0ae3

View File

@ -0,0 +1,38 @@
DESCRIPTION = "GNOME configuration database system"
SECTION = "x11/gnome"
LICENSE = "LGPL"
DEPENDS = "gtk+ orbit2 glib-2.0 libxml2 policykit"
ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
S = "${WORKDIR}/GConf-${PV}"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.28/GConf-${PV}.tar.bz2;name=archive"
SRC_URI[archive.md5sum] = "ad2aeb9c7d906b274954c51a615caeac"
SRC_URI[archive.sha256sum] = "d057dcfe2bfb2a80e592349c2a78d7dce12d19542aeced466c64fb701c806ac8"
PR = "r2"
RDEPENDS_${PN} += "dbus-x11"
EXTRA_OECONF = " --without-openldap --disable-gtk-doc --enable-gtk POLKIT_POLICY_FILE_VALIDATE=true"
inherit autotools gettext
EXTRA_OEMAKE = 'ORBIT_IDL="${ORBIT_IDL_SRC}"'
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
rm ${D}${libdir}/GConf/*/*.*a
}
FILES_${PN} += "${libdir}/GConf/* \
${datadir}/polkit* \
${datadir}/dbus-1/services/*.service \
${datadir}/dbus-1/system-services/*.service \
"
FILES_${PN}-dbg += "${libdir}/*/*/.debug"
FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"