diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-01-23 17:39:50 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-01-23 17:39:50 (GMT) |
commit | a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8 (patch) | |
tree | 4e25dfa1bbff34473a7f6d0df5d070a8a0c12a34 /abs/extra/tigervnc/PKGBUILD | |
parent | 193fd67c9e8cfbc4704f08655fa5bc61d5cbb457 (diff) | |
download | linhes_pkgbuild-a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8.zip linhes_pkgbuild-a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8.tar.gz linhes_pkgbuild-a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8.tar.bz2 |
tigervnc: update to 1.6.0
Diffstat (limited to 'abs/extra/tigervnc/PKGBUILD')
-rw-r--r-- | abs/extra/tigervnc/PKGBUILD | 89 |
1 files changed, 41 insertions, 48 deletions
diff --git a/abs/extra/tigervnc/PKGBUILD b/abs/extra/tigervnc/PKGBUILD index 21d3013..6d5da40 100644 --- a/abs/extra/tigervnc/PKGBUILD +++ b/abs/extra/tigervnc/PKGBUILD @@ -1,56 +1,64 @@ -# $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." +pkgver=1.6.0 +pkgrel=1 +_xorgver=1.18.0 +pkgdesc="Suite of VNC servers and clients. Based on the 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') +depends=('fltk' 'pam' 'gnutls' 'libjpeg-turbo' 'libxtst' 'libxfont' 'pixman' + 'xorg-xauth' 'xorg-xsetroot' 'xkeyboard-config' 'xorg-xkbcomp' + 'libgl' 'libgcrypt' 'perl' 'libxdamage') 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 + 'xtrans' 'glproto' 'dri2proto' 'dri3proto' 'presentproto' + 'mesa' 'imagemagick') +optdepends=('mesa: for OpenGL functionality in Xvnc') conflicts=('tightvnc') -source=(http://downloads.sourceforge.net/tigervnc/${pkgname}-${pkgver}.tar.gz +source=($pkgname-$pkgver.tar.gz::https://github.com/TigerVNC/tigervnc/archive/v${pkgver}.tar.gz ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${_xorgver}.tar.bz2 - xorg111.patch - xorg112.patch - gnutls.patch + vncserver.service + vncviewer.desktop gethomedir.patch - cmakelists.patch vncsvc.rules) + xorg118.patch) +md5sums=('78b736445781d86c48e942465a391ccc' + '3c1c1057d3ad27380d8dd87ffcc182cd' + '1aad8f06504b3e29a24ccfbaab617973' + 'b200d83c60e80c6f9693ea19a2d9f5b0' + '22f1523a0eca56ad79cfabd0db6e2cf6' + '2fd32181679077eb7f7ca06cf25f443f') -build() { +prepare() { cd ${srcdir}/${pkgname}-${pkgver} - cp -r ${srcdir}/xorg-server-${_xorgver}/* unix/xserver - patch -Np1 -i ${srcdir}/gnutls.patch + patch -Np1 -i ${srcdir}/xorg118.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 + sed -i 's/iconic/nowin/' unix/vncserver + + cd unix/xserver + cp -r ${srcdir}/xorg-server-${_xorgver}/* . + patch -Np1 -i ../xserver117.patch +} - cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DUSE_INCLUDED_FLTK=yes +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr make cd unix/xserver - patch -Np1 -i ../xserver110.patch autoreconf -fiv ./configure --prefix=/usr \ - --disable-static --disable-xinerama --without-dtrace \ + --disable-static --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 + --disable-xwin --disable-xephyr --disable-kdrive --disable-xwayland \ + --disable-config-hal --disable-config-udev --with-pic \ + --disable-unit-tests --disable-devel-docs --disable-selective-werror \ + --disable-dri --enable-dri2 --enable-dri3 --enable-glx --enable-glx-tls make } @@ -59,23 +67,8 @@ package() { make DESTDIR=${pkgdir} install cd unix/xserver/hw/vnc make DESTDIR=${pkgdir} install - sed -i 's/iconic/nowin/' ${pkgdir}/usr/bin/vncserver - - cd ${srcdir} - #sudo rules - mkdir -p $startdir/pkg/etc/sudoers.d/ - chmod 750 $startdir/pkg/etc/sudoers.d/ - chown -R root:root $startdir/pkg/etc/sudoers.d - install -o root -g root -m 0750 vncsvc.rules $startdir/pkg/etc/sudoers.d/vncsvc-tigervnc - - - + install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/contrib/systemd/user/vncserver@.service \ + $pkgdir/usr/lib/systemd/user/vncserver@.service + install -Dm0644 $srcdir/vncserver.service $pkgdir/usr/lib/systemd/system/vncserver.service + install -Dm0644 $srcdir/vncviewer.desktop $pkgdir/usr/share/applications/vncviewer.desktop } -md5sums=('3a5755b4ed600a81c3a17976c6f8420d' - '65a53b11bc01dcc97ee9b201dc620c32' - 'b680b55f7f9f569cd26ac0b330012a8b' - 'f73e055153889ae7b5aac8e697f7a841' - '1a5fe8867ab3e49e20aafc70c415494f' - 'fa059baabe72308bf82622bca73cb3e0' - '6ef923c71cc0e79c4b37eb3b124eea75' - '6f4a594581e63bfb29cd1b7b37d66d10') |