blob: a12e9f31a95aee04063c73316184ef5199698446 [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 Williams92b42cb2022-09-03 06:53:57 -050031inherit ${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}