aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-04-16 08:19:28 +0000
committerPhil Blundell <philb@gnu.org>2005-04-16 08:19:28 +0000
commitef9024025d446763888bc4007f719a1e6b186f6c (patch)
tree18f93b5fbd190a9c78653a2e502918e5815cb550 /classes
parentbb65fe7102989d270d9ee70eda44df700afb6f66 (diff)
downloadopenembedded-ef9024025d446763888bc4007f719a1e6b186f6c.tar.gz
set SECTION to x11/gnome (apparently the new fashion) if not already set
BKrev: 4260ca90lu-LGHX-TnMvrI38ucJckg
Diffstat (limited to 'classes')
-rw-r--r--classes/gnome.bbclass20
1 files changed, 20 insertions, 0 deletions
diff --git a/classes/gnome.bbclass b/classes/gnome.bbclass
index e69de29bb2..8643989b73 100644
--- a/classes/gnome.bbclass
+++ b/classes/gnome.bbclass
@@ -0,0 +1,20 @@
+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}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2"
+
+DEPENDS += "gnome-common"
+
+FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info \
+ ${datadir}/gnome-2.0"
+
+inherit autotools pkgconfig gconf
+
+EXTRA_AUTORECONF += "-I ${STAGING_DIR}/${HOST_SYS}/share/aclocal/gnome2-macros"
+
+gnome_stage_includes() {
+ autotools_stage_includes
+}