Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

xwayland-git

By: a guest on Sep 10th, 2013  |  syntax: Bash  |  size: 2.41 KB  |  views: 162  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Yukicanis <yukicanis@gmail.com>
  2. # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
  3. # Contributor: Michael Eckert <michael.eckert@linuxmail.org>
  4. # Contributor: Zachary Lund <admin@computerquip.com>
  5. # Contributor: AndyRTR <andyrtr@archlinux.org>
  6. # Contributor: Jan de Groot <jgc@archlinux.org>
  7. pkgname=xwayland-git
  8. pkgver=1.14.99.1.217.gfa550cd
  9. pkgrel=1
  10. pkgdesc="Xorg Server with Wayland Support"
  11. arch=('i686' 'x86_64')
  12. url="http://wayland.freedesktop.org/"
  13. license=('MIT')
  14. depends=('weston' 'wayland' 'xorg-util-macros' 'fontsproto' 'videoproto'\
  15.          'libxfont' 'glproto' 'xineramaproto')
  16. conflicts=('xorg-server' 'xorg-server-devel' 'xorg-server-common')
  17. makedepends=('git' 'xtrans' 'xf86driproto' 'xcmiscproto' 'bigreqsproto'\
  18.              'resourceproto' 'libxres' 'randrproto' 'fontsproto' 'videoproto'\
  19.              'compositeproto' 'recordproto' 'libxkbfile' 'libxfont' 'mtdev'\
  20.              'scrnsaverproto' 'dri2proto' 'xorg-font-util' 'bison')
  21. provides=('xorg-server')
  22. source=('git+git://anongit.freedesktop.org/xorg/xserver#branch=xwayland')
  23. md5sums=('SKIP')
  24.  
  25. pkgver() {
  26.   cd $srcdir/xserver
  27.   git describe --always | sed 's|xorg-server-||g' | sed 's|-|.|g'
  28. }
  29.  
  30. build() {
  31.   cd $srcdir/xserver
  32.   ./autogen.sh --prefix=/usr \
  33.       --enable-wayland \
  34.       --enable-ipv6 \
  35.       --enable-dri \
  36.       --enable-dmx \
  37.       --enable-xvfb \
  38.       --enable-xnest \
  39.       --enable-composite \
  40.       --enable-xcsecurity \
  41.       --enable-xorg \
  42.       --enable-xephyr \
  43.       --enable-glx-tls \
  44.       --enable-kdrive \
  45.       --enable-kdrive-evdev \
  46.       --enable-kdrive-kbd \
  47.       --enable-kdrive-mouse \
  48.       --enable-install-setuid \
  49.       --enable-config-udev \
  50.       --disable-config-dbus \
  51.       --enable-record \
  52.       --disable-xfbdev \
  53.       --disable-xfake \
  54.       --disable-static \
  55.       --sysconfdir=/etc/X11 \
  56.       --localstatedir=/var \
  57.       --with-xkb-path=/usr/share/X11/xkb \
  58.       --with-xkb-output=/var/lib/xkb \
  59.       --with-fontrootdir=/usr/share/fonts
  60.   make
  61. }
  62.  
  63. package() {
  64.   cd $srcdir/xserver
  65.   make DESTDIR=${pkgdir} install
  66.  
  67.   install -m755 -d "${pkgdir}/etc/X11"
  68.   mv "${pkgdir}/usr/share/X11/xorg.conf.d" "${pkgdir}/etc/X11/"
  69.   rmdir "${pkgdir}/usr/share/X11"
  70.  
  71.   # Needed for non-mesa drivers, libgl will restore it
  72.   mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
  73.      "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg"
  74. }