tigervnc: put viewer into separate package and fix dependencies

This commit is contained in:
Leonid Pliushch 2018-09-12 11:54:37 +03:00 committed by Yaksh Bariya
parent 0e280f4735
commit 6be1af8a9b
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 13 additions and 3 deletions

View File

@ -2,13 +2,13 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=http://www.tigervnc.org/
TERMUX_PKG_VERSION=1.9.0
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_DESCRIPTION="Suite of VNC servers. Based on the VNC 4 branch of TightVNC."
TERMUX_PKG_SRCURL=https://github.com/TigerVNC/tigervnc/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f15ced8500ec56356c3bf271f52e58ed83729118361c7103eab64a618441f740
TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, fltk, libdrm, libgcrypt, libgnutls, libjpeg-turbo, libmesa, libpixman, libxdamage, libxfont2, libxshmfence, openssl, perl, xkeyboard-config, xorg-xauth, xorg-xvfb"
TERMUX_PKG_BUILD_DEPENDS="xorgproto, xorg-font-util, xorg-util-macros, xtrans"
TERMUX_PKG_DEPENDS="freetype, libandroid-support, libandroid-shmem, libbz2, libc++, libdrm, libexpat, libgnutls, libjpeg-turbo, libmesa, libpixman, libpng, libx11, libxau, libxcb, libxdamage, libxdmcp, libxext, libxfixes, libxfont2, libxshmfence, openssl, perl, xkeyboard-config, xorg-xauth"
TERMUX_PKG_BUILD_DEPENDS="xorgproto, xorg-font-util, xorg-util-macros, xorg-xvfb, xtrans"
TERMUX_PKG_FOLDERNAME=tigervnc-${TERMUX_PKG_VERSION}
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBUILD_VIEWER=ON -DENABLE_NLS=OFF -DENABLE_PAM=OFF -DENABLE_GNUTLS=ON"

View File

@ -0,0 +1,10 @@
TERMUX_SUBPKG_INCLUDE="
bin/vncviewer
share/applications
share/icons
share/man/man1/vncviewer.1
"
TERMUX_SUBPKG_DESCRIPTION="A VNC viewer from TigerVNC package"
TERMUX_SUBPKG_DEPENDS="fltk, fontconfig, libandroid-shmem, libc++, libgnutls, libice, libjpeg-turbo, libsm, libx11, libxcursor, libxext, libxfixes, libxft, libxinerama, libxrender"
TERMUX_SUBPKG_CONFLICTS="tigervnc (<< 1.9.0-4)"