summaryrefslogtreecommitdiff
path: root/gui-libs/neatvnc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
commit59d772d9463f8cf6a145a677bedbf377a0625aff (patch)
tree5a0e382968fd656a056c886e36cfb4491535b489 /gui-libs/neatvnc
parent2a3e0d61b3d88306b6fae46756f9ba7d230222ae (diff)
gentoo auto-resync : 14:12:2024 - 02:02:07
Diffstat (limited to 'gui-libs/neatvnc')
-rw-r--r--gui-libs/neatvnc/Manifest2
-rw-r--r--gui-libs/neatvnc/neatvnc-0.9.2.ebuild82
2 files changed, 84 insertions, 0 deletions
diff --git a/gui-libs/neatvnc/Manifest b/gui-libs/neatvnc/Manifest
index e7a2138d0ea1..31ab8f6ef8d4 100644
--- a/gui-libs/neatvnc/Manifest
+++ b/gui-libs/neatvnc/Manifest
@@ -1,5 +1,7 @@
AUX neatvnc-0.8.0-fix-tracing-undeclared-variable.patch 861 BLAKE2B 3c2f679d7f836c86d84f27043d2c3b48e30b47983919a71c5de70e8b91c91f5e4ae9797bd6238996120d2a4ae172ac735f2544f64430a3f4f4d079f949fb8fe1 SHA512 e5d04b2845094d078c2f5189e4de34f7e5c3de916d9a8c960a3bce354e6c09068b09062cb08ade21eef5c9c700c9474c065d91c7118678c037763bb00e7978fa
DIST neatvnc-0.8.1.tar.gz 661911 BLAKE2B 7d17e14cef3af1de509387581ea632ef967a9a669f26b85adb7e0f3e725fbe15125faf85bf71e75f926cf3b1508eafe600fc4d2b937e34c738dae9427459fb05 SHA512 4c5701765ba78e8fbfff71054988760b5a705946798e709d6905e63ac457f4c2da72aa0866e3cb3832b9aff0722199c1fb52869373677310ba22620413ed6b03
+DIST neatvnc-0.9.2.tar.gz 826089 BLAKE2B f22f6aa53c5bc8b972ee9c9e4890462a4327480be024273ef27aed1af10229287bf3d5e2570047b062846ce3f150fd0aeb31e8e8c1954824d4869088af6e3adb SHA512 769dfa6afd389a11cd457326e693d3bb47b8d333404ba9574761dd16a15310545e3db55ff11d5c5123adac1f0b2cb2661ff6b1612a90abd9e6cd024e5bcb25e0
EBUILD neatvnc-0.8.1.ebuild 1723 BLAKE2B b7f64880eb952a6ef179c738926f08dc734f16724bf45af773ec691906138430fe24635e41385f593c18917b8cc396828c4dcb8a3d43e2080dfe11bf0544e1d9 SHA512 a7204843fa03aa27abadd5662e0c96e39415792921688b0d7a160c9f4748167b8c7ee27661f48588ecbf6a36665f368a9e55cde920f621d51cc6696a9d70521d
+EBUILD neatvnc-0.9.2.ebuild 1648 BLAKE2B 5d022e12310cb9f96f316d8ca79986fce0b9340d75e83f14ef85e5d5ff7a06ae20a5a923cadddfcebbd8288cb96376b09598699d4e66f02d8d754ede9eb39e13 SHA512 1944bf50cce9619f5039a21001e803331e22fe8cc2a457ff4751ea7a9f38c386d27fd5b9be712fa7f42712daa27a0ca01dce112e9b16540c19911720d7315a42
EBUILD neatvnc-9999.ebuild 1648 BLAKE2B 5d022e12310cb9f96f316d8ca79986fce0b9340d75e83f14ef85e5d5ff7a06ae20a5a923cadddfcebbd8288cb96376b09598699d4e66f02d8d754ede9eb39e13 SHA512 1944bf50cce9619f5039a21001e803331e22fe8cc2a457ff4751ea7a9f38c386d27fd5b9be712fa7f42712daa27a0ca01dce112e9b16540c19911720d7315a42
MISC metadata.xml 615 BLAKE2B de4d4bf8c3d9719208f89c1e5dabd0d040393ec50d992a727e2b68f1704c4cede37373c814cca67014ca4177e2672fb5e60012962e6b1ad4033a450a51e925a9 SHA512 8c8ed696e6ff9cda622aef0d9eee93d5292be5dde69c926d40f230c13881b5c3424882d758f7eda8e9f989370c9dfeeb0fad9336f81e963a7a5065047c0eba2a
diff --git a/gui-libs/neatvnc/neatvnc-0.9.2.ebuild b/gui-libs/neatvnc/neatvnc-0.9.2.ebuild
new file mode 100644
index 000000000000..ac897a0a4e0d
--- /dev/null
+++ b/gui-libs/neatvnc/neatvnc-0.9.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Liberally licensed VNC server library with a clean interface"
+HOMEPAGE="https://github.com/any1/neatvnc/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/any1/neatvnc.git"
+else
+ SRC_URI="https://github.com/any1/neatvnc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="examples gbm h264 jpeg ssl test tracing websockets"
+REQUIRED_USE="h264? ( gbm )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ =dev-libs/aml-0.3*
+ sys-libs/zlib
+ x11-libs/pixman
+ examples? (
+ media-libs/libpng:=
+ )
+ gbm? ( media-libs/mesa )
+ h264? (
+ media-video/ffmpeg:=
+ x11-libs/libdrm
+ )
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ ssl? ( net-libs/gnutls:= )
+ tracing? ( dev-debug/systemtap )
+ websockets? (
+ dev-libs/gmp:=
+ dev-libs/nettle:=[gmp]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ x11-libs/libdrm
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # useful soname
+ sed -i -e "s/'0.0.0'/meson.project_version()/" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use examples)
+ $(meson_use test tests)
+ $(meson_feature jpeg)
+ $(meson_feature ssl tls)
+ $(meson_feature websockets nettle)
+ $(meson_use tracing systemtap)
+ $(meson_feature gbm)
+ $(meson_feature h264)
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ einstalldocs
+
+ if use examples; then
+ newbin "${BUILD_DIR}"/examples/draw neatvnc-example-draw
+ newbin "${BUILD_DIR}"/examples/png-server neatvnc-example-png-server
+ fi
+}