summaryrefslogtreecommitdiffstats
path: root/meta/classes/gnomebase.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/gnomebase.bbclass')
-rw-r--r--meta/classes/gnomebase.bbclass30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass
new file mode 100644
index 0000000..739bf60
--- /dev/null
+++ b/meta/classes/gnomebase.bbclass
@@ -0,0 +1,30 @@
1def gnome_verdir(v):
2 return oe.utils.trim_version(v, 2)
3
4GNOME_COMPRESS_TYPE ?= "bz2"
5SECTION ?= "x11/gnome"
6GNOMEBN ?= "${BPN}"
7SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
8
9DEPENDS += "gnome-common-native"
10
11FILES_${PN} += "${datadir}/application-registry \
12 ${datadir}/mime-info \
13 ${datadir}/mime/packages \
14 ${datadir}/mime/application \
15 ${datadir}/gnome-2.0 \
16 ${datadir}/polkit* \
17 ${datadir}/GConf \
18 ${datadir}/glib-2.0/schemas \
19"
20
21FILES_${PN}-doc += "${datadir}/devhelp"
22
23inherit autotools pkgconfig
24
25do_install_append() {
26 rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
27 rm -rf ${D}${localstatedir}/scrollkeeper/*
28 rm -f ${D}${datadir}/applications/*.cache
29}
30