sg3-utils: add newer buildable version
[openembedded.git] / classes / gnome.bbclass
index 36a9f34..8e42938 100644 (file)
@@ -3,8 +3,9 @@ def gnome_verdir(v):
        m = re.match("^([0-9]+)\.([0-9]+)", v)
        return "%s.%s" % (m.group(1), m.group(2))
 
+GNOME_COMPRESS_TYPE ?= "bz2"
 SECTION ?= "x11/gnome"
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.bz2;name=archive"
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
 
 DEPENDS += "gnome-common"
 
@@ -16,6 +17,8 @@ FILES_${PN} += "${datadir}/application-registry  \
        ${datadir}/polkit* \
 "
 
+FILES_${PN}-doc += "${datadir}/devhelp"
+
 inherit autotools gtk-icon-cache pkgconfig gconf mime
 
 AUTOTOOLS_STAGE_PKGCONFIG = "1"