Add turbovnc version 2.2.3

This commit is contained in:
2019-10-01 12:07:48 +03:00
parent 8aff884c3d
commit 90eb4ae7c7
2 changed files with 34 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="A fast replacement for tigetvnc"
HOMEPAGE="https://www.turbovnc.org/"
SRC_URI="https://sourceforge.net/projects/turbovnc/files/${PV}/${P}.tar.gz/download -> ${P}.tar.gz"
RESTRICT="primaryuri"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/jdk:1.8
media-libs/libjpeg-turbo[java]
!net-misc/tigervnc"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DTJPEG_JAR=/usr/share/classes/turbojpeg.jar
-DTJPEG_JNILIBRARY=/usr/lib64/libturbojpeg.so
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
find "${D}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 rm
}