PKGBUILD 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Contributor: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.22.2+18+gdf7727a
  5. pkgrel=1
  6. pkgdesc="The next generation GNOME Shell"
  7. url="https://wiki.gnome.org/Projects/GnomeShell"
  8. arch=(i686 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. telepathy-logger telepathy-mission-control unzip gstreamer)
  14. makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python
  15. gobject-introspection git gnome-common)
  16. optdepends=('gnome-control-center: System settings'
  17. 'evolution-data-server: Evolution calendar integration')
  18. groups=(gnome)
  19. _commit=df7727a82b195420d5871f1d05dc814f6085b6da # gnome-3-22
  20. source=("git+https://git.gnome.org/browse/gnome-shell#commit=$_commit"
  21. "git+https://git.gnome.org/browse/libgnome-volume-control"
  22. "git+https://git.gnome.org/browse/gnome-shell-sass"
  23. nm-libexecdir.patch)
  24. sha256sums=('SKIP'
  25. 'SKIP'
  26. 'SKIP'
  27. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
  28. pkgver() {
  29. cd $pkgname
  30. git describe --tags | sed 's/-/+/g'
  31. }
  32. prepare() {
  33. cd $pkgname
  34. git submodule init
  35. git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
  36. git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
  37. git submodule update
  38. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  39. patch -Np1 -i ../nm-libexecdir.patch
  40. NOCONFIGURE=1 ./autogen.sh
  41. }
  42. build() {
  43. cd $pkgname
  44. ./configure --prefix=/usr --sysconfdir=/etc \
  45. --libexecdir=/usr/lib/gnome-shell \
  46. --localstatedir=/var --disable-static \
  47. --disable-schemas-compile --enable-gtk-doc
  48. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  49. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  50. make
  51. }
  52. package() {
  53. cd $pkgname
  54. make DESTDIR="$pkgdir" install
  55. # Must exist; FS#37412
  56. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  57. }