PKGBUILD 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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.34.0+157+g2dbdf792d
  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 gnome-autoar)
  15. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  16. sassc asciidoc)
  17. optdepends=('gnome-control-center: System settings'
  18. 'evolution-data-server: Evolution calendar integration')
  19. groups=(gnome)
  20. install=gnome-shell.install
  21. _commit=2dbdf792db061a2935eb8649fddbb27af6a19da6 # master
  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. 739.patch)
  25. sha256sums=('SKIP'
  26. 'SKIP'
  27. '26c2e9672833e09ff63e314f477897bf67c89fd9769c6b4b73d7300b16afd932')
  28. pkgver() {
  29. cd $pkgname
  30. git describe --tags | sed 's/-/+/g'
  31. }
  32. prepare() {
  33. cd $pkgname
  34. # https://gitlab.gnome.org/GNOME/gnome-shell/issues/1641
  35. git apply -3 ../739.patch
  36. git submodule init
  37. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  38. git submodule update
  39. }
  40. build() {
  41. arch-meson $pkgname build -D gtk_doc=true
  42. ninja -C build
  43. }
  44. package() {
  45. DESTDIR="$pkgdir" meson install -C build
  46. # https://bugs.archlinux.org/task/37412
  47. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  48. }