From 452849cfbcea53ddf8ab537769ca81b53bd5fbeb Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Sat, 27 Jun 2020 20:17:06 -0400 Subject: [PATCH] gui-libs/neatvnc: clean vnc library for wayland can be used by any vnc server for wlroots based compositors Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Aisha Tammy Signed-off-by: Aaron Bauman --- gui-libs/neatvnc/Manifest | 1 + gui-libs/neatvnc/metadata.xml | 17 ++++++++++ gui-libs/neatvnc/neatvnc-0.4.0.ebuild | 45 +++++++++++++++++++++++++++ gui-libs/neatvnc/neatvnc-9999.ebuild | 45 +++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 gui-libs/neatvnc/Manifest create mode 100644 gui-libs/neatvnc/metadata.xml create mode 100644 gui-libs/neatvnc/neatvnc-0.4.0.ebuild create mode 100644 gui-libs/neatvnc/neatvnc-9999.ebuild diff --git a/gui-libs/neatvnc/Manifest b/gui-libs/neatvnc/Manifest new file mode 100644 index 0000000000000..7636ee781a0bb --- /dev/null +++ b/gui-libs/neatvnc/Manifest @@ -0,0 +1 @@ +DIST neatvnc-0.4.0.tar.gz 555438 BLAKE2B d6676521c3bceb43055589406419c12aca8139b561dc2f9de1ac3abae3e3c84e7ce133fb18a6206941ee9a00306a3c5c4dbebf2c36b15e57a11bd950a20f69a6 SHA512 cfbba3e81e1319b3c0f87644c7fb92e2a72d993c107722d6cb2e23674e1c4bfe9c281442a508a14d3e16964529d0646d1b9726d8f081157fb902454637346a7d diff --git a/gui-libs/neatvnc/metadata.xml b/gui-libs/neatvnc/metadata.xml new file mode 100644 index 0000000000000..90575035113f5 --- /dev/null +++ b/gui-libs/neatvnc/metadata.xml @@ -0,0 +1,17 @@ + + + + + gentoo@aisha.cc + Aisha Tammy + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Build and install examples + Enable fast encodings + Trace kernel and memory calls + + diff --git a/gui-libs/neatvnc/neatvnc-0.4.0.ebuild b/gui-libs/neatvnc/neatvnc-0.4.0.ebuild new file mode 100644 index 0000000000000..0e82ff2aa460e --- /dev/null +++ b/gui-libs/neatvnc/neatvnc-0.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="examples ssl jpeg tracing" + +DEPEND=" + x11-libs/pixman + x11-libs/libdrm + dev-libs/aml + sys-libs/zlib + ssl? ( net-libs/gnutls:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + tracing? ( dev-util/systemtap ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use examples) + $(meson_feature jpeg) + $(meson_feature ssl tls) + $(meson_use tracing systemtap) + ) + meson_src_configure +} diff --git a/gui-libs/neatvnc/neatvnc-9999.ebuild b/gui-libs/neatvnc/neatvnc-9999.ebuild new file mode 100644 index 0000000000000..0e82ff2aa460e --- /dev/null +++ b/gui-libs/neatvnc/neatvnc-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="examples ssl jpeg tracing" + +DEPEND=" + x11-libs/pixman + x11-libs/libdrm + dev-libs/aml + sys-libs/zlib + ssl? ( net-libs/gnutls:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + tracing? ( dev-util/systemtap ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use examples) + $(meson_feature jpeg) + $(meson_feature ssl tls) + $(meson_use tracing systemtap) + ) + meson_src_configure +}