PKGBUILD 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Contributor: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.28.3
  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 gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
  11. gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
  12. mutter nm-connection-editor unzip gstreamer libibus)
  13. makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
  14. sassc)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. groups=(gnome)
  18. _commit=6ed21e1ce0c1011b58452df6cdde42f30dd386c4 # tags/3.28.3^0
  19. source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
  20. "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
  21. fix.diff)
  22. sha256sums=('SKIP'
  23. 'SKIP'
  24. '11dcffae170776140b1f0c9bed90b8df70e8d3c6694b60ab40bb46235e3ad755')
  25. pkgver() {
  26. cd $pkgname
  27. git describe --tags | sed 's/-/+/g'
  28. }
  29. prepare() {
  30. cd $pkgname
  31. # Try to fix docs build
  32. patch -Np1 -i ../fix.diff
  33. # Move the plugin to our custom epiphany-only dir
  34. sed -i "s/'mozilla'/'epiphany'/g" meson.build
  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" ninja -C build install
  45. # Must exist; FS#37412
  46. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  47. }