Add new turbovnc version

This commit is contained in:
2020-06-01 10:23:43 +03:00
parent 79b7d76045
commit f4bff38514
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST turbovnc-2.2.4.tar.gz 9015168 BLAKE2B cb61c6aa7ef8fc4a78afa0ef1cc54acd94e1f1c349218eaef49acba6b0b3aa18a1b1da0619789fc4833416d3e295d39cd5461dc2e3cfbab57031cc699f26c3a0 SHA512 382920157ee8d58721a924284e73bcc9a06f9e9ec688926c8d44992cfcca55063e78e621c0d372f3cc03c6b5abe2db02245931ab0db64643f201af91bcc1806a
DIST turbovnc-2.2.5.tar.gz 9020651 BLAKE2B e436682fe27c77e9f8e2679180774ff86b83c5d840b7a89ed8e167c34ac5c7acc8dcb6a272143062a5213cf11e2df220d5ce21063dfe2f2c866d4bd688d55148 SHA512 3ef236a220cf544012277772ffcb362798e28ea79c3813da116a7bd95f7dcd120f21507ef0529fd44a697731706362dfee5101926733ba465edb2db84bb847a2

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"
IUSE=""
DEPEND="virtual/jdk:1.8
>=media-libs/libjpeg-turbo-2.0.0[java]
!net-misc/tigervnc"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DTJPEG_JAR=/usr/share/java/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
}