Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | def gnome_verdir(v): |
| 2 | return oe.utils.trim_version(v, 2) |
| 3 | |
| 4 | GNOME_COMPRESS_TYPE ?= "xz" |
| 5 | SECTION ?= "x11/gnome" |
| 6 | GNOMEBN ?= "${BPN}" |
| 7 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive" |
| 8 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | FILES_${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 Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | ${datadir}/appdata \ |
| 18 | ${datadir}/icons \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | " |
| 20 | |
| 21 | FILES_${PN}-doc += "${datadir}/devhelp" |
| 22 | |
| 23 | inherit autotools pkgconfig |
| 24 | |
| 25 | do_install_append() { |
| 26 | rm -rf ${D}${localstatedir}/lib/scrollkeeper/* |
| 27 | rm -rf ${D}${localstatedir}/scrollkeeper/* |
| 28 | rm -f ${D}${datadir}/applications/*.cache |
| 29 | } |