diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 19:00:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 19:00:40 +0000 |
commit | a7689c2abcff4374b84d95fb2df980ec9a566965 (patch) | |
tree | c3a326274492772c07c074a813f1047d5d7f3d62 /media-libs | |
parent | b1193c219a8c8da6e1e76cb5d394da129abbca41 (diff) |
gentoo auto-resync : 24:03:2024 - 19:00:40
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 69498 -> 69509 bytes | |||
-rw-r--r-- | media-libs/dav1d/Manifest | 4 | ||||
-rw-r--r-- | media-libs/dav1d/dav1d-1.4.1.ebuild | 61 | ||||
-rw-r--r-- | media-libs/dav1d/metadata.xml | 2 | ||||
-rw-r--r-- | media-libs/libopenmpt/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libopenmpt/libopenmpt-0.7.4.ebuild (renamed from media-libs/libopenmpt/libopenmpt-0.7.2.ebuild) | 2 | ||||
-rw-r--r-- | media-libs/libsoundtouch/Manifest | 7 | ||||
-rw-r--r-- | media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch | 33 | ||||
-rw-r--r-- | media-libs/libsoundtouch/files/libsoundtouch-2.3.2-flags.patch | 18 | ||||
-rw-r--r-- | media-libs/libsoundtouch/libsoundtouch-2.3.2-r1.ebuild | 63 | ||||
-rw-r--r-- | media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild | 10 | ||||
-rw-r--r-- | media-libs/libsoundtouch/metadata.xml | 2 |
12 files changed, 194 insertions, 12 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex e47cdbcca793..8b9c6e9ff2aa 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest index 33953b82ee27..ee5f97eab7f7 100644 --- a/media-libs/dav1d/Manifest +++ b/media-libs/dav1d/Manifest @@ -1,8 +1,10 @@ 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 +DIST dav1d-1.4.1.tar.xz 948044 BLAKE2B 6d8ddd4ef25055b8de33aa7608085e6569cb9e47ed312c9f57119c8961fd532d786e12722aa550b5f4584a9cca95022ac138b714e2a22b05547713465e43ed56 SHA512 51d893d5128eb3bd5c563bee82a1a450296e596763f64c10cea631aeaf655572b72dcab78be2f1e0d998010d7d22eb376b64603e5f568efe16d75eb5efaeac35 EBUILD dav1d-1.2.1.ebuild 1347 BLAKE2B de3670e808679ad49a33c8d276a2affaef135e36210dbbad92edc657340c8b532145abc96ce44dbcd991ee770f1c8b2a254a8d4edab776c24a000e2424a83898 SHA512 6317af6c42186aa921dee05fa704a3c7ab4a25b7aa48ac8541911014b92282cc6df13e5f7792f68a8987f2688a0ceb82dd8285eb4354f5f8c35f55458f7bf69a EBUILD dav1d-1.3.0.ebuild 1366 BLAKE2B d7bf0bdd1860a58b7fed04790177a7196d93830851bff260dd38e5de8568bb9c02f7882276c404280120b779df93cb8dfa586d3ac6e8513e4f75f918374852aa SHA512 5be01cf0c22e2faf1b7375f71e408bcae9dbe2ff56a6e22baef7124107ea24a5f9ec280e8f4bf554ac08ea0f52f3a572c6a2d781fdc4cf8f67323c5193119c82 EBUILD dav1d-1.4.0.ebuild 1373 BLAKE2B 3117b8d931538b519d0c6f39ad640a170bdc316b83ea6148f40df49d903acbdf4e9054e2553633bcdda4bc283f8b700c1e44bd14db7c2b2d8fff575b6caf9531 SHA512 091778cda9c59f884b9e8d1e69322d5b12bf66d72ada57e2e99ec2ea9f6300e716e5022ccbe78d64e1b8677627db1cbda7aa3e1e0432bbfa11161c9a04fba2d0 +EBUILD dav1d-1.4.1.ebuild 1373 BLAKE2B 3117b8d931538b519d0c6f39ad640a170bdc316b83ea6148f40df49d903acbdf4e9054e2553633bcdda4bc283f8b700c1e44bd14db7c2b2d8fff575b6caf9531 SHA512 091778cda9c59f884b9e8d1e69322d5b12bf66d72ada57e2e99ec2ea9f6300e716e5022ccbe78d64e1b8677627db1cbda7aa3e1e0432bbfa11161c9a04fba2d0 EBUILD dav1d-9999.ebuild 1373 BLAKE2B 3117b8d931538b519d0c6f39ad640a170bdc316b83ea6148f40df49d903acbdf4e9054e2553633bcdda4bc283f8b700c1e44bd14db7c2b2d8fff575b6caf9531 SHA512 091778cda9c59f884b9e8d1e69322d5b12bf66d72ada57e2e99ec2ea9f6300e716e5022ccbe78d64e1b8677627db1cbda7aa3e1e0432bbfa11161c9a04fba2d0 -MISC metadata.xml 614 BLAKE2B 8ffc2f4fda046aeced2518719c445031ce26e093e9a6b96766e3d8c3800392d7227dbea708e0ed3b1e8869ab9572a7030085b117e0475dc61144e72531617816 SHA512 a87e812e2b1a2cfc107abe4bc724b9c0c175b67caef103de761aef0e95f8ef265388ca3d3f00ee774a93f6b659922c403d355158a67273b91c75b4edc6d11b24 +MISC metadata.xml 616 BLAKE2B e1761e4fa6578e904fb77dfc366a718e1c892583abc30f3552f64385826f0f898d8ba5a288fea3d297bf998acab596deac9532f7a13f123b2f996d13a128df4f SHA512 0f33c2977773ed2ed4dba9b70de50ace72248938c19eafbdf9828ec28aa462aaa9c8f17ed3b5d51cc83f27265ed79769c1df6a62ebe103005e1b3b0660230b7c diff --git a/media-libs/dav1d/dav1d-1.4.1.ebuild b/media-libs/dav1d/dav1d-1.4.1.ebuild new file mode 100644 index 000000000000..5a9b234dae6e --- /dev/null +++ b/media-libs/dav1d/dav1d-1.4.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d" + inherit git-r3 +else + SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" +fi + +inherit meson-multilib + +DESCRIPTION="dav1d is an AV1 Decoder :)" +HOMEPAGE="https://code.videolan.org/videolan/dav1d" + +LICENSE="BSD-2" +# Check SONAME on version bumps! +SLOT="0/7" +IUSE="+8bit +10bit +asm test xxhash" +RESTRICT="!test? ( test )" + +ASM_DEPEND=">=dev-lang/nasm-2.15.05" +DEPEND="xxhash? ( dev-libs/xxhash )" +BDEPEND=" + asm? ( + abi_x86_32? ( ${ASM_DEPEND} ) + abi_x86_64? ( ${ASM_DEPEND} ) + ) +" + +DOCS=( README.md doc/PATENTS THANKS.md ) + +multilib_src_configure() { + local -a bits=() + use 8bit && bits+=( 8 ) + use 10bit && bits+=( 16 ) + + local enable_asm + if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then + enable_asm=false + else + enable_asm=$(usex asm true false) + fi + + local emesonargs=( + -Dbitdepths=$(IFS=,; echo "${bits[*]}") + -Denable_asm=${enable_asm} + $(meson_use test enable_tests) + $(meson_feature xxhash xxhash_muxer) + ) + meson_src_configure +} + +multilib_src_test() { + if multilib_is_native_abi ; then + meson_src_test + fi +} diff --git a/media-libs/dav1d/metadata.xml b/media-libs/dav1d/metadata.xml index 1c714a6a3baf..ee250866e0d4 100644 --- a/media-libs/dav1d/metadata.xml +++ b/media-libs/dav1d/metadata.xml @@ -10,7 +10,7 @@ <flag name="xxhash">Enable <pkg>dev-libs/xxhash</pkg> support for hashing muxer</flag> </use> <upstream> - <bugs-to>https://code.videolan.org/videolan/dav1d/issues</bugs-to> + <bugs-to>https://code.videolan.org/videolan/dav1d/-/issues</bugs-to> <remote-id type="cpe">cpe:/a:videolan:dav1d</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest index 95292091f88f..1c7dbea8bbfd 100644 --- a/media-libs/libopenmpt/Manifest +++ b/media-libs/libopenmpt/Manifest @@ -1,7 +1,7 @@ DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf -DIST libopenmpt-0.7.2+release.autotools.tar.gz 1651153 BLAKE2B 170066149d443f465caa74cc308e00394dea8925753466be72a57a2e3625befaf18e3c6e9acb17f2a98068c53487093726a5a7e2a49b4efc093dd85a9073e197 SHA512 5a92641679c72694d29b2bfe46f50ad31c964426f43213b67561f67a21c5683a13a61b0810fced3c46c071f40857a2c564a68947334792e94830cbe66dc5716d DIST libopenmpt-0.7.3+release.autotools.tar.gz 1648862 BLAKE2B aec630daa7a40d1e0da36593c4bc8c8065f6d54a58bb5707ee3f5d00009368e0421b6ac892b9e4c1b9f952a8e5d59168078b548d27738fbdd27673486b2c1b08 SHA512 c88b92409114435d1596d617c04eb2436afe93de611898708587e018c8b8eb6fe45865d2e9144b3647501faa39ba633616204a5f752cbbc88f84eda20444db35 +DIST libopenmpt-0.7.4+release.autotools.tar.gz 1651458 BLAKE2B 46e9132984a513a452ce762cddd097a00d5dce81c7370c1b577eef1f68f91fa9c3527e018531119ba016a246ae9882330f79f61f2f8accf2f28fd9b29dceaab9 SHA512 512aa6a37b5eeb017604873bc1cbed4495116fd4bc3538bf83bc6b59e05178874ef08de11d95d30480b7081826352e00214f4713b5b75ea5593fba126d842034 EBUILD libopenmpt-0.6.6.ebuild 1560 BLAKE2B 649dbcde7c2bc9aabf1b50f6d7e232e1173f6669e9b73afb34b9cf6273783f52193dda79aa52d54fc0e502fe3a978bbba79bf04c631d2141b91c8d456e8ec4ac SHA512 35cea07a2a46d8f316455e5115e6388b601bb5fe8218a4460e4b523e4401b8b771d2d1149fbb5f97462bd8361ea842034040d80a40ed91166056f24273288bb0 -EBUILD libopenmpt-0.7.2.ebuild 1565 BLAKE2B da86f174c6c24da959fe1baabc7d70249c870a08d7162fbf6ed793e40cad0696c3812fb2e402ba33a60cd25449517af0a41dd0198e6c7e0e3836e16c92ef970e SHA512 075238ff1e67e47e69af8a259afca6cc77c47c8cb4620acc32830635fd279f247272c0686d8fc97b7f8b4152e2079d35dd65de079c6ffd99ac726f6eb8203735 EBUILD libopenmpt-0.7.3.ebuild 1565 BLAKE2B da86f174c6c24da959fe1baabc7d70249c870a08d7162fbf6ed793e40cad0696c3812fb2e402ba33a60cd25449517af0a41dd0198e6c7e0e3836e16c92ef970e SHA512 075238ff1e67e47e69af8a259afca6cc77c47c8cb4620acc32830635fd279f247272c0686d8fc97b7f8b4152e2079d35dd65de079c6ffd99ac726f6eb8203735 +EBUILD libopenmpt-0.7.4.ebuild 1565 BLAKE2B 38801d8d41168da193233f4795af47d83f1b059e34aebb92b305ace8ff358f0779e77d2abc9ab2d4ec2a7f064ce315cdeeace1046b8439ff92bc22d1910baf1f SHA512 11e26a0dfc5121aa31e3c0b91ada621c378cbc2ada8b47aa6b462bae9734880703a88c4681c374963e52b4c8ecf7337b7105269484c7071f9d1dd16823ee9596 MISC metadata.xml 328 BLAKE2B 25f8b37a7e7885a50e5b7305c9090033c78b1154214e05060c3407f0d27ac436aa3f0da1dff3a5ba1685bef390f1fe99416893aaf59e002921cc3464ce0d2167 SHA512 6686c75dbfcd5a5f9d6ef4d667916f54388180045471f8eb585c7b0d6e03f5d56c3fc892c97851f7453318309a456bbfd877eb240cbf008b71984009d08a8181 diff --git a/media-libs/libopenmpt/libopenmpt-0.7.2.ebuild b/media-libs/libopenmpt/libopenmpt-0.7.4.ebuild index e5e9549227c0..b84da35eda01 100644 --- a/media-libs/libopenmpt/libopenmpt-0.7.2.ebuild +++ b/media-libs/libopenmpt/libopenmpt-0.7.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest index 0e812cf8d675..7bbfae198c21 100644 --- a/media-libs/libsoundtouch/Manifest +++ b/media-libs/libsoundtouch/Manifest @@ -1,3 +1,6 @@ +AUX libsoundtouch-2.3.2-configure-bashism.patch 1134 BLAKE2B fcb5153cdf22f46061bdc5cac4d71e6f0db92b05b20907457b4ae37f613a2851fd04d00274fe9f40a471c1a356b4c7ebc066eca014fc2da76eed6ccecfbba368 SHA512 b0f9c26575f660c647a41a1812162262f4cbe107ead10ba8d821af206fd0e066d1384fae854b5bcf0229ff74cf15f8d75831bbdc6939754c2a7d41253ec1f344 +AUX libsoundtouch-2.3.2-flags.patch 677 BLAKE2B 9fb460e75adf0d0223b96882e2ae0cbfcd6e33e7073824a35e599974bbdacf7b6c539f171fa6e80e999a86a767cee8ecab30c0c0c4be21def49704a19adec9b3 SHA512 851d46691867cf2021f53b27706ff8e3ede4f3300de91c9bd1edbb51a8972e45fd5a1443197bf531b388e551e7756583ef3cf950fc21f7f5e3c331b7d248d5bd DIST soundtouch-2.3.2.tar.gz 583373 BLAKE2B cd3c8fffaa81a2ed867f5a564dd7ff3047b4de576536c3c116162981261bf3789d16def1c94e5be2450373be3f61fd67fa44e3552e19cad7b7d5d56500b98255 SHA512 72cd38f3e11f3c55ff7ed3691fd9a749a5f8d072e08ed03f2fd43a8664962138afaf3e4647116940e86f6ae374a1ba3bcd4b108280da29f3ffa6091cf383ea35 -EBUILD libsoundtouch-2.3.2.ebuild 1553 BLAKE2B 0b4bf6bd4cba07486963d24c410405c256a976e514adaefa24d8d0719e5c6b1863f387dbbb83d09bad139a9053f9ce7b4a72908c395890bfc8ea025bbff493ca SHA512 f4fb640263e6b1870e6f9f6e97094f1ca06c9277ee485f62f8cac305cac1ae975578984bffbb5171eec9630b3d902499a0000c6d922ebb9c88b3ef24964bc699 -MISC metadata.xml 340 BLAKE2B 79434139d8b16ccc23413b2d7edeb5ac184e75c88db217aacec899034da6bd355bb764b25954d7857f6abf9bc7136708ed5313abbc2b58ed580b22c705a9191d SHA512 9dce73f2eef4da8acf3d2bfc4e2c44faefe42ca63173db09adfd00943a9de363716a6090817016b422b7bc12305b995ccd379ff649ac7c38cb3c95948ceb2319 +EBUILD libsoundtouch-2.3.2-r1.ebuild 1592 BLAKE2B 87e6a634297fc30d74f04b0ff1d05829a62961499e6f6a06ed57152355e62095fd1a0d878d4e8c67019aa7d71ab1ca19fd3c739e65441581f12f2b8c66d496de SHA512 a8e841bcbff6672ea8c4d8ed6decef89d05d2c4def2456d228479eb6838066b3b2d63789c97460fb1b2b7d06588c0b77c52e1cb8375d570b74555784d0f7abf0 +EBUILD libsoundtouch-2.3.2.ebuild 1549 BLAKE2B 7cbe6be88e41e0dc047d5f0d9b8e665f710d7d4d39d0001e124a0e34940896f87fbafc5a6c87b3def415b0609e195a389e2051b59d06bbf4082e4d4ad84d0b7d SHA512 eb4a5180a332f98596bd5bcb9c54775b408f4f1eaf901e89a647cccbb1b95a3bc693e6b69bca2584af64f5ae7beb46ce915bf3bcfdcf459b225ed18a6c959dfd +MISC metadata.xml 342 BLAKE2B e6cf68e7f7b3388d470217ab284df262c30c97ab45dee72af996dffaf6da83dccdc20d9637838a4af5ba841dc83de91e4d7221b91d1c530ad87905cf776145d5 SHA512 8255b1dcaeab7ee22bca3c7625a534a1c41c4c5adf94471f46f5a6516c9cafc1525cff4c16d6424ab6e9962b5030553d969526da804bd9ae6df98788c1556121 diff --git a/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch b/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch new file mode 100644 index 000000000000..b49ebcd38aae --- /dev/null +++ b/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch @@ -0,0 +1,33 @@ +https://codeberg.org/soundtouch/soundtouch/pulls/34 + +From 429a4669cfee54ec69f8be61cc4b5ac2d87d1254 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 24 Mar 2024 07:19:34 +0000 +Subject: [PATCH 2/2] configure.ac: fix bashism in CXXFLAGS assignment + +configure scripts need to be runnable with a POSIX-compliant /bin/sh. + +On many (but not all!) systems, /bin/sh is provided by Bash, so errors +like this aren't spotted. Notably Debian defaults to /bin/sh provided +by dash which doesn't tolerate such bashisms as '=='. + +This retains compatibility with bash. + +Fixes configure warnings/errors like: +``` +checking whether make supports nested variables... (cached) yes +configure: 3698: CXXFLAGS+= -Ofast: not found +``` + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/configure.ac ++++ b/configure.ac +@@ -33,7 +33,7 @@ AC_LANG(C++) + + # Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization + # generate effective SIMD code. +-CXXFLAGS+=" -Ofast" ++CXXFLAGS="${CXXFLAGS} -Ofast" + + # Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')" + AR_FLAGS='cr' diff --git a/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-flags.patch b/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-flags.patch new file mode 100644 index 000000000000..badd42e43b26 --- /dev/null +++ b/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-flags.patch @@ -0,0 +1,18 @@ +https://codeberg.org/soundtouch/soundtouch/pulls/35 +--- a/source/SoundTouchDLL/Makefile.am ++++ b/source/SoundTouchDLL/Makefile.am +@@ -34,7 +34,7 @@ libSoundTouchDll_la_SOURCES=../SoundTouch/AAFilter.cpp ../SoundTouch/FIRFilter.c + # Compiler flags
+
+ # Modify the default 0.0.0 to LIB_SONAME.0.0
+-LDFLAGS=-version-info @LIB_SONAME@
++AM_LDFLAGS=$(LDFLAGS) -version-info @LIB_SONAME@
+
+ if X86
+ CXXFLAGS1=-mstackrealign -msse
+@@ -44,4 +44,4 @@ if X86_64 + CXXFLAGS2=-fPIC
+ endif
+
+-CXXFLAGS+=$(AM_CXXFLAGS) $(CXXFLAGS1) $(CXXFLAGS2) -shared -DDLL_EXPORTS -fvisibility=hidden
++AM_CXXFLAGS=$(CXXFLAGS) $(CXXFLAGS1) $(CXXFLAGS2) -shared -DDLL_EXPORTS -fvisibility=hidden
diff --git a/media-libs/libsoundtouch/libsoundtouch-2.3.2-r1.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.3.2-r1.ebuild new file mode 100644 index 000000000000..642ab60742a3 --- /dev/null +++ b/media-libs/libsoundtouch/libsoundtouch-2.3.2-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal toolchain-funcs + +MY_PN=${PN/lib} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates" +HOMEPAGE="https://www.surina.net/soundtouch/ https://codeberg.org/soundtouch/soundtouch" +SRC_URI="https://www.surina.net/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_PN}" + +LICENSE="LGPL-2.1" +# subslot = libSoundTouch.so soname +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="cpu_flags_x86_sse openmp static-libs" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-2.3.2-configure-bashism.patch + "${FILESDIR}"/${PN}-2.3.2-flags.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --enable-shared + --disable-integer-samples + $(use_enable cpu_flags_x86_sse x86-optimizations) + $(use_enable openmp) + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +multilib_src_install() { + emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild index 36bff7c7e4a5..65fd97ae6c73 100644 --- a/media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild +++ b/media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,8 +8,9 @@ inherit autotools multilib-minimal toolchain-funcs MY_PN=${PN/lib} MY_P=${MY_PN}-${PV} DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates" -HOMEPAGE="https://www.surina.net/soundtouch/ https://gitlab.com/soundtouch/soundtouch" +HOMEPAGE="https://www.surina.net/soundtouch/ https://codeberg.org/soundtouch/soundtouch" SRC_URI="https://www.surina.net/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_PN}" LICENSE="LGPL-2.1" # subslot = libSoundTouch.so soname @@ -19,7 +20,9 @@ IUSE="cpu_flags_x86_sse openmp static-libs" BDEPEND="virtual/pkgconfig" -S="${WORKDIR}/${MY_PN}" +PATCHES=( + "${FILESDIR}"/${PN}-2.3.2-configure-bashism.patch +) pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp @@ -32,7 +35,6 @@ pkg_setup() { src_prepare() { default sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die - sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die eautoreconf } diff --git a/media-libs/libsoundtouch/metadata.xml b/media-libs/libsoundtouch/metadata.xml index 80c5adc46a80..fe8f7a319269 100644 --- a/media-libs/libsoundtouch/metadata.xml +++ b/media-libs/libsoundtouch/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Sound project</name> </maintainer> <upstream> - <remote-id type="gitlab">soundtouch/soundtouch</remote-id> + <remote-id type="codeberg">soundtouch/soundtouch</remote-id> </upstream> </pkgmetadata> |