1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
- # Contributor: Ionut Biru <ibiru@archlinux.org>
- # Contributor: Flamelab <panosfilip@gmail.com
- pkgname=gnome-shell
- pkgver=41.5
- pkgrel=1
- epoch=1
- pkgdesc="Next generation desktop shell"
- url="https://wiki.gnome.org/Projects/GnomeShell"
- arch=(x86_64)
- license=(GPL)
- depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gtk4
- gnome-settings-daemon gsettings-desktop-schemas libcanberra-pulse
- libgdm libsecret mutter nm-connection-editor unzip gstreamer libibus
- gnome-autoar gnome-disk-utility gst-plugin-pipewire libsoup3)
- makedepends=(gtk-doc gnome-control-center evolution-data-server
- gobject-introspection git meson sassc asciidoc bash-completion)
- checkdepends=(xorg-server-xvfb)
- optdepends=('gnome-control-center: System settings'
- 'evolution-data-server: Evolution calendar integration')
- groups=(gnome)
- options=(debug)
- _commit=87f944a1d43b8ee2586fdaf16520036dc101cdf6 # tags/41.5^0
- source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
- "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
- sha256sums=('SKIP'
- 'SKIP')
- pkgver() {
- cd gnome-shell
- git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
- }
- prepare() {
- cd gnome-shell
- # Fix build with meson 0.61.0
- git cherry-pick -n 65450a836ee9e0722a2d4c3327f52345eae293c6
- git submodule init
- git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
- git submodule update
- }
- build() {
- CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
- LDFLAGS+=" -Wl,-Bsymbolic-functions"
- arch-meson gnome-shell build -D gtk_doc=true
- meson compile -C build
- }
- _check() (
- mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}"
- export XDG_RUNTIME_DIR
- meson test -C build --print-errorlogs
- )
- check() {
- dbus-run-session xvfb-run -s '-nolisten local +iglx -noreset' \
- bash -c "$(declare -f _check); _check"
- }
- package() {
- depends+=(libmutter-9.so)
- meson install -C build --destdir "$pkgdir"
- }
- # vim:set sw=2 et:
|