2024-09-09 08:52:07 +00:00
|
|
|
def gnome_verdir(v):
|
2024-09-09 08:57:42 +00:00
|
|
|
return oe.utils.trim_version(v, 2)
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
GNOME_COMPRESS_TYPE ?= "bz2"
|
2024-09-09 08:52:07 +00:00
|
|
|
SECTION ?= "x11/gnome"
|
2024-09-09 08:57:42 +00:00
|
|
|
GNOMEBN ?= "${BPN}"
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
DEPENDS += "gnome-common-native"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
FILES_${PN} += "${datadir}/application-registry \
|
2024-09-09 08:57:42 +00:00
|
|
|
${datadir}/mime-info \
|
|
|
|
${datadir}/mime/packages \
|
|
|
|
${datadir}/mime/application \
|
|
|
|
${datadir}/gnome-2.0 \
|
|
|
|
${datadir}/polkit* \
|
|
|
|
${datadir}/GConf \
|
|
|
|
${datadir}/glib-2.0/schemas \
|
2024-09-09 08:52:07 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|