From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 893D2158099 for ; Wed, 29 Nov 2023 22:40:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D06C92BC022; Wed, 29 Nov 2023 22:40:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1F422BC022 for ; Wed, 29 Nov 2023 22:40:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBF04335D12 for ; Wed, 29 Nov 2023 22:40:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CF791437 for ; Wed, 29 Nov 2023 22:40:08 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1700918408.85b75b2a5fae9b5c8618bd4d2bedf7914f8673c1.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/wivrn/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/wivrn/wivrn-9999.ebuild X-VCS-Directories: media-libs/wivrn/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 85b75b2a5fae9b5c8618bd4d2bedf7914f8673c1 X-VCS-Branch: master Date: Wed, 29 Nov 2023 22:40:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 805976dc-06e1-4de2-95f7-7b49d5041aed X-Archives-Hash: 979330ea1bc4fb267d45e79a49830e03 commit: 85b75b2a5fae9b5c8618bd4d2bedf7914f8673c1 Author: Patrick Nicolas laposte net> AuthorDate: Sat Nov 25 13:20:08 2023 +0000 Commit: David Roman gmail com> CommitDate: Sat Nov 25 13:20:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85b75b2a media-libs/wivrn: update 9999 for upstream changes Signed-off-by: Patrick Nicolas laposte.net> media-libs/wivrn/wivrn-9999.ebuild | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/media-libs/wivrn/wivrn-9999.ebuild b/media-libs/wivrn/wivrn-9999.ebuild index c558e3314c..0aa9dc2e12 100644 --- a/media-libs/wivrn/wivrn-9999.ebuild +++ b/media-libs/wivrn/wivrn-9999.ebuild @@ -5,7 +5,8 @@ HOMEPAGE="https://github.com/meumeu/WiVRn" SLOT="0" LICENSE="GPL-3 Apache-2.0 MIT" -IUSE="nvenc vaapi x264" +IUSE="nvenc systemd vaapi x264" +REQUIRED_USE="|| ( nvenc vaapi x264 )" inherit cmake @@ -36,9 +37,22 @@ RDEPEND=" media-libs/x264 ) dev-libs/libbsd + media-libs/libpulse media-libs/openxr-loader net-dns/avahi - sys-apps/systemd + systemd? ( + sys-apps/systemd + ) +" + +BDEPEND=" + ${RDEPEND} + nvenc? ( + dev-util/nvidia-cuda-toolkit + ) + dev-cpp/eigen + dev-cpp/nlohmann_json + dev-util/glslang " if [[ ${PV} == 9999 ]]; then @@ -66,9 +80,14 @@ src_configure() { local mycmakeargs=( -DGIT_DESC=${GIT_DESC} -DWIVRN_BUILD_CLIENT=OFF + -DWIVRN_USE_NVENC=$(usex nvenc) + -DWIVRN_USE_VAAPI=$(usex vaapi) + -DWIVRN_USE_X264=$(usex x264) + -DWIVRN_USE_SYSTEMD=$(usex systemd) -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_BASE_DIR=${WORKDIR} + -DENABLE_COLOURED_OUTPUT=OFF ) cmake_src_configure