angstrom-layers: add gnome classes from OE to meta-openembedded

mime.bbclass throws a python error, so the package splitting is disabled for the time being

Signed-off-by: Koen Kooi <k-kooi@ti.com>
This commit is contained in:
Koen Kooi
2010-11-02 11:11:31 +01:00
parent 8a3fda48e2
commit 2b60e0c686
3 changed files with 90 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
def gnome_verdir(v):
import re
m = re.match("^([0-9]+)\.([0-9]+)", v)
return "%s.%s" % (m.group(1), m.group(2))
SECTION ?= "x11/gnome"
SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.bz2;name=archive"
DEPENDS += "gnome-common"
FILES_${PN} += "${datadir}/application-registry \
${datadir}/mime-info \
${datadir}/mime/packages \
${datadir}/mime/application \
${datadir}/gnome-2.0 \
${datadir}/polkit* \
"
FILES_${PN}-doc += "${datadir}/devhelp"
inherit autotools pkgconfig
AUTOTOOLS_STAGE_PKGCONFIG = "1"
do_install_append() {
rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
rm -rf ${D}${localstatedir}/scrollkeeper/*
rm -f ${D}${datadir}/applications/*.cache
}