| # Copyright OpenEmbedded Contributors |
| # SPDX-License-Identifier: MIT |
| return ".".join(v.split(".")[:-1]) or v |
| GNOME_COMPRESS_TYPE ?= "xz" |
| SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive" |
| FILES:${PN} += "${datadir}/application-registry \ |
| ${datadir}/mime/packages \ |
| ${datadir}/mime/application \ |
| ${datadir}/glib-2.0/schemas \ |
| FILES:${PN}-doc += "${datadir}/devhelp" |
| GNOMEBASEBUILDCLASS ??= "autotools" |
| inherit ${GNOMEBASEBUILDCLASS} pkgconfig |
| rm -rf ${D}${localstatedir}/lib/scrollkeeper/* |
| rm -rf ${D}${localstatedir}/scrollkeeper/* |
| rm -f ${D}${datadir}/applications/*.cache |