mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
53 lines
1.9 KiB
Bash
53 lines
1.9 KiB
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=xf4vnc-xvnc
|
||
|
pkgver=20090715
|
||
|
pkgrel=2
|
||
|
pkgdesc="xf4vnc Xvnc server"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://xf4vnc.sf.net"
|
||
|
license=('GPL')
|
||
|
depends=(libxfont libxi libxmu 'libjpeg>=7' libxrender openssl pixman)
|
||
|
makedepends=(xf86driproto xcmiscproto xtrans resourceproto evieext glproto \
|
||
|
xf86bigfontproto xorg-util-macros xf4vnc-vncproto libdrm mesa \
|
||
|
randrproto scrnsaverproto videoproto compositeproto xineramaproto \
|
||
|
libxkbfile libxaw libxpm libpciaccess trapproto bigreqsproto)
|
||
|
conflicts=(tightvnc)
|
||
|
options=('!libtool')
|
||
|
source=(http://ghost1227.com/files/misc/xf4vnc.cvs.$pkgver.tar.gz)
|
||
|
md5sums=('ed78dcabde66089038f7dce424684c2d')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/xf4vnc.cvs/src/xserver"
|
||
|
|
||
|
sed -i 's|pixman/pixman.h|pixman-1/pixman.h|' render/picture.h || return 1
|
||
|
|
||
|
[ -x ./configure ] && \
|
||
|
./configure --prefix=/usr --with-fontdir=/usr/share/fonts --disable-glx --enable-builtin-fonts || \
|
||
|
./autogen.sh --prefix=/usr --with-fontdir=/usr/share/fonts --disable-glx --enable-builtin-fonts
|
||
|
|
||
|
(cd dix && make) || return 1
|
||
|
(cd mi && make) || return 1
|
||
|
(cd os && make) || return 1
|
||
|
(cd fb && make) || return 1
|
||
|
(cd xfixes && make) || return 1
|
||
|
(cd Xext && make) || return 1
|
||
|
(cd dbe && make) || return 1
|
||
|
(cd XTrap && make) || return 1
|
||
|
(cd render && make) || return 1
|
||
|
(cd randr && make) || return 1
|
||
|
(cd damageext && make) || return 1
|
||
|
(cd miext && make) || return 1
|
||
|
(cd Xi && make) || return 1
|
||
|
(cd xkb && make) || return 1
|
||
|
(cd composite && make) || return 1
|
||
|
(cd config && make) || return 1
|
||
|
cd hw/vnc && make || return 1
|
||
|
install -D -m0755 Xvnc "$pkgdir/usr/bin/Xvnc" || return 1
|
||
|
|
||
|
cd ../xfree86/vnc && make || return 1
|
||
|
install -D -m0755 .libs/libvnc.so "$pkgdir/usr/lib/xorg/modules/extensions/libvnc.so" || return 1
|
||
|
}
|