From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opus/
Date: Tue, 5 Mar 2024 11:35:44 +0000 (UTC) [thread overview]
Message-ID: <1709638509.7df49c9e536286449adc6704508a2510d54a5a7e.sam@gentoo> (raw)
commit: 7df49c9e536286449adc6704508a2510d54a5a7e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 5 11:35:09 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 5 11:35:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df49c9e
media-libs/opus: activate new options in 1.5.1
Activate new options mentioned in https://opus-codec.org/demo/opus-1.5/.
They all have runtime toggles and can be overridden via MYMESONARGS if people
really need.
Bug: https://bugs.gentoo.org/926174
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/opus/opus-1.5.1-r1.ebuild | 69 ++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/media-libs/opus/opus-1.5.1-r1.ebuild b/media-libs/opus/opus-1.5.1-r1.ebuild
new file mode 100644
index 000000000000..fd6dfbd58bf7
--- /dev/null
+++ b/media-libs/opus/opus-1.5.1-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit flag-o-matic meson-multilib python-any-r1
+
+DESCRIPTION="Open codec for interactive speech and music transmission over the Internet"
+HOMEPAGE="https://opus-codec.org/"
+SRC_URI="https://downloads.xiph.org/releases/opus/${P}.tar.gz"
+
+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}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ doc? (
+ app-text/doxygen
+ media-gfx/graphviz
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.1-libdir-macro.patch
+ "${FILESDIR}"/${PN}-1.4-arm64-neon.patch
+)
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddefault_library=$(multilib_native_usex static-libs both shared)
+
+ # These all have runtime toggles too, per https://opus-codec.org/demo/opus-1.5/
+ -Denable-deep-plc=true
+ -Denable-dred=true
+ -Denable-osce=true
+
+ $(meson_use custom-modes)
+ $(meson_feature test tests)
+ $(meson_use debug assertions)
+ $(meson_use hardened hardening)
+
+ $(meson_native_use_feature doc docs)
+
+ -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+
+ # Disable intrinsics if no flags are enabled (bug #752069)
+ # bug #752069
+ # TODO: What is -Dasm for?
+ local i
+ for i in ${INTRINSIC_FLAGS} ; do
+ use ${i} && emesonargs+=( -Dintrinsics=enabled ) && break
+ done || emesonargs+=( -Dintrinsics=disabled )
+
+ if is-flagq -ffast-math || is-flagq -Ofast ; then
+ emesonargs+=( -Dfloat-approx=true )
+ fi
+
+ meson_src_configure
+}
+
+multilib_src_test() {
+ meson_src_test --timeout-multiplier=2
+}
next reply other threads:[~2024-03-05 11:35 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-05 11:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-30 9:44 [gentoo-commits] repo/gentoo:master commit in: media-libs/opus/ Miroslav Šulc
2024-07-30 9:42 Miroslav Šulc
2024-05-26 8:22 Miroslav Šulc
2024-05-25 17:31 Arthur Zamarin
2024-05-19 17:03 Arthur Zamarin
2024-05-17 13:05 Sam James
2024-05-17 12:48 Sam James
2024-05-17 12:48 Sam James
2024-05-17 12:48 Sam James
2024-05-17 12:48 Sam James
2024-04-16 8:09 Miroslav Šulc
2024-04-05 9:06 Arthur Zamarin
2024-04-05 9:06 Arthur Zamarin
2024-04-05 9:06 Arthur Zamarin
2024-03-05 12:04 Miroslav Šulc
2024-03-05 11:26 Miroslav Šulc
2023-12-10 1:38 Ionen Wolkens
2023-07-12 6:39 Jakov Smolić
2023-05-29 20:34 Sam James
2023-05-27 11:12 Sam James
2023-05-27 11:12 Sam James
2023-05-23 15:16 Arthur Zamarin
2023-05-23 15:16 Arthur Zamarin
2023-04-23 7:46 Sam James
2023-04-20 15:41 Sam James
2023-01-23 3:29 Sam James
2022-08-30 19:06 Sam James
2022-04-23 1:21 Sam James
2022-01-10 12:41 James Le Cuirot
2021-07-13 11:21 Marek Szuba
2021-06-13 6:41 Miroslav Šulc
2021-06-13 6:30 Agostino Sarubbo
2021-06-13 6:28 Agostino Sarubbo
2021-06-13 3:45 Sam James
2021-06-12 16:05 Sam James
2021-06-12 16:05 Sam James
2021-06-12 15:43 Sam James
2021-06-12 15:43 Sam James
2021-05-28 15:37 David Seifert
2021-05-28 15:37 David Seifert
2020-10-19 16:53 Mike Gilbert
2020-02-10 15:37 David Seifert
2020-02-10 15:30 Jory Pratt
2020-02-08 11:40 Sergei Trofimovich
2020-02-07 13:16 Agostino Sarubbo
2020-02-07 12:12 Agostino Sarubbo
2020-02-06 9:04 Sergei Trofimovich
2020-02-06 8:26 Sergei Trofimovich
2020-02-06 8:21 Agostino Sarubbo
2020-02-06 7:51 Sergei Trofimovich
2020-02-05 19:26 Sergei Trofimovich
2019-05-22 1:25 Stefan Strogin
2019-05-08 1:31 Stefan Strogin
2019-05-08 1:31 Stefan Strogin
2019-05-03 8:44 Pacho Ramos
2019-05-02 21:10 Mikle Kolyada
2019-04-02 1:37 Thomas Deutschmann
2019-03-30 19:05 Mikle Kolyada
2019-03-25 22:18 Sergei Trofimovich
2019-03-24 20:25 Sergei Trofimovich
2019-03-24 20:12 Sergei Trofimovich
2019-03-24 19:44 Sergei Trofimovich
2019-03-24 13:08 Sergei Trofimovich
2019-03-24 10:01 Agostino Sarubbo
2018-11-08 15:55 Andreas Sturmlechner
2018-11-08 15:55 Andreas Sturmlechner
2018-11-08 15:55 Andreas Sturmlechner
2018-09-24 16:10 Lars Wendler
2018-04-15 14:19 Sergei Trofimovich
2018-04-02 21:32 Sergei Trofimovich
2018-03-28 22:41 Matt Turner
2018-03-15 16:30 Mikle Kolyada
2018-03-05 14:52 Tobias Klausmann
2018-02-25 18:21 Thomas Deutschmann
2018-02-24 11:06 Sergei Trofimovich
2018-02-24 8:55 Sergei Trofimovich
2018-02-24 7:20 Jason Zaman
2018-02-23 23:17 Sergei Trofimovich
2017-08-31 12:58 Tim Harder
2017-08-31 12:58 Tim Harder
2017-08-31 12:58 Tim Harder
2017-08-31 12:58 Tim Harder
2017-08-31 12:58 Tim Harder
2017-07-13 6:22 Tim Harder
2017-06-21 11:19 Alexis Ballier
2017-06-21 11:17 Alexis Ballier
2017-06-16 10:10 Alexis Ballier
2017-05-26 11:20 Lars Wendler
2017-05-25 21:57 Lars Wendler
2017-05-25 15:48 Alexis Ballier
2017-05-18 15:43 Lars Wendler
2017-02-15 20:12 Alexis Ballier
2017-02-15 18:18 Markus Meier
2017-01-23 16:27 Agostino Sarubbo
2017-01-21 17:16 Agostino Sarubbo
2017-01-21 14:10 Jeroen Roovers
2017-01-21 11:37 Tobias Klausmann
2017-01-20 18:57 David Seifert
2017-01-14 12:47 Jeroen Roovers
2016-12-24 10:26 Agostino Sarubbo
2016-12-22 9:34 Agostino Sarubbo
2016-12-20 9:44 Agostino Sarubbo
2016-12-19 15:12 Agostino Sarubbo
2016-12-19 14:35 Agostino Sarubbo
2016-12-18 15:57 Agostino Sarubbo
2016-12-18 2:15 Aaron Bauman
2016-12-14 9:14 Tobias Klausmann
2016-11-26 21:27 Lars Wendler
2016-11-26 21:27 Lars Wendler
2016-09-22 9:52 Alexis Ballier
2016-07-18 10:08 Lars Wendler
2016-07-18 10:08 Lars Wendler
2016-01-16 14:02 Alexis Ballier
2015-12-03 9:02 Alexis Ballier
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=1709638509.7df49c9e536286449adc6704508a2510d54a5a7e.sam@gentoo \
--to=sam@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