blob: 884b1a106f8c162ac5d8cc03e36d88f1210ce3f6 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001def gnome_verdir(v):
William A. Kennington IIIac69b482021-06-02 12:28:27 -07002 return ".".join(v.split(".")[:-1])
3
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
5GNOME_COMPRESS_TYPE ?= "xz"
6SECTION ?= "x11/gnome"
7GNOMEBN ?= "${BPN}"
8SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
9
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010FILES_${PN} += "${datadir}/application-registry \
11 ${datadir}/mime-info \
12 ${datadir}/mime/packages \
13 ${datadir}/mime/application \
14 ${datadir}/gnome-2.0 \
15 ${datadir}/polkit* \
16 ${datadir}/GConf \
17 ${datadir}/glib-2.0/schemas \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018 ${datadir}/appdata \
19 ${datadir}/icons \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020"
21
22FILES_${PN}-doc += "${datadir}/devhelp"
23
Brad Bishop316dfdd2018-06-25 12:45:53 -040024GNOMEBASEBUILDCLASS ??= "autotools"
25inherit ${GNOMEBASEBUILDCLASS} pkgconfig
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
27do_install_append() {
28 rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
29 rm -rf ${D}${localstatedir}/scrollkeeper/*
30 rm -f ${D}${datadir}/applications/*.cache
31}