Skip to content

@blackout24 /PKGBUILD secret
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD for mutter-wayland with XWayland DDX support
# $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"
}
@djmaze

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

@blackout24
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.

@ignisf

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.