43 lines
1.6 KiB
Bash
43 lines
1.6 KiB
Bash
# Template file for 'tigervnc'
|
|
pkgname=tigervnc
|
|
version=1.7.1
|
|
revision=1
|
|
_xorg_version=1.18.4
|
|
build_style=cmake
|
|
short_desc="VNC client forked from TightVNC"
|
|
maintainer="Evan Deaubl <evan@deaubl.name>"
|
|
license="GPL-2"
|
|
hostmakedepends="automake xorg-util-macros font-util pkg-config libtool xtrans"
|
|
makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
|
|
randrproto fontsproto videoproto compositeproto scrnsaverproto
|
|
resourceproto libxkbfile-devel libXfont-devel gnutls-devel"
|
|
depends="xauth xkeyboard-config"
|
|
conflicts="turbovnc>=0"
|
|
homepage="http://www.tigervnc.org"
|
|
distfiles="https://github.com/TigerVNC/tigervnc/archive/v${version}.tar.gz>tigervnc-${version}.tar.gz
|
|
${XORG_SITE}/xserver/xorg-server-${_xorg_version}.tar.bz2"
|
|
checksum="3c021ec0bee4611020c0bcbab995b0ef2f6f1a46127a52b368827f3275527ccc
|
|
278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8"
|
|
|
|
post_configure() {
|
|
cd ${wrksrc}/unix/xserver
|
|
cp -R ${XBPS_BUILDDIR}/xorg-server-${_xorg_version}/* .
|
|
patch -p1 <../xserver117.patch
|
|
autoreconf -fiv
|
|
./configure --host=${XBPS_CROSS_TRIPLET} --prefix=/usr --with-pic \
|
|
--without-dtrace --disable-static --disable-dri \
|
|
--disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \
|
|
--disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \
|
|
--disable-config-hal --disable-config-udev --disable-dri2 --enable-glx \
|
|
--disable-unit-tests --disable-selective-werror
|
|
}
|
|
|
|
post_build() {
|
|
cd ${wrksrc}/unix/xserver
|
|
make LIB_DIR=${wrksrc}/build/common
|
|
}
|
|
|
|
post_install() {
|
|
cd ${wrksrc}/unix/xserver/hw/vnc
|
|
make LIB_DIR=${wrksrc}/build/common DESTDIR=${DESTDIR} install
|
|
}
|