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 CD7941581D3 for ; Sat, 18 May 2024 17:00:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C185E29FD; Sat, 18 May 2024 17:00:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55B1CE29FD for ; Sat, 18 May 2024 17:00:41 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EFF8335D64 for ; Sat, 18 May 2024 17:00:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0629132F for ; Sat, 18 May 2024 17:00:38 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1716051615.b486f36fea247b526d628e3e04b5de2846eff730.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libvpl-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild X-VCS-Directories: media-libs/libvpl-tools/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b486f36fea247b526d628e3e04b5de2846eff730 X-VCS-Branch: master Date: Sat, 18 May 2024 17:00:38 +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: a1d79d01-87f3-4b20-a66e-e1816131331c X-Archives-Hash: 92718e2caacf8a8e69493b09d9ecdad0 commit: b486f36fea247b526d628e3e04b5de2846eff730 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sat May 18 16:58:20 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat May 18 17:00:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b486f36f media-libs/libvpl-tools: rework USE flags Seems a bunch of things changed when this was separated from libvpl. Rework this now properly, fix required_use, enable vaapi and drm by default. Fix build failure when X flag disabled. Closes: https://bugs.gentoo.org/932141 Signed-off-by: Andrew Ammerlaan gentoo.org> ....0.0-r1.ebuild => libvpl-tools-1.0.0-r2.ebuild} | 28 +++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild b/media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild similarity index 79% rename from media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild rename to media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild index 503d1172c45c..ba84438f5c04 100644 --- a/media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild +++ b/media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild @@ -13,19 +13,21 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="dri drm test vaapi wayland X" +IUSE="dri +drm opencl test +vaapi wayland X" RESTRICT="!test? ( test )" REQUIRED_USE=" - dri? ( X drm ) + dri? ( X ) + opencl? ( X ) + vaapi? ( drm ) + wayland? ( vaapi ) X? ( vaapi ) - wayland? ( drm ) " RDEPEND=" - x11-libs/libpciaccess - vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] ) drm? ( x11-libs/libdrm ) + opencl? ( virtual/opencl ) + vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] ) wayland? ( dev-libs/wayland ) @@ -33,25 +35,35 @@ RDEPEND=" x11-libs/libX11 x11-libs/libxcb ) + x11-libs/libpciaccess >=media-libs/libvpl-2.11.0 " + DEPEND="${RDEPEND} wayland? ( dev-libs/wayland-protocols ) " + BDEPEND="virtual/pkgconfig" src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS="$(usex test)" + + -DBUILD_EXPERIMENTAL="$(usex X)" -DTOOLS_ENABLE_X11="$(usex X)" - -DENABLE_WAYLAND="$(usex wayland)" - -DENABLE_X11="$(usex X)" + -DTOOLS_ENABLE_SCREEN_CAPTURE="$(usex X)" + -DTOOLS_ENABLE_RENDER="$(usex X)" + -DTOOLS_ENABLE_OPENCL="$(usex opencl)" + -DENABLE_DRI3="$(usex dri)" - -DENABLE_VA="$(usex vaapi)" -DENABLE_DRM="$(usex drm)" + -DENABLE_VA="$(usex vaapi)" + -DENABLE_WAYLAND="$(usex wayland)" + -DENABLE_X11="$(usex X)" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" )