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 1AEFF159C96 for ; Tue, 30 Jul 2024 09:42:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DD4AE2AF0; Tue, 30 Jul 2024 09:42:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 37B59E2AF0 for ; Tue, 30 Jul 2024 09:42:38 +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 310C133BE4D for ; Tue, 30 Jul 2024 09:42:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9521A1E77 for ; Tue, 30 Jul 2024 09:42:35 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1722332352.3a0dbdbc36a5a9b1e644bd2239143cdcbf3a3a3c.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opus/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/opus/metadata.xml media-libs/opus/opus-1.5.2.ebuild X-VCS-Directories: media-libs/opus/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 3a0dbdbc36a5a9b1e644bd2239143cdcbf3a3a3c X-VCS-Branch: master Date: Tue, 30 Jul 2024 09:42:35 +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: 64c5f2db-5fe4-4e36-a377-d41bbb7e1cef X-Archives-Hash: 9d3c14e0aeb703e21bc5f3f158da7353 commit: 3a0dbdbc36a5a9b1e644bd2239143cdcbf3a3a3c Author: Violet Purcell inventati org> AuthorDate: Tue Jul 30 01:08:37 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Jul 30 09:39:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0dbdbc media-libs/opus: add USE flags for deep-plc, dred, and osce Closes: https://bugs.gentoo.org/936909 See-Also: https://opus-codec.org/demo/opus-1.5/ Signed-off-by: Violet Purcell inventati.org> Closes: https://github.com/gentoo/gentoo/pull/37791 Signed-off-by: Miroslav Šulc gentoo.org> media-libs/opus/metadata.xml | 3 +++ media-libs/opus/opus-1.5.2.ebuild | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/media-libs/opus/metadata.xml b/media-libs/opus/metadata.xml index ead8947401fe..233bcf4e3835 100644 --- a/media-libs/opus/metadata.xml +++ b/media-libs/opus/metadata.xml @@ -11,6 +11,9 @@ Enable non-Opus modes, e.g. 44.1 kHz and 2^n frames + Enable Deep Packet Loss Concealment (PLC) + Enable Deep REDundancy (DRED) + Enable Opus Speech Coding Enhancement (OSCE) xiph/opus diff --git a/media-libs/opus/opus-1.5.2.ebuild b/media-libs/opus/opus-1.5.2.ebuild index 571ca9f768dc..ca812443aac4 100644 --- a/media-libs/opus/opus-1.5.2.ebuild +++ b/media-libs/opus/opus-1.5.2.ebuild @@ -14,7 +14,11 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86" INTRINSIC_FLAGS="cpu_flags_x86_sse cpu_flags_arm_neon" -IUSE="custom-modes debug doc hardened static-libs test ${INTRINSIC_FLAGS}" +IUSE="custom-modes debug deep-plc dred doc hardened osce static-libs test ${INTRINSIC_FLAGS}" +REQUIRED_USE=" + dred? ( deep-plc ) + osce? ( deep-plc ) +" RESTRICT="!test? ( test )" BDEPEND=" @@ -38,6 +42,9 @@ multilib_src_configure() { $(meson_feature test tests) $(meson_use debug assertions) $(meson_use hardened hardening) + $(meson_feature deep-plc) + $(meson_feature dred) + $(meson_feature osce) $(meson_native_use_feature doc docs)