summaryrefslogtreecommitdiffstats
path: root/abs/extra/tigervnc/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-25 04:11:24 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-25 04:11:24 (GMT)
commitc5486fd51cc93df1a4bc4826cc19b6f766260979 (patch)
tree61a75ae6a5b93ae03e6a9c2d2838b9c8387c47de /abs/extra/tigervnc/PKGBUILD
parent3a594ad38241da5087d34584ba70ca06e7be97c4 (diff)
downloadlinhes_pkgbuild-c5486fd51cc93df1a4bc4826cc19b6f766260979.zip
linhes_pkgbuild-c5486fd51cc93df1a4bc4826cc19b6f766260979.tar.gz
linhes_pkgbuild-c5486fd51cc93df1a4bc4826cc19b6f766260979.tar.bz2
tigervnc: replacing tightvnc with tigervnc
Diffstat (limited to 'abs/extra/tigervnc/PKGBUILD')
-rw-r--r--abs/extra/tigervnc/PKGBUILD70
1 files changed, 70 insertions, 0 deletions
diff --git a/abs/extra/tigervnc/PKGBUILD b/abs/extra/tigervnc/PKGBUILD
new file mode 100644
index 0000000..061a7f7
--- /dev/null
+++ b/abs/extra/tigervnc/PKGBUILD
@@ -0,0 +1,70 @@
+# $Id: PKGBUILD 73952 2012-07-17 11:36:12Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Uroš Vampl <mobile.leecher at gmail dot com>
+
+pkgname=tigervnc
+pkgver=1.2.0
+pkgrel=7
+_xorgver=1.12.3
+pkgdesc="suite of VNC servers and clients. VNC 4 branch of TightVNC."
+arch=('i686' 'x86_64')
+url="http://www.tigervnc.org"
+license=('GPL')
+depends=('pam' 'gnutls' 'libjpeg-turbo' 'libxft' 'libxinerama' 'libxcursor'
+ 'libxtst' 'libxfont' 'pixman' 'xorg-xauth' 'xorg-xsetroot'
+ 'xkeyboard-config' 'libgl' 'libgcrypt' 'perl')
+makedepends=('cmake' 'nasm' 'xorg-font-util' 'xorg-util-macros' 'bigreqsproto'
+ 'compositeproto' 'damageproto' 'randrproto' 'resourceproto'
+ 'scrnsaverproto' 'videoproto' 'xcmiscproto' 'xf86vidmodeproto'
+ 'xtrans' 'mesa')
+options=(!libtool)
+install=tiger.install
+conflicts=('tightvnc')
+source=(http://downloads.sourceforge.net/tigervnc/${pkgname}-${pkgver}.tar.gz
+ ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${_xorgver}.tar.bz2
+ xorg111.patch
+ xorg112.patch
+ gnutls.patch
+ gethomedir.patch
+ cmakelists.patch)
+md5sums=('3a5755b4ed600a81c3a17976c6f8420d'
+ '65a53b11bc01dcc97ee9b201dc620c32'
+ 'b680b55f7f9f569cd26ac0b330012a8b'
+ 'f73e055153889ae7b5aac8e697f7a841'
+ '1a5fe8867ab3e49e20aafc70c415494f'
+ 'fa059baabe72308bf82622bca73cb3e0'
+ '6ef923c71cc0e79c4b37eb3b124eea75')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ cp -r ${srcdir}/xorg-server-${_xorgver}/* unix/xserver
+ patch -Np1 -i ${srcdir}/gnutls.patch
+ patch -Np1 -i ${srcdir}/gethomedir.patch
+ patch -Np1 -i ${srcdir}/cmakelists.patch
+ patch -Np1 -i ${srcdir}/xorg111.patch
+ patch -Np1 -i ${srcdir}/xorg112.patch
+
+ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DUSE_INCLUDED_FLTK=yes
+ make
+
+ cd unix/xserver
+ patch -Np1 -i ../xserver110.patch
+ autoreconf -fiv
+ ./configure --prefix=/usr \
+ --disable-static --disable-xinerama --without-dtrace \
+ --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
+ --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
+ --disable-config-dbus --disable-config-hal --disable-config-udev \
+ --disable-unit-tests --disable-devel-docs --disable-dri \
+ --enable-dri2 --enable-glx --enable-glx-tls
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ cd unix/xserver/hw/vnc
+ make DESTDIR=${pkgdir} install
+ sed -i 's/iconic/nowin/' ${pkgdir}/usr/bin/vncserver
+}