From b6cce86b8061287856c9ac3b164401d09790a960 Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Sat, 27 Jun 2020 20:18:16 -0400 Subject: gui-apps/wayvnc: simple and fast vnc server for wayland the first vnc server to support wlroots based compositors to enable remote access Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Aisha Tammy Closes: https://github.com/gentoo/gentoo/pull/16461 Signed-off-by: Aaron Bauman --- gui-apps/wayvnc/Manifest | 1 + gui-apps/wayvnc/metadata.xml | 24 ++++++++++++++++++++ gui-apps/wayvnc/wayvnc-0.4.0.ebuild | 44 +++++++++++++++++++++++++++++++++++++ gui-apps/wayvnc/wayvnc-9999.ebuild | 44 +++++++++++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 gui-apps/wayvnc/Manifest create mode 100644 gui-apps/wayvnc/metadata.xml create mode 100644 gui-apps/wayvnc/wayvnc-0.4.0.ebuild create mode 100644 gui-apps/wayvnc/wayvnc-9999.ebuild (limited to 'gui-apps') diff --git a/gui-apps/wayvnc/Manifest b/gui-apps/wayvnc/Manifest new file mode 100644 index 000000000000..1bc4a3ef8614 --- /dev/null +++ b/gui-apps/wayvnc/Manifest @@ -0,0 +1 @@ +DIST wayvnc-0.4.0.tar.gz 52157 BLAKE2B 7c8456d5136ef361ca7dd72ffa7501514eeb7a61ae1777a02391fb7fceea6b020d68951300ab76254f2afd5e2610fe66ce0f461d18dc38522706691438f4620e SHA512 b8f1af24213077dc6126ae1f613b9cdeed8f365f9d1989a5b053563f0eb4bc49921e746e0f1026fe0e02bfeea23b912798678a5a337a052d977aa04496a75570 diff --git a/gui-apps/wayvnc/metadata.xml b/gui-apps/wayvnc/metadata.xml new file mode 100644 index 000000000000..32c02efdbf9e --- /dev/null +++ b/gui-apps/wayvnc/metadata.xml @@ -0,0 +1,24 @@ + + + + + VNC server for wlroots based Wayland compositors. + It attaches to a running Wayland session, creates + virtual input devices and exposes a single display + via the RFB protocol. The Wayland session may be a + headless one, so it is also possible to run wayvnc + without a physical display attached. + + + gentoo@aisha.cc + Aisha Tammy + + + proxy-maint@gentoo.org + Proxy Maintainers + + + enable GPU-side screencopy (experimental) + Trace kernel and memory calls + + diff --git a/gui-apps/wayvnc/wayvnc-0.4.0.ebuild b/gui-apps/wayvnc/wayvnc-0.4.0.ebuild new file mode 100644 index 000000000000..369ff2e67cac --- /dev/null +++ b/gui-apps/wayvnc/wayvnc-0.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="gbm tracing" + +RDEPEND=" + dev-libs/aml + dev-libs/wayland + gui-libs/neatvnc[tracing?] + media-libs/mesa:=[egl,gles2,gbm?] + x11-libs/libxkbcommon + x11-libs/pixman + tracing? ( dev-util/systemtap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-libs/wayland-protocols +" + +src_configure() { + local emesonargs=( + $(meson_feature gbm screencopy-dmabuf) + $(meson_use tracing systemtap) + ) + meson_src_configure +} diff --git a/gui-apps/wayvnc/wayvnc-9999.ebuild b/gui-apps/wayvnc/wayvnc-9999.ebuild new file mode 100644 index 000000000000..369ff2e67cac --- /dev/null +++ b/gui-apps/wayvnc/wayvnc-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="gbm tracing" + +RDEPEND=" + dev-libs/aml + dev-libs/wayland + gui-libs/neatvnc[tracing?] + media-libs/mesa:=[egl,gles2,gbm?] + x11-libs/libxkbcommon + x11-libs/pixman + tracing? ( dev-util/systemtap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-libs/wayland-protocols +" + +src_configure() { + local emesonargs=( + $(meson_feature gbm screencopy-dmabuf) + $(meson_use tracing systemtap) + ) + meson_src_configure +} -- cgit v1.2.3-65-gdbad