mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

gnomebase.bbclass hardcodes the autotools inherit, so make it configurable and allow meson to be specified instead. (From OE-Core rev: 32c2faf394ba7bf75a7273fb9f5e58cc4ee3f3ad) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> [RP: patches tweaked to only need the one class] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
944 B
Plaintext
31 lines
944 B
Plaintext
def gnome_verdir(v):
|
|
return oe.utils.trim_version(v, 2)
|
|
|
|
GNOME_COMPRESS_TYPE ?= "xz"
|
|
SECTION ?= "x11/gnome"
|
|
GNOMEBN ?= "${BPN}"
|
|
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
|
|
|
|
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 \
|
|
${datadir}/appdata \
|
|
${datadir}/icons \
|
|
"
|
|
|
|
FILES_${PN}-doc += "${datadir}/devhelp"
|
|
|
|
GNOMEBASEBUILDCLASS ??= "autotools"
|
|
inherit ${GNOMEBASEBUILDCLASS} pkgconfig
|
|
|
|
do_install_append() {
|
|
rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
|
|
rm -rf ${D}${localstatedir}/scrollkeeper/*
|
|
rm -f ${D}${datadir}/applications/*.cache
|
|
}
|