123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
- # Contributor: Ionut Biru <ibiru@archlinux.org>
- # Contributor: Flamelab <panosfilip@gmail.com
- pkgname=gnome-shell
- pkgver=44.2
- pkgrel=1
- epoch=1
- pkgdesc="Next generation desktop shell"
- url="https://wiki.gnome.org/Projects/GnomeShell"
- arch=(x86_64)
- license=(GPL)
- depends=(
- accountsservice
- gcr-4
- gjs
- gnome-autoar
- gnome-session
- gnome-settings-daemon
- gsettings-desktop-schemas
- gtk4
- libadwaita
- libcanberra-pulse
- libgdm
- libgweather-4
- libibus
- libnma-gtk4
- libsecret
- libsoup3
- mutter
- unzip
- upower
- )
- makedepends=(
- asciidoc
- bash-completion
- evolution-data-server
- git
- gnome-control-center
- gobject-introspection
- gtk-doc
- meson
- sassc
- )
- checkdepends=(
- appstream-glib
- python-dbusmock
- xorg-server-xvfb
- )
- optdepends=(
- 'evolution-data-server: Evolution calendar integration'
- 'gnome-bluetooth-3.0: Bluetooth support'
- 'gnome-control-center: System settings'
- 'gnome-disk-utility: Mount with keyfiles'
- 'gst-plugin-pipewire: Screen recording'
- 'gst-plugins-good: Screen recording'
- 'power-profiles-daemon: Power profile switching'
- 'switcheroo-control: Multi-GPU support'
- )
- groups=(gnome)
- _commit=071a47ba27d7117f56fd965ad2a9675d1ab823f6 # tags/44.2^0
- source=(
- "git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
- "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
- )
- b2sums=('SKIP'
- 'SKIP')
- pkgver() {
- cd $pkgname
- git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
- }
- prepare() {
- cd $pkgname
- git submodule init
- git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
- git -c protocol.file.allow=always submodule update
- }
- build() {
- local meson_options=(
- -D gtk_doc=true
- )
- CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
- LDFLAGS+=" -Wl,-Bsymbolic-functions"
- arch-meson $pkgname build "${meson_options[@]}"
- meson compile -C build
- }
- _check() (
- export XDG_RUNTIME_DIR="$PWD/rdir"
- mkdir -p -m 700 "$XDG_RUNTIME_DIR"
- meson test -C build --print-errorlogs -t 3
- )
- check() {
- dbus-run-session xvfb-run -s '-nolisten local +iglx -noreset' \
- bash -c "$(declare -f _check); _check"
- }
- package() {
- depends+=(libmutter-12.so)
- meson install -C build --destdir "$pkgdir"
- }
- # vim:set sw=2 sts=-1 et:
|