diff options
Diffstat (limited to 'meta/classes/gnome.bbclass')
-rw-r--r-- | meta/classes/gnome.bbclass | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/classes/gnome.bbclass b/meta/classes/gnome.bbclass new file mode 100644 index 0000000000..8643989b73 --- /dev/null +++ b/meta/classes/gnome.bbclass | |||
@@ -0,0 +1,20 @@ | |||
1 | def gnome_verdir(v): | ||
2 | import re | ||
3 | m = re.match("([0-9]+)\.([0-9]+)\..*", v) | ||
4 | return "%s.%s" % (m.group(1), m.group(2)) | ||
5 | |||
6 | SECTION ?= "x11/gnome" | ||
7 | SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2" | ||
8 | |||
9 | DEPENDS += "gnome-common" | ||
10 | |||
11 | FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info \ | ||
12 | ${datadir}/gnome-2.0" | ||
13 | |||
14 | inherit autotools pkgconfig gconf | ||
15 | |||
16 | EXTRA_AUTORECONF += "-I ${STAGING_DIR}/${HOST_SYS}/share/aclocal/gnome2-macros" | ||
17 | |||
18 | gnome_stage_includes() { | ||
19 | autotools_stage_includes | ||
20 | } | ||