summaryrefslogtreecommitdiff
path: root/extra/mutter-wayland/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mutter-wayland/PKGBUILD')
-rw-r--r--extra/mutter-wayland/PKGBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/extra/mutter-wayland/PKGBUILD b/extra/mutter-wayland/PKGBUILD
new file mode 100644
index 000000000..004ece9dd
--- /dev/null
+++ b/extra/mutter-wayland/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 196008 2013-10-07 11:49:47Z jgc $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=mutter-wayland
+pkgver=3.10.0.1
+pkgrel=2
+pkgdesc="A Wayland compositor for GNOME"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(mutter)
+makedepends=(intltool gnome-doc-utils)
+url="http://www.gnome.org"
+options=('!libtool' '!emptydirs')
+install=mutter-wayland.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+ mutter-wayland-3.10.0.1-logfile.patch)
+sha256sums=('1d4e3086d9ff26f6ae01c844909db1f4050f2e9aaead1b91a8b6b37f2a241560'
+ 'b79866b6b3fa6029b35ef2b5c5d0cb92886ec2ed0173f780c4d46a5b8d9a1644')
+
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # From Fedora: Don't try to redirect the logfile. It won't work.
+ patch -Np1 -i ../mutter-wayland-3.10.0.1-logfile.patch
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$pkgname \
+ --localstatedir=/var --disable-static \
+ --disable-schemas-compile --enable-compile-warnings=minimum
+
+ #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-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # Already in "mutter"
+ rm -r "$pkgdir"/usr/share/{man,gtk-doc,GConf,gnome-control-center}
+ rm "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml"
+}