From b92911550490e2da121ec4b02d3cf60a2d31a17d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 Apr 2024 12:04:26 +0100 Subject: gentoo auto-resync : 16:04:2024 - 12:04:26 --- media-libs/opus/Manifest | 2 ++ media-libs/opus/opus-1.5.2.ebuild | 64 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 media-libs/opus/opus-1.5.2.ebuild (limited to 'media-libs/opus') diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest index d48eee878509..e6c689459700 100644 --- a/media-libs/opus/Manifest +++ b/media-libs/opus/Manifest @@ -2,6 +2,8 @@ AUX opus-1.3.1-libdir-macro.patch 359 BLAKE2B 901a1f09417bb962b3268a1d9a85cfc356 AUX opus-1.4-arm64-neon.patch 888 BLAKE2B 31a46a4d4cda3381bbd2406bc5f3c8d3ee2c91df8616f2b7e1169925651447b2474839fb3fb03c34f5f66922f6e9fe1947c864e00a1fe786ec0f2b81c6c99166 SHA512 3b7a57da6499eef821119ba66a207a73c47cbfafeda76c411c5293ad77df1d6955ab96815ccc19eba0aeefc6e75502c13a75afd5d50c3ebc51fc53a40b1218ea DIST opus-1.4.tar.gz 1063408 BLAKE2B 21f11df745cb868f4da1586d678901045fd9bd0c0590628015f3adc2522c88b0660df88096abe975051fec3188b76b93762c4a01907c2ab2b23c40fde79cf6ad SHA512 1ecd39e0add24de12823bf7c936bb67441228721e2cdae0edbfcf3cee0894bcc6edf2a1d0ca5cdfdad1565803bf39cc4c985ad32710c2a9582f850adeb5ca631 DIST opus-1.5.1.tar.gz 7834540 BLAKE2B 5ba1d6f28594f366b545507bafb22751e15a0e78e152e7cdef456dccb0bc9fc512faa18c90fb4ea5455a9535de89df987dea8a0fabce9a25c285d0c410d4b482 SHA512 fa66c5d753f5deb5d61d068ff8f633d8cb5f454c94aeee9c404023ebc483f9b350586cdd98b7013faf4df3193e170a1708aaa598914275f7bc8be07587cc4dc6 +DIST opus-1.5.2.tar.gz 7839412 BLAKE2B 1c54de8171df1da69b64a2eca4ce97a0280cfceafb387f40ef1186add366030a397fabc19b18cf1e50d6dbaccb027697d1e2b3da4fa6ab73d70c2b4e723e87f7 SHA512 78d963cd56d5504611f111e2b3606e236189a3585d65fae1ecdbec9bf4545632b1956f11824328279a2d1ea2ecf441ebc11e455fb598d20a458df15185e95da4 EBUILD opus-1.4.ebuild 1660 BLAKE2B 36a379c1e2a02bf6951b2bdcade01e3af4e06ac612e4828b810496c8df459a65ef8f11c115d17ab1595128b9b8b9efe7aefc790a792a6a41e76dc0cc23e3f977 SHA512 f6c0cbf2c72fe29ef9e59f56be5e1e62a1ab513a62b23ce1285f0f90646b9f4eeb58e033be4de2f1c4153df84c9519672e3be8dcbad692cae5978c266f5fd94a EBUILD opus-1.5.1-r1.ebuild 1759 BLAKE2B 61f2d7347e55d4e6017167cfaa8dcb4056bb60a358c2539371a77d6831d2a8236ec01cef61951faeba6bee990e38d799c3169e5e3deeb0c1c293337b20af5564 SHA512 35254b59815ca699e1b2f3f22f6da197c64ce52f2e7c504de9b9b6eaec5e2913ada136f2c3f8f7ee1feef756719dfc9cb55d591e6b9c2e9eb28a5d8e77e747c2 +EBUILD opus-1.5.2.ebuild 1612 BLAKE2B f0750b2cc73ffca17ed37108a4518044b3bb5fa7d1d0a2150ae679b0cbc83cc1c3675fec41bf3e810c580a8b21e2de9da5e27294d75215da43765c405e52a67d SHA512 1861cffddda4c239a5a7032aefc4c177462e82b7a09e00bbc92453aa95e0c00aa9f6125f7151428c76be2509289c918a420768db3ab9b4753ef6dcb779c93ee2 MISC metadata.xml 538 BLAKE2B d65f695f3bf53cb827c9fbfc621cb58f3465e77f74f3bb3c436fc8741161798b6f7dc3381a07e21f7f1e5310104ed89179c64d9ab30f2102c76ef6ee73ad9ebc SHA512 0e84eba3a3711486a9569e7d38b0fe7cd11aa0d68c123f3304b6b698394dff4e48f4270624793cdc17a16a3ac8c9f921ae50bcbb30b920916b4bad9ae60c7117 diff --git a/media-libs/opus/opus-1.5.2.ebuild b/media-libs/opus/opus-1.5.2.ebuild new file mode 100644 index 000000000000..d26bfda3e5d1 --- /dev/null +++ b/media-libs/opus/opus-1.5.2.ebuild @@ -0,0 +1,64 @@ +# 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) + + $(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 +} -- cgit v1.2.3