public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/neatvnc/
Date: Sat, 24 Dec 2022 17:12:02 +0000 (UTC)	[thread overview]
Message-ID: <1671901892.ba8667d47371eb6489e1aeb371d04e1acc4b3bf8.chewi@gentoo> (raw)

commit:     ba8667d47371eb6489e1aeb371d04e1acc4b3bf8
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 17:01:45 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 17:11:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8667d4

gui-libs/neatvnc: Bump to 0.5.4, drop old 0.4.0, EAPI 8

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 gui-libs/neatvnc/Manifest                          |  2 +-
 gui-libs/neatvnc/metadata.xml                      |  7 ++++-
 .../{neatvnc-0.4.0.ebuild => neatvnc-0.5.4.ebuild} | 30 ++++++++++++++------
 gui-libs/neatvnc/neatvnc-9999.ebuild               | 32 +++++++++++++++-------
 4 files changed, 50 insertions(+), 21 deletions(-)

diff --git a/gui-libs/neatvnc/Manifest b/gui-libs/neatvnc/Manifest
index 7636ee781a0b..23e866fba7db 100644
--- a/gui-libs/neatvnc/Manifest
+++ b/gui-libs/neatvnc/Manifest
@@ -1 +1 @@
-DIST neatvnc-0.4.0.tar.gz 555438 BLAKE2B d6676521c3bceb43055589406419c12aca8139b561dc2f9de1ac3abae3e3c84e7ce133fb18a6206941ee9a00306a3c5c4dbebf2c36b15e57a11bd950a20f69a6 SHA512 cfbba3e81e1319b3c0f87644c7fb92e2a72d993c107722d6cb2e23674e1c4bfe9c281442a508a14d3e16964529d0646d1b9726d8f081157fb902454637346a7d
+DIST neatvnc-0.5.4.tar.gz 577635 BLAKE2B cc7a38daa956523601d5434840b9d60db569782d63304fe63d1a47d925acf9568fbc07e1e816e4fdb362e03b0693001423dc47aa1cdd20cb2d849e79ff1a5b44 SHA512 99f9faa9b97ff5949732dc6ddce2d506dea62a97df840a111279f41fe03475c6662770ee71616add2ab49bc3a32e3c32dfd2c2f1e87436f1f07e696146179c85

diff --git a/gui-libs/neatvnc/metadata.xml b/gui-libs/neatvnc/metadata.xml
index f0c6d645f060..6063f9cd5636 100644
--- a/gui-libs/neatvnc/metadata.xml
+++ b/gui-libs/neatvnc/metadata.xml
@@ -2,9 +2,14 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<!-- maintainer-needed -->
+	<upstream>
+		<remote-id type="github">any1/neatvnc</remote-id>
+	</upstream>
 	<use>
 		<flag name="examples">Build and install examples</flag>
-		<flag name="jpeg">Enable fast encodings</flag>
+		<flag name="gbm">Enable support for the Generic Buffer Manager (gbm)</flag>
+		<flag name="h264">Enable fast encodings</flag>
+		<flag name="jpeg">Enable H.264 encoding</flag>
 		<flag name="tracing">Trace kernel and memory calls</flag>
 	</use>
 </pkgmetadata>

diff --git a/gui-libs/neatvnc/neatvnc-0.4.0.ebuild b/gui-libs/neatvnc/neatvnc-0.5.4.ebuild
similarity index 66%
rename from gui-libs/neatvnc/neatvnc-0.4.0.ebuild
rename to gui-libs/neatvnc/neatvnc-0.5.4.ebuild
index e4b7ec2f9fb9..c9d35e6f6390 100644
--- a/gui-libs/neatvnc/neatvnc-0.4.0.ebuild
+++ b/gui-libs/neatvnc/neatvnc-0.5.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit meson
 
-DESCRIPTION="liberally licensed VNC server library with a clean interface"
+DESCRIPTION="Liberally licensed VNC server library with a clean interface"
 HOMEPAGE="https://github.com/any1/neatvnc/"
 
 if [[ ${PV} == 9999 ]]; then
@@ -18,18 +18,27 @@ fi
 
 LICENSE="ISC"
 SLOT="0"
-IUSE="examples ssl jpeg tracing"
+IUSE="examples gbm h264 jpeg ssl test tracing"
+REQUIRED_USE="h264? ( gbm )"
+RESTRICT="!test? ( test )"
 
-DEPEND="
-	x11-libs/pixman
-	x11-libs/libdrm
+RDEPEND="
 	dev-libs/aml
 	sys-libs/zlib
