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

90 lines
2 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-shell
pkgver=40.3
pkgrel=0
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch="all !s390x !ppc64le !mips !mips64 !riscv64"
license="GPL-2.0-or-later"
depends="accountsservice
caribou
elogind
gsettings-desktop-schemas
upower
ibus
librsvg
gnome-bluetooth
gnome-control-center
font-adobe-source-code-pro
ttf-cantarell
adwaita-icon-theme
gnome-themes-standard
unzip
"
makedepends="gnome-desktop-dev>=3.35.91
libxml2-dev
libcanberra-dev
gobject-introspection-dev
startup-notification-dev
libsoup-dev
polkit-dev
gcr-dev
gjs-dev>=1.64.0
mutter-dev>=3.36.0
pulseaudio-dev
evolution-data-server-dev evolution-dev
python3
meson
libxml2-utils
ibus-dev
sassc
networkmanager-dev
libnma-dev
gnome-control-center-dev
py3-setuptools
gnome-bluetooth-dev
gstreamer-dev
gnome-autoar-dev
asciidoc
libcap
elogind-dev
pipewire-dev
gtk4.0-dev
"
checkdepends="
xvfb-run
mesa-dri-swrast
"
# gdm is also needed but introduces circular dep
subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg"
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 \
-Dsystemd=false \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
xvfb-run meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
#allow realtime scheduling
setcap cap_sys_nice+ep "$pkgdir"/usr/bin/gnome-shell
}
sha512sums="
05d47e1b0f8ec27f0ae7564476012f21dcb2ec8e6da61a589b7fe17df1a23035cb6e261805250a410737502b9bdbb25f56432a618de88881d7e15b6432e52770 gnome-shell-40.3.tar.xz
2ca70115fab957fdf276b7f0772786e1afd56b0b22bcfd92f5b5f1d29676dc97c19cfb079434d0dbf7b459f1d133dbd8d1faa0d88f7b94846040a23856f951f8 disable-telepathy-integration.patch
"