mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
54 lines
1.4 KiB
Bash
54 lines
1.4 KiB
Bash
# $Id$
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - set --enable-compile-warnings=no in configure
|
|
|
|
pkgname=mutter
|
|
pkgver=3.22.2+1+g5c46094
|
|
pkgrel=1
|
|
pkgdesc="A window manager for GNOME"
|
|
url="https://git.gnome.org/browse/mutter"
|
|
arch=(i686 x86_64)
|
|
license=(GPL)
|
|
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
|
|
libcanberra startup-notification zenity libsm gnome-desktop upower
|
|
libxkbcommon-x11 gnome-settings-daemon libgudev libinput)
|
|
makedepends=(intltool gobject-introspection git gnome-common)
|
|
groups=(gnome)
|
|
options=(!emptydirs)
|
|
_commit=5c46094d67f2e5cdafe6edcfd8c0d5894a2dafc6 # gnome-3-22
|
|
source=("git://git.gnome.org/mutter#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--libexecdir=/usr/lib/$pkgname --disable-static \
|
|
--disable-schemas-compile --enable-compile-warnings=no \
|
|
--enable-gtk-doc
|
|
|
|
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
|
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' \
|
|
-i {.,cogl,clutter}/libtool
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|