PKGBUILD 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
  2. # Contributor: Ionut Biru <ibiru@archlinux.org>
  3. # Contributor: Flamelab <panosfilip@gmail.com
  4. pkgname=gnome-shell
  5. pkgver=3.32.0+16+g1341d5557
  6. pkgrel=1
  7. epoch=1
  8. pkgdesc="Next generation desktop shell"
  9. url="https://wiki.gnome.org/Projects/GnomeShell"
  10. arch=(x86_64)
  11. license=(GPL2)
  12. depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
  13. gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
  14. mutter nm-connection-editor unzip gstreamer libibus)
  15. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  16. sassc)
  17. optdepends=('gnome-control-center: System settings'
  18. 'evolution-data-server: Evolution calendar integration')
  19. groups=(gnome)
  20. _commit=1341d5557fbf05691172459e14cde70a8d5e96c3 # master
  21. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  22. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
  23. hack-detached.diff)
  24. sha256sums=('SKIP'
  25. 'SKIP'
  26. '939e81f682ebafd60e86d444e49dbab277fba0f00420466b5ff783568b7dc931')
  27. pkgver() {
  28. cd $pkgname
  29. git describe --tags | sed 's/-/+/g'
  30. }
  31. prepare() {
  32. cd $pkgname
  33. # Unbreak switcher
  34. git cherry-pick -n 00a4891fb93a3846c48bc6fc1167205e2afab67b
  35. # Hack around broken detached locations
  36. patch -Np1 -i ../hack-detached.diff
  37. git submodule init
  38. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  39. git submodule update
  40. }
  41. build() {
  42. arch-meson $pkgname build -D gtk_doc=true
  43. ninja -C build
  44. }
  45. package() {
  46. DESTDIR="$pkgdir" meson install -C build
  47. # https://bugs.archlinux.org/task/37412
  48. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  49. }