PKGBUILD 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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+20+g05e55cee2
  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=05e55cee23d65206f3c3f2d12f4a4d659061651f # 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. # Hack around broken detached locations
  34. patch -Np1 -i ../hack-detached.diff
  35. git submodule init
  36. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  37. git submodule update
  38. }
  39. build() {
  40. arch-meson $pkgname build -D gtk_doc=true
  41. ninja -C build
  42. }
  43. package() {
  44. DESTDIR="$pkgdir" meson install -C build
  45. # https://bugs.archlinux.org/task/37412
  46. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  47. }