PKGBUILD 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Contributor: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.26.2
  5. pkgrel=1
  6. pkgdesc="The next generation GNOME Shell"
  7. url="https://wiki.gnome.org/Projects/GnomeShell"
  8. arch=(x86_64)
  9. license=(GPL2)
  10. depends=(accountsservice caribou gcr gjs gnome-bluetooth gnome-menus upower
  11. gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
  12. libcanberra-pulse libcroco libgdm libsecret mutter nm-connection-editor
  13. unzip gstreamer)
  14. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. groups=(gnome)
  18. _commit=6dd973be1228d7a68dde1a504f2974e62efcc76b # tags/3.26.2^0
  19. source=("git+https://git.gnome.org/browse/gnome-shell#commit=$_commit"
  20. "git+https://git.gnome.org/browse/libgnome-volume-control"
  21. "git+https://git.gnome.org/browse/gnome-shell-sass"
  22. nm-libexecdir.patch)
  23. sha256sums=('SKIP'
  24. 'SKIP'
  25. 'SKIP'
  26. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  27. pkgver() {
  28. cd $pkgname
  29. git describe --tags | sed 's/-/+/g'
  30. }
  31. prepare() {
  32. mkdir build
  33. cd $pkgname
  34. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  35. patch -Np1 -i ../nm-libexecdir.patch
  36. # Move the plugin to our custom epihpany-only dir
  37. sed -i "s/'mozilla'/'epiphany'/g" meson.build
  38. git submodule init
  39. git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
  40. git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
  41. git submodule update
  42. }
  43. build() {
  44. cd build
  45. arch-meson ../$pkgname -Denable-documentation=true
  46. ninja
  47. }
  48. package() {
  49. cd build
  50. DESTDIR="$pkgdir" ninja install
  51. # Must exist; FS#37412
  52. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  53. }