diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-05 13:06:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-05 13:06:03 +0000 |
commit | f61d8811e916303cabe9fafdefbe188ba9b500d5 (patch) | |
tree | 2af9236d3e678dca4d443b94bfc1b88aec45c669 /media-libs | |
parent | 66a7d60eb8beba754ba79c2752cbf70fcf741b0b (diff) |
gentoo auto-resync : 05:03:2024 - 13:06:02
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 69184 -> 69191 bytes | |||
-rw-r--r-- | media-libs/dav1d/Manifest | 1 | ||||
-rw-r--r-- | media-libs/dav1d/files/build-avoid-meson-s-symbols_have_underscore_prefix.patch | 35 | ||||
-rw-r--r-- | media-libs/glm/Manifest | 1 | ||||
-rw-r--r-- | media-libs/glm/files/glm-1.0.0-clang.patch | 19 | ||||
-rw-r--r-- | media-libs/opus/Manifest | 2 | ||||
-rw-r--r-- | media-libs/opus/opus-1.5.1-r1.ebuild | 69 |
7 files changed, 71 insertions, 56 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex f442cbed23dd..c76eee5ab503 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest index af93576f2232..33953b82ee27 100644 --- a/media-libs/dav1d/Manifest +++ b/media-libs/dav1d/Manifest @@ -1,4 +1,3 @@ -AUX build-avoid-meson-s-symbols_have_underscore_prefix.patch 1300 BLAKE2B edb4998f3722b0a4da1ea4b7ea77c05f4a7d7be5dcdf6b3898c4930cbdb015dc63217a9ec6af03eece5c4209f62b8f7a855231c7ebc97f94df93193c92fec0d7 SHA512 82c12e98016cb1247ded7a1d5bc913b92632a99dba5b35881c2d35badfdf652fed77a9d70904c224bb909d9209b28e75205718f8495e6f41651ef387a684d047 DIST dav1d-1.2.1.tar.xz 873008 BLAKE2B 52478112f1f2c39a020556a8ed18c1267de93fc129941eb87b75fa872188a0389389ba9c7f7ae641726ca78a0a515ce5923968374b8122fec159f33c1f65e7bc SHA512 f172eebc0a5f6c51d31fc9e9758c2dd0de51d8a5d0e00c93a5f2b1b16b7b4a37b365f9c56dea95d400e66b63af5fa4c63d9e720719ac38852777fc8c6066e4a7 DIST dav1d-1.3.0.tar.xz 885220 BLAKE2B aa79eaa22adde287a31ed60b88ae8d4095e18b92359a7e30aecd13c10eafe07acdeeb2f0bdb232acc6b136cdbd87626ac641df0615683d50f355edfd6c028caf SHA512 a91d217b8656c452dd80f5597e988f0e7a2ea32b12092c2695e7dc388033db7b193f7a8c98413bec31d1c38af376561d39f7618b935c4feeb6498c5d2b43f6a4 DIST dav1d-1.4.0.tar.xz 942120 BLAKE2B e37f7abc222b9a0f774a76ef6dcc2f28c411220c0f92c2239e51c3313bf1109fb6e4feb1451049248e033f2dd79550536a773f3b7b07e5a7890e8bb760c0f596 SHA512 32fcb1d19f35bec62c05637987e0204cf76880af192685e0acb08ea30cb9dac889ee89be0f847c79c6c51210c375031b26cf6e4aabc91480e44777e9fb3cbe02 diff --git a/media-libs/dav1d/files/build-avoid-meson-s-symbols_have_underscore_prefix.patch b/media-libs/dav1d/files/build-avoid-meson-s-symbols_have_underscore_prefix.patch deleted file mode 100644 index f9c0dbbfaf2b..000000000000 --- a/media-libs/dav1d/files/build-avoid-meson-s-symbols_have_underscore_prefix.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://code.videolan.org/videolan/dav1d/-/issues/370 -https://code.videolan.org/videolan/dav1d/-/commit/c6a08b3aa1ee99dade53e5e32033bc1d14455a22 - -From c6a08b3aa1ee99dade53e5e32033bc1d14455a22 Mon Sep 17 00:00:00 2001 -From: Janne Grunau <janne-vlc@jannau.net> -Date: Tue, 21 Sep 2021 09:30:14 +0200 -Subject: [PATCH 1/5] build: avoid meson's symbols_have_underscore_prefix - -Meson's dynamic check is unreliable when additional compiler flags are -passed via CFLAGS. For example '-fprofile-instr-generate' in oss-fuzz' -coverage build. Fixes #370. ---- - meson.build | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 1bf69ab..1a7c409 100644 ---- a/meson.build -+++ b/meson.build -@@ -382,7 +382,11 @@ endif - - cdata.set10('ARCH_PPC64LE', host_machine.cpu() == 'ppc64le') - --if cc.symbols_have_underscore_prefix() -+# meson's cc.symbols_have_underscore_prefix() is unfortunately unrelieably -+# when additional flags like '-fprofile-instr-generate' are passed via CFLAGS -+# see following meson issue https://github.com/mesonbuild/meson/issues/5482 -+if (host_machine.system() == 'darwin' or -+ (host_machine.system() == 'windows' and host_machine.cpu_family() == 'x86')) - cdata.set10('PREFIX', true) - cdata_asm.set10('PREFIX', true) - endif --- -2.32.0 - diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest index 3c532e296b07..65c76984f019 100644 --- a/media-libs/glm/Manifest +++ b/media-libs/glm/Manifest @@ -1,7 +1,6 @@ AUX glm-0.9.9.6-simd.patch 427 BLAKE2B 9f6e4637ff526497ba9a77247125d1fe5f06eda9bb689b5c42661deb72703b004e2c18f7236503f0673b354ba0e6fa7b13361606ea64fc0e7b9e55eccead91a2 SHA512 72f46827cd6651dd6fddc7ba548f8d9132fd74b9799a8eca6e94435141e96f752917b4343d4c3f37536bbc7713e978e4d85842da6d262c086019eb85f351a431 AUX glm-0.9.9.8-big-endian-tests.patch 3463 BLAKE2B 4a71bfd885de6cbd715dfb4eefff0d6e7795001de2f418085455609b3a53be71e22e895236a7a20b8a38e886621cca758aa489522c4514534182890d33586d9a SHA512 6b5432bde02f57251203a40b52991c9b41422683740f3f2138b5adef96d47ec9123e4caee3b27be4c38cc3f0418ca821e1016966a5370b6df433b8e05fdd5eab AUX glm-0.9.9.8-clang.patch 712 BLAKE2B 1bd883548efd33e33759828979f9d62be0576b76ae187ea0ff52a817b58262e5e7859d99d5405e87ebef1fa30bb70f712636acb4bdf12e61b54536b363074b69 SHA512 be04ae74a3466516a284dd159dae0c0e063f2b5b424b3552888d36adbd24a937c7beb27bd0bbb917343bb9746198ae14b39fdad5ff117e408d89b4bf00badd1a -AUX glm-1.0.0-clang.patch 908 BLAKE2B 7f61e1c357a21e7da455e0e8d8ebb6ee151c8bb68083538dd27732be8535c3fe17349e176e4a8f52b3ba87ac3856236231d6b6621dc6f1ad0b0bf4e2389bb065 SHA512 e3cc4888f90b6b1a4f3920b6a2828f4db9b59ef1e933e3dd39c1a9733e61fa4c5d2b51715aa2373ed6bbd0a9e9d3d38376e0d73d4337307f28b82f19e6de65af AUX glm.pc.in 149 BLAKE2B 9a34ca2590ef006315e004fa6ba0b08469c9da348d8354d0ab6a7e602da1d49126cffbd28c2aab2e2dbe711d047d482b4aead45d1e8770ab571e23e895201b4d SHA512 c875971c208bac82c1a326ebcd327ec9dd92a5b86981d26bf759516107204876a401ac9c57ca6c9965021364678ebbffcaaca6a3b4ee0e532d468d7b03b3ab9b DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a SHA512 9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8 DIST glm-1.0.1.tar.gz 4567161 BLAKE2B 2a6f399710f5812d4060b994df454e0c0e4fc7fcaccdfa62de6de2886987349b266944313539a398733708043c887f1324fe33eef8aa2205ef77e7c0dff28fec SHA512 c6c6fa1ea7a7e97820e36ee042a78be248ae828c99c1b1111080d9bf334a5160c9993a70312351c92a867cd49907c95f9f357c8dfe2bc29946da6e83e27ba20c diff --git a/media-libs/glm/files/glm-1.0.0-clang.patch b/media-libs/glm/files/glm-1.0.0-clang.patch deleted file mode 100644 index 0223129f6c04..000000000000 --- a/media-libs/glm/files/glm-1.0.0-clang.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/CMakeLists.txt 2024-01-25 07:39:25.528947981 +0100 -+++ b/CMakeLists.txt 2024-01-25 07:39:45.377618695 +0100 -@@ -241,7 +241,7 @@ - endif() - - if(NOT GLM_DISABLE_AUTO_DETECTION) -- add_compile_options(-Werror -Weverything) -+ add_compile_options(-Weverything) - endif() - # add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct -Wno-nested-anon-types) - # add_compile_options(-Wno-undefined-reinterpret-cast -Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral -Wno-float-equal) -@@ -252,7 +252,6 @@ - endif() - - if(NOT GLM_DISABLE_AUTO_DETECTION) -- add_compile_options(-Werror) - # add_compile_options(-Wpedantic) - # add_compile_options(-Wall) - # add_compile_options(-Wextra) diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest index e38193dea9f4..42782c9a8f7a 100644 --- a/media-libs/opus/Manifest +++ b/media-libs/opus/Manifest @@ -1,5 +1,7 @@ AUX opus-1.3.1-libdir-macro.patch 359 BLAKE2B 901a1f09417bb962b3268a1d9a85cfc356df9c67b05452e31599c37cf9c0a2267c50e6b9bd820af2445d54a290d4170492bff692566c01e9b1841ed755b9c020 SHA512 ec9643035203e70589eeed1079cf4da7af548fc1e2f8f30645217042e6adb3f9e0f874dcbd96ad49c07637abb3abca94c201cfc7dd41ad1d687ecbc00320eb2c 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 EBUILD opus-1.4.ebuild 1660 BLAKE2B 36a379c1e2a02bf6951b2bdcade01e3af4e06ac612e4828b810496c8df459a65ef8f11c115d17ab1595128b9b8b9efe7aefc790a792a6a41e76dc0cc23e3f977 SHA512 f6c0cbf2c72fe29ef9e59f56be5e1e62a1ab513a62b23ce1285f0f90646b9f4eeb58e033be4de2f1c4153df84c9519672e3be8dcbad692cae5978c266f5fd94a +EBUILD opus-1.5.1-r1.ebuild 1762 BLAKE2B c3db917c0833a792ade34f5c44876b931b9940bde30d1ff42e833feaa4b7cb8a572ae0d50b384a67dd43504a704afdcecae596c36438166e79f69b34e4ab7ed1 SHA512 d09e54f931125e6301f9947826e0416dc4e084c46f5eb0618719607fc4884ea51671022839697c6e9b9633286efc28e19ebcffd42da8c8216449555d86217ab7 MISC metadata.xml 538 BLAKE2B d65f695f3bf53cb827c9fbfc621cb58f3465e77f74f3bb3c436fc8741161798b6f7dc3381a07e21f7f1e5310104ed89179c64d9ab30f2102c76ef6ee73ad9ebc SHA512 0e84eba3a3711486a9569e7d38b0fe7cd11aa0d68c123f3304b6b698394dff4e48f4270624793cdc17a16a3ac8c9f921ae50bcbb30b920916b4bad9ae60c7117 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 +} |