PKGBUILDs/extra/mutter/PKGBUILD

55 lines
1.4 KiB
Bash
Raw Normal View History

2014-04-14 21:06:02 +00:00
# $Id$
2012-10-31 12:42:21 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2012-04-25 00:45:05 +00:00
# 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
2014-04-14 21:35:19 +00:00
pkgname=mutter
2016-11-10 20:08:41 +00:00
pkgver=3.22.2
2016-04-09 14:26:16 +00:00
pkgrel=1
2012-04-25 00:45:05 +00:00
pkgdesc="A window manager for GNOME"
2016-05-10 23:36:04 +00:00
url="https://git.gnome.org/browse/mutter"
2012-04-25 00:45:05 +00:00
arch=(i686 x86_64)
2016-05-10 23:36:04 +00:00
license=(GPL)
2016-10-12 12:34:46 +00:00
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
2016-05-10 23:36:04 +00:00
libcanberra startup-notification zenity libsm gnome-desktop upower
2016-10-12 12:34:46 +00:00
libxkbcommon-x11 gnome-settings-daemon libgudev libinput)
makedepends=(intltool gobject-introspection git gnome-common)
2016-05-10 23:36:04 +00:00
groups=(gnome)
options=(!emptydirs)
2016-11-10 20:08:41 +00:00
_commit=a601639dd328e8d417e8625036936266d51928ee # tags/3.22.2^0
2016-10-12 12:34:46 +00:00
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
}
2012-04-25 00:45:05 +00:00
build() {
2016-10-12 12:34:46 +00:00
cd $pkgname
2016-05-10 23:36:04 +00:00
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname --disable-static \
2016-10-12 12:34:46 +00:00
--disable-schemas-compile --enable-compile-warnings=no \
--enable-gtk-doc
2013-05-30 14:15:19 +00:00
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
2016-10-12 12:34:46 +00:00
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' \
-i {.,cogl,clutter}/libtool
2013-05-30 14:15:19 +00:00
2012-04-25 00:45:05 +00:00
make
}
package() {
2016-10-12 12:34:46 +00:00
cd $pkgname
2012-04-25 00:45:05 +00:00
make DESTDIR="$pkgdir" install
}