PKGBUILD 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Maintainer: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.18.1
  5. pkgrel=2
  6. pkgdesc="The next generation GNOME Shell"
  7. arch=(i686 x86_64)
  8. url="http://live.gnome.org/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=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
  20. nm-libexecdir.patch fs1.patch fs2.patch)
  21. sha256sums=('14a15215b3e29a25b94f69c58a6565e3a8cb2259b1ca242b906af78172bf3845'
  22. 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607'
  23. '0d2f143362ff47bfd3dcbb94d903b51b9a998f2ff97c6320f0e3fe3599089e34'
  24. '19f39002be34f035c7f5f8f20bad50ab38fb8ff0f023e91e832feecc54fcdc60')
  25. prepare() {
  26. cd $pkgname-$pkgver
  27. # Fullscreen animation issues
  28. patch -Np1 -i ../fs1.patch
  29. patch -Np1 -i ../fs2.patch
  30. # FS#30747 FS#32730 Problems due to libexecdir different from NM
  31. patch -Np1 -i ../nm-libexecdir.patch
  32. }
  33. build() {
  34. cd $pkgname-$pkgver
  35. ./configure --prefix=/usr --sysconfdir=/etc \
  36. --libexecdir=/usr/lib/gnome-shell \
  37. --localstatedir=/var --disable-static \
  38. --disable-schemas-compile
  39. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  40. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  41. make
  42. }
  43. package() {
  44. cd $pkgname-$pkgver
  45. make DESTDIR="$pkgdir" install
  46. # Must exist; FS#37412
  47. mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
  48. }