PKGBUILD 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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+152+g0fdbde910
  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=0fdbde9101ee5bfe87344cbb2ee43dad32a7f7a6 # 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 742.patch)
  25. sha256sums=('SKIP'
  26. 'SKIP'
  27. '26c2e9672833e09ff63e314f477897bf67c89fd9769c6b4b73d7300b16afd932'
  28. 'fdf3252bd8a6b1ea882c3de177bc58cbfcaa29b03c0cf00aca67e1f3d97883a4')
  29. pkgver() {
  30. cd $pkgname
  31. git describe --tags | sed 's/-/+/g'
  32. }
  33. prepare() {
  34. cd $pkgname
  35. # https://gitlab.gnome.org/GNOME/gnome-shell/issues/1641
  36. git apply -3 ../739.patch
  37. # https://gitlab.gnome.org/GNOME/gnome-shell/issues/1678
  38. git apply -3 ../742.patch
  39. git submodule init
  40. git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  41. git submodule update
  42. }
  43. build() {
  44. arch-meson $pkgname build -D gtk_doc=true
  45. ninja -C build
  46. }
  47. package() {
  48. DESTDIR="$pkgdir" meson install -C build
  49. # https://bugs.archlinux.org/task/37412
  50. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  51. }