PKGBUILDs/extra/mutter/PKGBUILD

43 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
2015-10-09 00:03:08 +00:00
pkgver=3.18.0
2015-07-02 18:22:04 +00:00
pkgrel=1
2012-04-25 00:45:05 +00:00
pkgdesc="A window manager for GNOME"
arch=(i686 x86_64)
license=('GPL')
2015-06-23 02:01:01 +00:00
depends=('clutter' 'dconf' 'gobject-introspection-runtime' 'gsettings-desktop-schemas' 'libcanberra' 'startup-notification' 'zenity' 'libsm' 'gnome-desktop' 'upower' 'libxkbcommon-x11' 'gnome-settings-daemon' 'libgudev')
2015-04-09 20:10:31 +00:00
makedepends=('intltool' 'libxkbcommon-x11' 'gobject-introspection')
2014-10-16 13:15:01 +00:00
conflicts=('mutter-wayland')
replaces=('mutter-wayland')
2012-04-25 00:45:05 +00:00
url="http://www.gnome.org"
groups=('gnome')
2014-04-14 21:06:02 +00:00
options=('!emptydirs')
2012-04-25 00:45:05 +00:00
install=mutter.install
2014-10-16 13:15:01 +00:00
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
2015-10-09 00:03:08 +00:00
sha256sums=('9fb287976b9c65f0a2aca09d0e2c4c2748d3d2cfa5f38921dbeafe4cd1d541b1')
2012-04-25 00:45:05 +00:00
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/mutter \
--localstatedir=/var --disable-static \
--disable-schemas-compile --enable-compile-warnings=no
2013-05-30 14:15:19 +00:00
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2012-04-25 00:45:05 +00:00
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}