1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/gnome-shell/APKBUILD

104 lines
2.2 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-shell
pkgver=43.3
pkgrel=1
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
# gjs -> mozjs
arch="all !armhf !s390x"
license="GPL-2.0-or-later"
depends="
accountsservice
adwaita-icon-theme
caribou
elogind
font-adobe-source-code-pro
font-cantarell
gnome-bluetooth
gnome-control-center
gnome-shell-schemas
gsettings-desktop-schemas
gst-plugin-pipewire
gst-plugins-good
gstreamer
ibus
librsvg
unzip
upower
"
makedepends="
asciidoc
elogind-dev
evolution-data-server-dev evolution-dev
gcr4-dev
gjs-dev>=1.64.0
gnome-autoar-dev
gnome-bluetooth-dev
gnome-control-center-dev
gnome-desktop-dev>=3.35.91
gobject-introspection-dev
gstreamer-dev
gtk4.0-dev
ibus-dev
libcanberra-dev
libnma-dev
libsoup-dev
libxml2-dev
libxml2-utils
meson
mutter-dev>=3.36.0
networkmanager-dev
pipewire-dev
polkit-dev
pulseaudio-dev
py3-setuptools
python3
sassc
startup-notification-dev
"
checkdepends="
mesa-dri-gallium
xvfb-run
"
# gdm is also needed but introduces circular dep
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang $pkgname-schemas::noarch"
source="https://download.gnome.org/sources/gnome-shell/${pkgver%.*}/gnome-shell-$pkgver.tar.xz
disable-telepathy-integration.patch
"
options="!check" # Tests have circular dependency 'gnome-shell <-> gdm'
# secfixes:
# 0:
# - CVE-2019-3820
build() {
abuild-meson \
-Db_lto=true \
-Dsystemd=false \
-Dtests=false \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
xvfb-run meson test --no-rebuild --print-errorlogs -C output
}
schemas() {
pkgdesc="GNOME Shell gsetting schemas"
depends=""
replaces="gnome-shell"
amove usr/share/glib-2.0/schemas
amove usr/share/gnome-control-center/keybindings
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
6d2a36b21b1e3d1bd8667c72ff2c2cf4e57a3b0abbcb9b4e115803ec727b892f5884ba7aa48412396c855294c58e862dd2d972e1d6bed0de657e208f4c4aaab9 gnome-shell-43.3.tar.xz
2ca70115fab957fdf276b7f0772786e1afd56b0b22bcfd92f5b5f1d29676dc97c19cfb079434d0dbf7b459f1d133dbd8d1faa0d88f7b94846040a23856f951f8 disable-telepathy-integration.patch
"