blackout24 / PKGBUILD secret
Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

PKGBUILD for mutter-wayland with XWayland DDX support

View PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# $Id: PKGBUILD 211253 2014-04-18 11:37:30Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Tim Jester-Pfadt <t.jp@gmx.de>
pkgname=mutter-wayland
pkgver=3.12.1
pkgrel=2
pkgdesc="A Wayland compositor for GNOME"
arch=(i686 x86_64)
license=(GPL)
depends=("gtk3" "cogl>=1.17.1" 'clutter' 'dconf' 'gobject-introspection' 'gsettings-desktop-schemas'
'libcanberra' 'startup-notification' 'zenity' 'libsm' "upower>=0.99.0" 'mutter')
makedepends=('git' 'intltool' 'gnome-doc-utils' 'gtk-doc' 'gnome-common')
url="http://www.gnome.org"
options=('!emptydirs')
install=mutter-wayland.install
source=("https://git.gnome.org/browse/mutter/snapshot/mutter-c40868b239239a8f91ab9b62ccf2a75413246543.zip")
sha256sums=('SKIP')
prepare() {
cd "mutter-c40868b239239a8f91ab9b62ccf2a75413246543"
}
build() {
cd "mutter-c40868b239239a8f91ab9b62ccf2a75413246543"
./autogen.sh --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 "mutter-c40868b239239a8f91ab9b62ccf2a75413246543"
make DESTDIR="$pkgdir" install
# Already in "mutter"
rm -r "$pkgdir"/usr/share/{man,GConf,gnome-control-center}
rm "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml"
}

Thank you, works great. Any chance we can get this into AUR?

Owner

Not worth it since Gnome 3.14 is just around the corner and you won't have to do anything to get Gnome on Wayland working after its release. The AUR package would be deprecated soon.

Bad news -- Gnome 3.14 does not solve this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.