blob: 9a5bd9a232d1e4d12371cd47c1a1c20bfdddad9f [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 Williams213cb262021-08-07 19:21:33 -050010FILES:${PN} += "${datadir}/application-registry \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011 ${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
Patrick Williams213cb262021-08-07 19:21:33 -050022FILES:${PN}-doc += "${datadir}/devhelp"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
Brad Bishop316dfdd2018-06-25 12:45:53 -040024GNOMEBASEBUILDCLASS ??= "autotools"
25inherit ${GNOMEBASEBUILDCLASS} pkgconfig
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
Patrick Williams213cb262021-08-07 19:21:33 -050027do_install:append() {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028 rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
29 rm -rf ${D}${localstatedir}/scrollkeeper/*
30 rm -f ${D}${datadir}/applications/*.cache
31}