summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-02-25 20:16:15 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-03-16 21:31:12 +0200
commit1840be633e2bc2cf0b28c726b88a848714087b22 (patch)
tree7db8a8e3fb4772f3f7a5f7bbc39545401278f0f1 /gui-apps
parentgui-libs/neatvnc: drop 0.6.0 (diff)
downloadgentoo-1840be633e2bc2cf0b28c726b88a848714087b22.tar.gz
gentoo-1840be633e2bc2cf0b28c726b88a848714087b22.tar.bz2
gentoo-1840be633e2bc2cf0b28c726b88a848714087b22.zip
gui-apps/wayvnc: add 0.8.0
Closes: https://bugs.gentoo.org/925499 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/35524 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/wayvnc/Manifest1
-rw-r--r--gui-apps/wayvnc/wayvnc-0.8.0.ebuild55
-rw-r--r--gui-apps/wayvnc/wayvnc-9999.ebuild14
3 files changed, 65 insertions, 5 deletions
diff --git a/gui-apps/wayvnc/Manifest b/gui-apps/wayvnc/Manifest
index 22d08d70cfdd..f7e62e9d5925 100644
--- a/gui-apps/wayvnc/Manifest
+++ b/gui-apps/wayvnc/Manifest
@@ -1 +1,2 @@
DIST wayvnc-0.7.2.tar.gz 89948 BLAKE2B 09e3e266619d796b9bac5e566c4b9bc3a51ce49f96485a56500524bda504aefe20b1f8d747cdbd29b1e295a72aa8bc719af8770818bf64e1c22ead1b88750fac SHA512 2c37c8b20d24ace47c73ad552dbb812601657ae7c699f0a3e9319eff486c8157f6a1fcb072b5badd323c1886723dd0e720bbcdbdfc7091f3706f7283ad240d14
+DIST wayvnc-0.8.0.tar.gz 101120 BLAKE2B c4d6a338bdc4d6672e6238f4d0364294a29c69e2b034ea03c90b36f6280fc8f6d2a35101fa5650a75be4b2d360b402d913c787e86088bd11188e8e38f4380873 SHA512 88971d276cf6695a446fc746fa1eae1f4df2b5ba42cabf7b7c57481a89af95fe60fce5e1c92bc10e4c871bf561da0d9bb2117418e971a9b4bc6f46b9e53db74d
diff --git a/gui-apps/wayvnc/wayvnc-0.8.0.ebuild b/gui-apps/wayvnc/wayvnc-0.8.0.ebuild
new file mode 100644
index 000000000000..5c0626f790cf
--- /dev/null
+++ b/gui-apps/wayvnc/wayvnc-0.8.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="VNC server for wlroots based Wayland compositors"
+HOMEPAGE="https://github.com/any1/wayvnc"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/any1/wayvnc.git"
+else
+ SRC_URI="https://github.com/any1/wayvnc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="gbm pam test tracing"
+
+RDEPEND="
+ =dev-libs/aml-0.3*
+ dev-libs/jansson:=
+ dev-libs/wayland
+ =gui-libs/neatvnc-0.8*
+ media-libs/mesa[egl(+),gles2,gbm(+)?]
+ x11-libs/libdrm
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ pam? ( sys-libs/pam )
+ tracing? ( dev-debug/systemtap )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/wayland-protocols
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ virtual/pkgconfig
+"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature pam)
+ $(meson_feature gbm screencopy-dmabuf)
+ $(meson_use tracing systemtap)
+ $(meson_use test tests)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/wayvnc/wayvnc-9999.ebuild b/gui-apps/wayvnc/wayvnc-9999.ebuild
index 9cd27cb65ace..5c0626f790cf 100644
--- a/gui-apps/wayvnc/wayvnc-9999.ebuild
+++ b/gui-apps/wayvnc/wayvnc-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit meson
@@ -24,17 +24,21 @@ RDEPEND="
=dev-libs/aml-0.3*
dev-libs/jansson:=
dev-libs/wayland
- =gui-libs/neatvnc-0.7*[tracing?]
- media-libs/mesa:=[egl(+),gles2,gbm(+)?]
+ =gui-libs/neatvnc-0.8*
+ media-libs/mesa[egl(+),gles2,gbm(+)?]
+ x11-libs/libdrm
x11-libs/libxkbcommon
x11-libs/pixman
pam? ( sys-libs/pam )
tracing? ( dev-debug/systemtap )
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/wayland-protocols
+"
BDEPEND="
app-text/scdoc
- dev-libs/wayland-protocols
+ dev-util/wayland-scanner
virtual/pkgconfig
"