Add turbovnc-2.2.6

This commit is contained in:
2021-02-27 18:46:37 +02:00
parent 738565be4f
commit 896b8f796b
2 changed files with 38 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST turbovnc-2.2.5.tar.gz 9020651 BLAKE2B e436682fe27c77e9f8e2679180774ff86b83c5d840b7a89ed8e167c34ac5c7acc8dcb6a272143062a5213cf11e2df220d5ce21063dfe2f2c866d4bd688d55148 SHA512 3ef236a220cf544012277772ffcb362798e28ea79c3813da116a7bd95f7dcd120f21507ef0529fd44a697731706362dfee5101926733ba465edb2db84bb847a2
DIST turbovnc-2.2.6.tar.gz 9022414 BLAKE2B 5baf1d5a9ea488ae1148feb107920d1e2cd2d29af58b6486ac8b7381f07def05d5fbf3a8b231221ef05a8365dd431f0640de0c4fc507475b0c801a53472870c4 SHA512 74fabb7006135853b662e8b6fcfc9b0cf55aa516477106de40587b4513a708c1458ab73f7a51f5f70c4abdc09f1ce13aafdcd56cd039655870a7614169d98af7
+37
View File
@@ -0,0 +1,37 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="A fast replacement for TigerVNC"
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}
x11-apps/xkbcomp"
src_configure() {
local mycmakeargs=(
-DTJPEG_JAR=/usr/share/java/turbojpeg.jar
-DTJPEG_JNILIBRARY=/usr/lib64/libturbojpeg.so
-DXKB_BIN_DIRECTORY=/usr/bin
-DXKB_DFLT_RULES=base
)
cmake_src_configure
}
src_install() {
cmake_src_install
find "${D}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 rm
einstalldocs
}