Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/turbovnc/
Date: Mon, 01 Mar 2021 15:26:48
Message-Id: 1614612388.419f1d1686c5b12ad033c84e3a7b5972aaa3f6fa.sam@gentoo
1 commit: 419f1d1686c5b12ad033c84e3a7b5972aaa3f6fa
2 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 28 07:10:47 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 1 15:26:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=419f1d16
7
8 net-misc/turbovnc: new package (2.2.6)
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/19682
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-misc/turbovnc/Manifest | 1 +
16 net-misc/turbovnc/metadata.xml | 18 +++++++++++++++++
17 net-misc/turbovnc/turbovnc-2.2.6.ebuild | 36 +++++++++++++++++++++++++++++++++
18 3 files changed, 55 insertions(+)
19
20 diff --git a/net-misc/turbovnc/Manifest b/net-misc/turbovnc/Manifest
21 new file mode 100644
22 index 00000000000..79f84d7ca89
23 --- /dev/null
24 +++ b/net-misc/turbovnc/Manifest
25 @@ -0,0 +1 @@
26 +DIST turbovnc-2.2.6.tar.gz 9022414 BLAKE2B 5baf1d5a9ea488ae1148feb107920d1e2cd2d29af58b6486ac8b7381f07def05d5fbf3a8b231221ef05a8365dd431f0640de0c4fc507475b0c801a53472870c4 SHA512 74fabb7006135853b662e8b6fcfc9b0cf55aa516477106de40587b4513a708c1458ab73f7a51f5f70c4abdc09f1ce13aafdcd56cd039655870a7614169d98af7
27
28 diff --git a/net-misc/turbovnc/metadata.xml b/net-misc/turbovnc/metadata.xml
29 new file mode 100644
30 index 00000000000..e5bd5bb6550
31 --- /dev/null
32 +++ b/net-misc/turbovnc/metadata.xml
33 @@ -0,0 +1,18 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="person">
38 + <email>ceamac.paragon@×××××.com</email>
39 + <name>Viorel Munteanu</name>
40 + </maintainer>
41 + <maintainer type="project">
42 + <email>proxy-maint@g.o</email>
43 + <name>Proxy Maintainers</name>
44 + </maintainer>
45 + <longdescription>
46 + 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.
47 + </longdescription>
48 + <upstream>
49 + <remote-id type="github">TurboVNC/turbovnc</remote-id>
50 + </upstream>
51 +</pkgmetadata>
52
53 diff --git a/net-misc/turbovnc/turbovnc-2.2.6.ebuild b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
54 new file mode 100644
55 index 00000000000..f854799ddce
56 --- /dev/null
57 +++ b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
58 @@ -0,0 +1,36 @@
59 +# Copyright 1999-2021 Gentoo Authors
60 +# Distributed under the terms of the GNU General Public License v2
61 +
62 +EAPI=7
63 +
64 +inherit cmake
65 +
66 +DESCRIPTION="A fast replacement for TigerVNC"
67 +HOMEPAGE="https://www.turbovnc.org/"
68 +SRC_URI="https://sourceforge.net/projects/turbovnc/files/${PV}/${P}.tar.gz/download -> ${P}.tar.gz"
69 +
70 +LICENSE="GPL-2"
71 +SLOT="0"
72 +KEYWORDS="~amd64"
73 +
74 +DEPEND="virtual/jdk:1.8
75 + >=media-libs/libjpeg-turbo-2.0.0[java]
76 + !net-misc/tigervnc"
77 +RDEPEND="${DEPEND}
78 + x11-apps/xkbcomp"
79 +
80 +src_configure() {
81 + local mycmakeargs=(
82 + -DTJPEG_JAR="${EPREFIX}/usr/share/java/turbojpeg.jar"
83 + -DTJPEG_JNILIBRARY="${EPREFIX}/usr/$(get_libdir)/libturbojpeg.so"
84 + -DXKB_BIN_DIRECTORY=/usr/bin
85 + -DXKB_DFLT_RULES=base
86 + )
87 + cmake_src_configure
88 +}
89 +
90 +src_install() {
91 + cmake_src_install
92 + find "${ED}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 rm || die
93 + einstalldocs
94 +}