blob: 74073321b80739710e71528d2acc98737d986410 [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):
Patrick Williams7784c422022-11-17 07:29:11 -06008 return ".".join(v.split(".")[:-1]) or v
Patrick Williams92b42cb2022-09-03 06:53:57 -05009
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
Patrick Williamsac13d5f2023-11-24 18:59:46 -060030GNOMEBASEBUILDCLASS ??= "meson"
Patrick Williams56b44a92024-01-19 08:49:29 -060031inherit pkgconfig
32inherit_defer ${GNOMEBASEBUILDCLASS}
Patrick Williams92b42cb2022-09-03 06:53:57 -050033
34do_install:append() {
35 rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
36 rm -rf ${D}${localstatedir}/scrollkeeper/*
37 rm -f ${D}${datadir}/applications/*.cache
38}