mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
73 lines
2.3 KiB
Bash
73 lines
2.3 KiB
Bash
# $Id$
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
|
# Contributor: Flamelab <panosfilip@gmail.com
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - configure with --enable-compile-warnings=no
|
|
|
|
pkgname=gnome-shell
|
|
pkgver=3.24.3
|
|
pkgrel=1
|
|
pkgdesc="The next generation GNOME Shell"
|
|
url="https://wiki.gnome.org/Projects/GnomeShell"
|
|
arch=(i686 x86_64)
|
|
license=(GPL2)
|
|
depends=(accountsservice caribou gcr gjs gnome-bluetooth gnome-menus upower
|
|
gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
|
|
libcanberra-pulse libcroco libgdm libsecret mutter nm-connection-editor
|
|
telepathy-logger telepathy-mission-control unzip gstreamer)
|
|
makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python
|
|
gobject-introspection git gnome-common)
|
|
optdepends=('gnome-control-center: System settings'
|
|
'evolution-data-server: Evolution calendar integration')
|
|
groups=(gnome)
|
|
_commit=ecea0218f2d32841c32cd94dc586b78a99bfd60d # tags/3.24.3^0
|
|
source=("git+https://git.gnome.org/browse/gnome-shell#commit=$_commit"
|
|
"git+https://git.gnome.org/browse/libgnome-volume-control"
|
|
"git+https://git.gnome.org/browse/gnome-shell-sass"
|
|
nm-libexecdir.patch)
|
|
sha256sums=('SKIP'
|
|
'SKIP'
|
|
'SKIP'
|
|
'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
|
|
git submodule init
|
|
git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
|
|
git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
|
|
git submodule update
|
|
|
|
# FS#30747 FS#32730 Problems due to libexecdir different from NM
|
|
patch -Np1 -i ../nm-libexecdir.patch
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--libexecdir=/usr/lib/gnome-shell \
|
|
--localstatedir=/var --disable-static \
|
|
--disable-schemas-compile --enable-gtk-doc --enable-compile-warnings=no \
|
|
BROWSER_PLUGIN_DIR=/usr/lib/epiphany/plugins
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# Must exist; FS#37412
|
|
mkdir "$pkgdir/usr/share/gnome-shell/modes"
|
|
}
|