Skip to content

Instantly share code, notes, and snippets.

/PKGBUILD Secret

Created May 7, 2014 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1e1eca7b6dc47b53940d to your computer and use it in GitHub Desktop.
Save anonymous/1e1eca7b6dc47b53940d to your computer and use it in GitHub Desktop.
PKGBUILD for Xwayland
# Maintainer: Yukicanis <yukicanis@gmail.com>
# Contributor: Michael Eckert <michael.eckert@linuxmail.org>
# Contributor: Tim Jester-Pfadt <t.jp@gmx.de>
# Edited by: Zachary Lund <admin@computerquip.com>
pkgname=xwayland-git
pkgver=1.15.99.902.77.g42a4873
pkgrel=1
pkgdesc="Xorg Server with Wayland Support"
arch=('i686' 'x86_64')
url="http://wayland.freedesktop.org/"
license=('MIT')
depends=('libxfont' 'pixman' 'wayland' 'nettle' 'libgl' 'libunwind' 'libxdmcp' 'libxshmfence' 'libxau')
makedepends=('git' 'xtrans' 'xorg-util-macros' 'xorg-font-util' 'libepoxy-git'
'libdmx' 'libxaw' 'libxkbfile' 'libxrender' 'libxres' 'libxtst'
'xcb-util' 'xcb-util-wm' 'xcb-util-image' 'xcb-util-keysyms'
'dri2proto' 'dri3proto' 'glproto' 'xcmiscproto' 'bigreqsproto'
'randrproto' 'videoproto' 'compositeproto' 'scrnsaverproto'
'resourceproto' 'xf86driproto' 'presentproto' 'xineramaproto')
provides=('xwayland')
options=('!libtool')
source=('git+git://anongit.freedesktop.org/xorg/xserver')
sha256sums=('SKIP')
prepare() {
cd $srcdir/xserver
git reset --hard HEAD
git clean -dfx
}
build() {
cd $srcdir/xserver
autoreconf -fi
./configure --prefix=/usr \
--enable-xwayland \
--enable-dri \
--disable-xorg \
--disable-xwin \
--disable-xquartz \
--disable-xvfb \
--disable-xnest \
--disable-docs \
--disable-devel-docs
make
}
package() {
cd $srcdir/xserver
install -Dm755 hw/xwayland/Xwayland "${pkgdir}/usr/bin/Xwayland"
}
pkgver() {
cd $srcdir/xserver
git describe --always | sed 's|xorg-server-||g' | sed 's|-|.|g'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment