PKGBUILD 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Contributor: Ionut Biru <ibiru@archlinux.org>
  2. # Contributor: Flamelab <panosfilip@gmail.com
  3. pkgname=gnome-shell
  4. pkgver=3.24.0+50+gcad5e0604
  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=cad5e06041c307eb669f73a9d2377540f3105f71 # gnome-3-24
  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. BROWSER_PLUGIN_DIR=/usr/lib/epiphany/plugins
  49. # https://bugzilla.gnome.org/show_bug.cgi?id=655517
  50. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  51. make
  52. }
  53. package() {
  54. cd $pkgname
  55. make DESTDIR="$pkgdir" install
  56. # Must exist; FS#37412
  57. mkdir "$pkgdir/usr/share/gnome-shell/modes"
  58. }