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 43F86158090 for ; Tue, 3 May 2022 15:16:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D6C2E05AC; Tue, 3 May 2022 15:16:22 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13C26E05AC for ; Tue, 3 May 2022 15:16:21 +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 BC8BD3415AB for ; Tue, 3 May 2022 15:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09C922E1 for ; Tue, 3 May 2022 15:16:19 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1651590927.1265a159743d7f07185acba421e98d46f2cd5fc1.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mesa/mesa-9999.ebuild media-libs/mesa/metadata.xml X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 1265a159743d7f07185acba421e98d46f2cd5fc1 X-VCS-Branch: master Date: Tue, 3 May 2022 15:16:19 +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: 9f49b76a-35c7-40ba-9b08-b4f0fc5fddec X-Archives-Hash: 087681fd79357e57879e3ac4a55cc593 commit: 1265a159743d7f07185acba421e98d46f2cd5fc1 Author: Mike Lothian fireburn co uk> AuthorDate: Sat Apr 30 14:27:28 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue May 3 15:15:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1265a159 media-libs/mesa: Add USE flag to enable proprietary codecs Since https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15258 patent encumbered codes have been disabled as default Use the chromium flag proprietary-codecs to reenable them for those that want them Closes: https://github.com/gentoo/gentoo/pull/25268 Signed-off-by: Mike Lothian fireburn.co.uk> Signed-off-by: Matt Turner gentoo.org> media-libs/mesa/mesa-9999.ebuild | 4 +++- media-libs/mesa/metadata.xml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index a01a3030e452..1946beb71fda 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -34,7 +34,8 @@ done IUSE="${IUSE_VIDEO_CARDS} cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm - lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan + lm-sensors opencl osmesa +proprietary-codecs selinux + test unwind vaapi valgrind vdpau vulkan vulkan-overlay wayland +X xa xvmc zink +zstd" REQUIRED_USE=" @@ -434,6 +435,7 @@ multilib_src_configure() { $(meson_feature zstd) $(meson_use cpu_flags_x86_sse2 sse2) -Dvalgrind=$(usex valgrind auto disabled) + -Dvideo-codecs=$(usex proprietary-codecs "h264dec,h264enc,h265dec,h265enc,vc1dec" "") -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") --buildtype $(usex debug debug plain) diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index 2b18aba1b084..ccfa51c3b7c0 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -17,6 +17,7 @@ Enable Gallium HUD lm-sensors support. Enable the Clover Gallium OpenCL state tracker. Build the Mesa library for off-screen rendering. + Enable codecs for patent-encumbered audio and video formats. Compile in valgrind memory hints Enable the VDPAU acceleration interface for the Gallium3D Video Layer. Enable Vulkan drivers