PKGBUILD 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.2+11+g1c6abf378
  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. install=gnome-shell.install
  21. _commit=1c6abf37855cd4f834569b6db32d32c1d8876f2a # gnome-3-32
  22. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  23. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
  24. 0001-tweener-Remove-handlers-on-target.patch
  25. 0001-js-ui-Use-captured-event-nonmotion.patch)
  26. sha256sums=('SKIP'
  27. 'SKIP'
  28. '241bea1273982bc97a58d0e25d610c6cbbc3e3be72a203015826dc599b3303c0'
  29. '27b0e188bc25e59a4907e326bf890ac3e5164c660cf67366394d91000d5cee0c')
  30. pkgver() {
  31. cd $pkgname
  32. git describe --tags | sed 's/-/+/g'
  33. }
  34. prepare() {
  35. cd $pkgname
  36. # fix gjs errors
  37. git apply -3 ../0001-tweener-Remove-handlers-on-target.patch # !4
  38. git cherry-pick -n aec015d5ca14c7e28355f3ef9520b0f01280a51f # !190
  39. git cherry-pick -n 2ef883dcada125bd8d5e54d7020c26cc3ec7e4f7 # !190
  40. # reduce overhead moving cursor or windows
  41. git apply -3 ../0001-js-ui-Use-captured-event-nonmotion.patch # !276
  42. git submodule init
  43. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  44. git submodule update
  45. }
  46. build() {
  47. arch-meson $pkgname build -D gtk_doc=true
  48. ninja -C build
  49. }
  50. package() {
  51. DESTDIR="$pkgdir" meson install -C build
  52. # https://bugs.archlinux.org/task/37412
  53. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  54. }