PKGBUILD 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.20.0
  5. pkgrel=2
  6. pkgdesc="The next generation GNOME Shell"
  7. arch=(i686 x86_64)
  8. url="https://wiki.gnome.org/Projects/GnomeShell"
  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 gobject-introspection)
  15. optdepends=('gnome-control-center: System settings'
  16. 'evolution-data-server: Evolution calendar integration')
  17. install=gnome-shell.install
  18. groups=(gnome)
  19. source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
  20. nm-libexecdir.patch
  21. offscreen-memleak.patch)
  22. sha256sums=('ee69f461dd3d03caf788dfc64241275868ec0bcd1ef814f3cd2803c25796b888'
  23. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607'
  24. '38bf66da2d92dbb3eab90d36feba0b1af65fe476d2982989dccd799aec0125a6')
  25. prepare() {
  26. cd $pkgname-$pkgver
  27. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  28. patch -Np1 -i ../nm-libexecdir.patch
  29. # Fix memleak
  30. patch -Np1 -i ../offscreen-memleak.patch
  31. }
  32. build() {
  33. cd $pkgname-$pkgver
  34. ./configure --prefix=/usr --sysconfdir=/etc \
  35. --libexecdir=/usr/lib/gnome-shell \
  36. --localstatedir=/var --disable-static \
  37. --disable-schemas-compile
  38. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  39. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  40. make
  41. }
  42. package() {
  43. cd $pkgname-$pkgver
  44. make DESTDIR="$pkgdir" install
  45. # Must exist; FS#37412
  46. mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
  47. }