From da498b2728a65dfd6ec22282a34725bf4ee863d8 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 2 Sep 2020 09:11:41 -0400 Subject: dev-libs/aml: 0.1.0 bump --- net-libs/neatvnc/Manifest | 1 + net-libs/neatvnc/metadata.xml | 3 +++ net-libs/neatvnc/neatvnc-0.2.0.ebuild | 41 +++++++++++++++++++++++++++++++++++ net-libs/neatvnc/neatvnc-9999.ebuild | 12 ++++------ 4 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 net-libs/neatvnc/Manifest create mode 100644 net-libs/neatvnc/neatvnc-0.2.0.ebuild (limited to 'net-libs') diff --git a/net-libs/neatvnc/Manifest b/net-libs/neatvnc/Manifest new file mode 100644 index 0000000..666d668 --- /dev/null +++ b/net-libs/neatvnc/Manifest @@ -0,0 +1 @@ +DIST neatvnc-0.2.0.tar.gz 549524 BLAKE2B 51d47232992af52c947af7172f09bf8bdfad0022543fa7962da84a1a830ba0c5c4e4c66d890822b366e5430ebd1524b5c4f132be3699f8361e882ba497595545 SHA512 74ff4ec6a492eaeead90b5e5d789885c709e90d50f682ad127f0f364264324ed0e6c66859f4254cbe9b79ebabb20974ceded67d5cab6a5fa8fd1f664ea18b15f diff --git a/net-libs/neatvnc/metadata.xml b/net-libs/neatvnc/metadata.xml index 004555a..a4e99d0 100644 --- a/net-libs/neatvnc/metadata.xml +++ b/net-libs/neatvnc/metadata.xml @@ -5,4 +5,7 @@ alex_y_xu@yahoo.ca Alex Xu (Hello71) + + Build and install benchmarks. + diff --git a/net-libs/neatvnc/neatvnc-0.2.0.ebuild b/net-libs/neatvnc/neatvnc-0.2.0.ebuild new file mode 100644 index 0000000..458f18a --- /dev/null +++ b/net-libs/neatvnc/neatvnc-0.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="A 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" +fi + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="benchmarks examples +jpeg ssl" + +DEPEND=" + jpeg? ( media-libs/libjpeg-turbo ) + ssl? ( net-libs/gnutls:= ) + dev-libs/aml + sys-libs/zlib + x11-libs/pixman +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + $(meson_use benchmarks) + $(meson_use examples) + $(meson_feature jpeg) + $(meson_feature ssl tls) + ) + + meson_src_configure +} diff --git a/net-libs/neatvnc/neatvnc-9999.ebuild b/net-libs/neatvnc/neatvnc-9999.ebuild index 6aff3d8..c1f9ddf 100644 --- a/net-libs/neatvnc/neatvnc-9999.ebuild +++ b/net-libs/neatvnc/neatvnc-9999.ebuild @@ -11,13 +11,13 @@ 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" + SRC_URI="https://github.com/any1/neatvnc/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="ISC" SLOT="0" KEYWORDS="" -IUSE="examples +jpeg ssl" +IUSE="benchmarks examples +jpeg ssl" DEPEND=" jpeg? ( media-libs/libjpeg-turbo ) @@ -29,15 +29,11 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" -src_prepare() { - default - sed -i -e '/x86_64-simd/s/^/#/' meson.build || die -} - src_configure() { local emesonargs=( + $(meson_use benchmarks) $(meson_use examples) - $(meson_feature jpeg tight-encoding) + $(meson_feature jpeg) $(meson_feature ssl tls) ) -- cgit v1.2.3-70-g09d2