summaryrefslogtreecommitdiff
path: root/gui-libs/neatvnc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-18 04:04:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-18 04:04:23 +0100
commit483d7c056fba15727fe24545f93627a1d1e1e2eb (patch)
tree80d144b60f8e1dc0d14c15cb3e5950da12c80074 /gui-libs/neatvnc
parent8796aaedb3257bbe4d80b0033408b2210b2259d6 (diff)
gentoo auto-resync : 18:10:2024 - 04:04:23
Diffstat (limited to 'gui-libs/neatvnc')
-rw-r--r--gui-libs/neatvnc/Manifest2
-rw-r--r--gui-libs/neatvnc/neatvnc-0.8.1.ebuild86
2 files changed, 88 insertions, 0 deletions
diff --git a/gui-libs/neatvnc/Manifest b/gui-libs/neatvnc/Manifest
index 674200a8fb5d..da7e91ab841d 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.0.tar.gz 661726 BLAKE2B 075831ad8f2a4e209b316b848ac2f5b2dbcd0ecf36e2ecc2b264be255ca0250d9a61ae5df1c522c310459cc2a536958cb01567ee640fca52db3966329d89cd09 SHA512 bd5bfbcec88711a64eb45c12cad208d594f24e3812d98ccb9eb3a3f8a933df3040fcb21e4bdf0df3ea44332096b6f0bca6dcb8f4be15d42541ab98b2295d4091
+DIST neatvnc-0.8.1.tar.gz 661911 BLAKE2B 7d17e14cef3af1de509387581ea632ef967a9a669f26b85adb7e0f3e725fbe15125faf85bf71e75f926cf3b1508eafe600fc4d2b937e34c738dae9427459fb05 SHA512 4c5701765ba78e8fbfff71054988760b5a705946798e709d6905e63ac457f4c2da72aa0866e3cb3832b9aff0722199c1fb52869373677310ba22620413ed6b03
EBUILD neatvnc-0.8.0.ebuild 1723 BLAKE2B b7f64880eb952a6ef179c738926f08dc734f16724bf45af773ec691906138430fe24635e41385f593c18917b8cc396828c4dcb8a3d43e2080dfe11bf0544e1d9 SHA512 a7204843fa03aa27abadd5662e0c96e39415792921688b0d7a160c9f4748167b8c7ee27661f48588ecbf6a36665f368a9e55cde920f621d51cc6696a9d70521d
+EBUILD neatvnc-0.8.1.ebuild 1725 BLAKE2B c18f835ff2a0ac8b44256e71edfc3cd7ed397dfe60555907b59b89b862ef823e650bfa5cb0cfde48364fd839292b433279853858006689bf4f1be89b51376b72 SHA512 26b3aa3d4236674c7586b13aaa81e479edfcc79ff683e878145a0be748c674af69705270c71131d2f37f58f30662040f0b1ddcea9552774bc8aa7ad242254c9b
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.8.1.ebuild b/gui-libs/neatvnc/neatvnc-0.8.1.ebuild
new file mode 100644
index 000000000000..cfcc8b89adf1
--- /dev/null
+++ b/gui-libs/neatvnc/neatvnc-0.8.1.ebuild
@@ -0,0 +1,86 @@
+# 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
+"
+
+PATCHES=(
+ "${FILESDIR}/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch"
+)
+
+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
+}