12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
- # Contributor: Ionut Biru <ibiru@archlinux.org>
- # Contributor: Flamelab <panosfilip@gmail.com
- pkgname=gnome-shell
- pkgver=42.1
- 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-3.0 upower gnome-session gtk4
- gnome-settings-daemon gsettings-desktop-schemas libcanberra-pulse
- libgdm libsecret mutter libnma unzip libibus gnome-autoar
- gnome-disk-utility libsoup3 libgweather-4 gst-plugins-base-libs)
- 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'
- 'gst-plugins-good: Screen recording'
- 'gst-plugin-pipewire: Screen recording')
- groups=(gnome)
- options=(debug)
- _commit=bc533af73fdb6bce0c6c6a4a685af17272d23d50 # tags/42.1^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
- 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-10.so)
- meson install -C build --destdir "$pkgdir"
- }
- # vim:set sw=2 et:
|