-	ssl? ( net-libs/gnutls:= )
+	x11-libs/pixman
+	gbm? ( media-libs/mesa )
+	h264? (
+		media-video/ffmpeg:=
+		x11-libs/libdrm
+	)
 	jpeg? ( media-libs/libjpeg-turbo:= )
+	ssl? ( net-libs/gnutls:= )
 	tracing? ( dev-util/systemtap )
 "
-RDEPEND="${DEPEND}"
+DEPEND="
+	${RDEPEND}
+	x11-libs/libdrm
+"
 BDEPEND="
 	virtual/pkgconfig
 "
@@ -37,9 +46,12 @@ BDEPEND="
 src_configure() {
 	local emesonargs=(
 		$(meson_use examples)
+		$(meson_use test tests)
 		$(meson_feature jpeg)
 		$(meson_feature ssl tls)
 		$(meson_use tracing systemtap)
+		$(meson_feature gbm)
+		$(meson_feature h264)
 	)
 	meson_src_configure
 }

diff --git a/gui-libs/neatvnc/neatvnc-9999.ebuild b/gui-libs/neatvnc/neatvnc-9999.ebuild
index 0e82ff2aa460..c9d35e6f6390 100644
--- a/gui-libs/neatvnc/neatvnc-9999.ebuild
+++ b/gui-libs/neatvnc/neatvnc-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit meson
 
-DESCRIPTION="liberally licensed VNC server library with a clean interface"
+DESCRIPTION="Liberally licensed VNC server library with a clean interface"
 HOMEPAGE="https://github.com/any1/neatvnc/"
 
 if [[ ${PV} == 9999 ]]; then
@@ -13,23 +13,32 @@ if [[ ${PV} == 9999 ]]; then
 	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"
+	KEYWORDS="~amd64 ~riscv ~x86"
 fi
 
 LICENSE="ISC"
 SLOT="0"
-IUSE="examples ssl jpeg tracing"
+IUSE="examples gbm h264 jpeg ssl test tracing"
+REQUIRED_USE="h264? ( gbm )"
+RESTRICT="!test? ( test )"
 
-DEPEND="
-	x11-libs/pixman
-	x11-libs/libdrm
+RDEPEND="
 	dev-libs/aml
 	sys-libs/zlib
-	ssl? ( net-libs/gnutls:= )
+	x11-libs/pixman
+	gbm? ( media-libs/mesa )
+	h264? (
+		media-video/ffmpeg:=
+		x11-libs/libdrm
+	)
 	jpeg? ( media-libs/libjpeg-turbo:= )
+	ssl? ( net-libs/gnutls:= )
 	tracing? ( dev-util/systemtap )
 "
-RDEPEND="${DEPEND}"
+DEPEND="
+	${RDEPEND}
+	x11-libs/libdrm
+"
 BDEPEND="
 	virtual/pkgconfig
 "
@@ -37,9 +46,12 @@ BDEPEND="
 src_configure() {
 	local emesonargs=(
 		$(meson_use examples)
+		$(meson_use test tests)
 		$(meson_feature jpeg)
 		$(meson_feature ssl tls)
 		$(meson_use tracing systemtap)
+		$(meson_feature gbm)
+		$(meson_feature h264)
 	)
 	meson_src_configure
 }


             reply	other threads:[~2022-12-24 17:12 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24 17:12 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-13 10:15 [gentoo-commits] repo/gentoo:master commit in: gui-libs/neatvnc/ Arthur Zamarin
2024-10-27  7:23 Hans de Graaff
2024-10-18 19:05 Arthur Zamarin
2024-10-18 15:40 Arthur Zamarin
2024-10-18  0:18 Sam James
2024-10-18  0:18 Sam James
2024-10-17 21:41 Sam James
2024-10-17 16:13 Arthur Zamarin
2024-05-28 22:28 Ionen Wolkens
2024-04-26 21:37 James Le Cuirot
2024-04-26  0:14 Sam James
2024-04-26  0:14 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2024-03-16 19:32 Arthur Zamarin
2023-11-29 21:51 James Le Cuirot
2023-11-29  4:23 Sam James
2023-10-17 21:34 James Le Cuirot
2023-03-19 10:46 James Le Cuirot
2023-01-13 12:37 Arthur Zamarin
2022-12-31 13:02 Arthur Zamarin
2022-12-26  1:49 WANG Xuerui
2022-12-26  1:49 WANG Xuerui
2021-07-21  2:22 Yixun Lan
2021-01-25 14:55 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671901892.ba8667d47371eb6489e1aeb371d04e1acc4b3bf8.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox