summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2021-02-28 09:10:47 +0200
committerSam James <sam@gentoo.org>2021-03-01 15:26:28 +0000
commit419f1d1686c5b12ad033c84e3a7b5972aaa3f6fa (patch)
tree8fa93b1440826e610b4a8741fdaafdb2c09dd595 /net-misc/turbovnc
parentsys-cluster/rdma-core: Fix iwpmd init script installation (diff)
downloadgentoo-419f1d1686c5b12ad033c84e3a7b5972aaa3f6fa.tar.gz
gentoo-419f1d1686c5b12ad033c84e3a7b5972aaa3f6fa.tar.bz2
gentoo-419f1d1686c5b12ad033c84e3a7b5972aaa3f6fa.zip
net-misc/turbovnc: new package (2.2.6)
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19682 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/turbovnc')
-rw-r--r--net-misc/turbovnc/Manifest1
-rw-r--r--net-misc/turbovnc/metadata.xml18
-rw-r--r--net-misc/turbovnc/turbovnc-2.2.6.ebuild36
3 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/turbovnc/Manifest b/net-misc/turbovnc/Manifest
new file mode 100644
index 000000000000..79f84d7ca892
--- /dev/null
+++ b/net-misc/turbovnc/Manifest
@@ -0,0 +1 @@
+DIST turbovnc-2.2.6.tar.gz 9022414 BLAKE2B 5baf1d5a9ea488ae1148feb107920d1e2cd2d29af58b6486ac8b7381f07def05d5fbf3a8b231221ef05a8365dd431f0640de0c4fc507475b0c801a53472870c4 SHA512 74fabb7006135853b662e8b6fcfc9b0cf55aa516477106de40587b4513a708c1458ab73f7a51f5f70c4abdc09f1ce13aafdcd56cd039655870a7614169d98af7
diff --git a/net-misc/turbovnc/metadata.xml b/net-misc/turbovnc/metadata.xml
new file mode 100644
index 000000000000..e5bd5bb65500
--- /dev/null
+++ b/net-misc/turbovnc/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ceamac.paragon@gmail.com</email>
+ <name>Viorel Munteanu</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ TurboVNC is a derivative of VNC (Virtual Network Computing) that is tuned to provide peak performance for 3D and video workloads. By The VirtualGL Project.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">TurboVNC/turbovnc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/turbovnc/turbovnc-2.2.6.ebuild b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
new file mode 100644
index 000000000000..f854799ddce6
--- /dev/null
+++ b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# 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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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="${EPREFIX}/usr/share/java/turbojpeg.jar"
+ -DTJPEG_JNILIBRARY="${EPREFIX}/usr/$(get_libdir)/libturbojpeg.so"
+ -DXKB_BIN_DIRECTORY=/usr/bin
+ -DXKB_DFLT_RULES=base
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ find "${ED}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 rm || die
+ einstalldocs
+}