2020-07-08 10:42:25 -04:00
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 systemd pam"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
ERROR_QA_remove = "unknown-configure-option"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
|
|
inherit gnomebase gsettings gettext gobject-introspection gobject-introspection-data features_check bash-completion
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
def gnome_verdir(v):
|
|
|
|
return oe.utils.trim_version(v, 1)
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
|
|
|
|
file://0001-Disabled-calendar-events-from-user-session.patch \
|
|
|
|
file://0001-do-not-use-python-path-from-build-environment.patch \
|
|
|
|
file://0001-Remove-calendar-server-fix-build.patch \
|
2021-02-12 10:10:39 -05:00
|
|
|
file://0001-Remove-log-out-label-from-power-off-in-status-UI.patch \
|
2020-07-08 10:42:25 -04:00
|
|
|
"
|
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
SRC_URI[archive.sha256sum] = "bce71f402dfaa9c5e269bf65bf48a22343d896e6cf9a2c34669392d7fbf68478"
|
|
|
|
|
|
|
|
|
2020-07-08 10:42:25 -04:00
|
|
|
DEPENDS = " \
|
|
|
|
libxml2-native \
|
|
|
|
sassc-native \
|
2021-05-05 08:45:55 -04:00
|
|
|
gtk4 \
|
2020-07-08 10:42:25 -04:00
|
|
|
mutter \
|
|
|
|
gcr \
|
|
|
|
gjs \
|
2020-10-30 14:55:28 -04:00
|
|
|
mozjs78 \
|
2020-07-08 10:42:25 -04:00
|
|
|
network-manager-applet \
|
|
|
|
gnome-autoar \
|
|
|
|
polkit \
|
|
|
|
libcroco \
|
|
|
|
startup-notification \
|
|
|
|
ibus \
|
|
|
|
gsettings-desktop-schemas \
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPENDS_${PN} = "gsettings-desktop-schemas librsvg-gtk"
|
|
|
|
|
|
|
|
FILES_${PN} += "\
|
|
|
|
${datadir}/dbus-1 \
|
|
|
|
${datadir}/xdg-desktop-portal \
|
|
|
|
${datadir}/gnome-control-center \
|
|
|
|
${datadir}/bash-completion/completions/gnome-extensions \
|
|
|
|
${systemd_user_unitdir} \
|
|
|
|
"
|
|
|
|
|
|
|
|
PACKAGES =+ "${PN}-tools"
|
|
|
|
FILES_${PN}-tools += "\
|
|
|
|
/usr/bin/gnome-shell-perf-tool \
|
|
|
|
/usr/bin/gnome-shell-extension-tool \
|
|
|
|
"
|
|
|
|
|
|
|
|
do_configure_append () {
|
|
|
|
MUTTER_DIR="/usr/lib/mutter"
|
|
|
|
sed --in-place=.old1 "s;=${MUTTER_DIR};=${PKG_CONFIG_SYSROOT_DIR}${MUTTER_DIR};" ${B}/build.ninja
|
|
|
|
}
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "-Dman=false -Dsystemd=true -Dnetworkmanager=true -Dextensions_app=false"
|