mirror of
https://git.yoctoproject.org/poky
synced 2026-05-10 05:49:28 +00:00
99822cd4a0
Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition. [YOCTO #2241] (From OE-Core rev: 0eddc176e73e74d4b1a7d3163d65f619fcd4baf0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
775 B
Plaintext
32 lines
775 B
Plaintext
def gnome_verdir(v):
|
|
import re
|
|
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.${GNOME_COMPRESS_TYPE};name=archive"
|
|
|
|
DEPENDS += "gnome-common"
|
|
|
|
FILES_${PN} += "${datadir}/application-registry \
|
|
${datadir}/mime-info \
|
|
${datadir}/mime/packages \
|
|
${datadir}/mime/application \
|
|
${datadir}/gnome-2.0 \
|
|
${datadir}/polkit* \
|
|
${datadir}/GConf \
|
|
${datadir}/glib-2.0/schemas \
|
|
"
|
|
|
|
FILES_${PN}-doc += "${datadir}/devhelp"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
do_install_append() {
|
|
rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
|
|
rm -rf ${D}${localstatedir}/scrollkeeper/*
|
|
rm -f ${D}${datadir}/applications/*.cache
|
|
}
|
|
|