diff options
| author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
| commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
| tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/classes/gnome.bbclass | |
| download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz | |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/gnome.bbclass')
| -rw-r--r-- | openembedded/classes/gnome.bbclass | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openembedded/classes/gnome.bbclass b/openembedded/classes/gnome.bbclass new file mode 100644 index 0000000000..8643989b73 --- /dev/null +++ b/openembedded/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 | } | ||
