blob: 805daafa40cdaa87962743b41387ccb9c7dd06f0 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7def gnome_verdir(v):
8 return ".".join(v.split(".")[:-1])
9
10
11GNOME_COMPRESS_TYPE ?= "xz"
12SECTION ?= "x11/gnome"
13GNOMEBN ?= "${BPN}"
14SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
15
16FILES:${PN} += "${datadir}/application-registry \
17 ${datadir}/mime-info \
18 ${datadir}/mime/packages \
19 ${datadir}/mime/application \
20 ${datadir}/gnome-2.0 \
21 ${datadir}/polkit* \
22 ${datadir}/GConf \
23 ${datadir}/glib-2.0/schemas \
24 ${datadir}/appdata \
25 ${datadir}/icons \
26"
27
28FILES:${PN}-doc += "${datadir}/devhelp"
29
30GNOMEBASEBUILDCLASS ??= "autotools"
31inherit ${GNOMEBASEBUILDCLASS} pkgconfig
32
33do_install:append() {
34 rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
35 rm -rf ${D}${localstatedir}/scrollkeeper/*
36 rm -f ${D}${datadir}/applications/*.cache
37}