blob: efcb6caae159fd711f4912f3dec16d95520b468c [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001def gnome_verdir(v):
2 return oe.utils.trim_version(v, 2)
3
4GNOME_COMPRESS_TYPE ?= "xz"
5SECTION ?= "x11/gnome"
6GNOMEBN ?= "${BPN}"
7SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
8
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009FILES_${PN} += "${datadir}/application-registry \
10 ${datadir}/mime-info \
11 ${datadir}/mime/packages \
12 ${datadir}/mime/application \
13 ${datadir}/gnome-2.0 \
14 ${datadir}/polkit* \
15 ${datadir}/GConf \
16 ${datadir}/glib-2.0/schemas \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017 ${datadir}/appdata \
18 ${datadir}/icons \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019"
20
21FILES_${PN}-doc += "${datadir}/devhelp"
22
Brad Bishop316dfdd2018-06-25 12:45:53 -040023GNOMEBASEBUILDCLASS ??= "autotools"
24inherit ${GNOMEBASEBUILDCLASS} pkgconfig
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025
26do_install_append() {
27 rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
28 rm -rf ${D}${localstatedir}/scrollkeeper/*
29 rm -f ${D}${datadir}/applications/*.cache
30}