Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | def gnome_verdir(v): |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 2 | return ".".join(v.split(".")[:-1]) |
| 3 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 4 | |
| 5 | GNOME_COMPRESS_TYPE ?= "xz" |
| 6 | SECTION ?= "x11/gnome" |
| 7 | GNOMEBN ?= "${BPN}" |
| 8 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive" |
| 9 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 10 | FILES:${PN} += "${datadir}/application-registry \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | ${datadir}/appdata \ |
| 19 | ${datadir}/icons \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | " |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 22 | FILES:${PN}-doc += "${datadir}/devhelp" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | GNOMEBASEBUILDCLASS ??= "autotools" |
| 25 | inherit ${GNOMEBASEBUILDCLASS} pkgconfig |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 27 | do_install:append() { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | rm -rf ${D}${localstatedir}/lib/scrollkeeper/* |
| 29 | rm -rf ${D}${localstatedir}/scrollkeeper/* |
| 30 | rm -f ${D}${datadir}/applications/*.cache |
| 31 | } |