summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
commit59d772d9463f8cf6a145a677bedbf377a0625aff (patch)
tree5a0e382968fd656a056c886e36cfb4491535b489 /media-libs
parent2a3e0d61b3d88306b6fae46756f9ba7d230222ae (diff)
gentoo auto-resync : 14:12:2024 - 02:02:07
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69737 -> 69745 bytes
-rw-r--r--media-libs/jg/Manifest2
-rw-r--r--media-libs/jg/metadata.xml1
-rw-r--r--media-libs/libjpeg-turbo/Manifest2
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-3.1.0.ebuild126
-rw-r--r--media-libs/opencv/Manifest2
-rw-r--r--media-libs/opencv/opencv-4.10.0.ebuild2
-rw-r--r--media-libs/speex/Manifest3
-rw-r--r--media-libs/speex/files/speex-1.2.1-slibtoolize.patch28
-rw-r--r--media-libs/speex/speex-1.2.1-r2.ebuild5
-rw-r--r--media-libs/speexdsp/Manifest3
-rw-r--r--media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch28
-rw-r--r--media-libs/speexdsp/speexdsp-1.2.1.ebuild7
13 files changed, 199 insertions, 10 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 91397cff3620..bb008a7c7bc5 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/jg/Manifest b/media-libs/jg/Manifest
index 9d940bde0f0a..b5daeb7b903a 100644
--- a/media-libs/jg/Manifest
+++ b/media-libs/jg/Manifest
@@ -1,4 +1,4 @@
DIST jg-1.0.0.tar.bz2 12540 BLAKE2B 0f50221737a3bf294731e593988f9e6314291b3ab8389610ce0a0b6d8bf870dc49312b3129ff1479fde518ab35aeb47b172022c0630b09903a384a6d95c5ba0c SHA512 183766714279fe9fc30887d92ca533931a9906f53b4b8c2c8032914fa375e5f40f540ba4c2c32569f5ed956f108eb1e483227e42b59fb08fea6872fe9526b4fb
EBUILD jg-1.0.0.ebuild 626 BLAKE2B 642903342311adc70a456fe28d30da983b69b6aca7a1a853a80dee824b06c8867fab5bda10aeccda6426102fdd6865784e02b2cf00f8431c293d9446134968c5 SHA512 6c2ded049cb27ca06fdd46c894da2fcedf66efcab224d6e2e1e0a0b3c5b50551fbf22402773b796b5ad444dcedcdc5975f1d8803048655f3f64f63d4cc071fa0
EBUILD jg-9999.ebuild 626 BLAKE2B 642903342311adc70a456fe28d30da983b69b6aca7a1a853a80dee824b06c8867fab5bda10aeccda6426102fdd6865784e02b2cf00f8431c293d9446134968c5 SHA512 6c2ded049cb27ca06fdd46c894da2fcedf66efcab224d6e2e1e0a0b3c5b50551fbf22402773b796b5ad444dcedcdc5975f1d8803048655f3f64f63d4cc071fa0
-MISC metadata.xml 793 BLAKE2B e1da0494738ce82ea8e2cc4798fe5eace66762de4140f4304f99cb8c85bb64e5d73324e59fc31f96586a398ca9066d1bbcf6eb5e55b1dd29bebdc6e46c71e6cd SHA512 ce0346a4d32c594d4f7811b61b03b7386df2899ed403b8a9e6442c9d633419b35b79d0330fb5ff3aee1805dd26ff638f8b11ed59fd95301a2c10e24f00a498c2
+MISC metadata.xml 870 BLAKE2B 5e5790ac3c156496cb58ec7d28c3359336c7ff79a2a2f0ce6c676f6e3eb10d949ea09a8980db23c67a32bacf5f0bf0f0af30b236d69e5acc75590d5b66a25b78 SHA512 2f046bb161d08d96a6facfb338c76e727eb4920f0c502f4a9105fbacfd2268ef1b1c99cfc3f8e1da05f0822a4cacbd60427b6fe2f5c5f77c6ed019aec718634d
diff --git a/media-libs/jg/metadata.xml b/media-libs/jg/metadata.xml
index 4525b8490bca..84d023d82aa3 100644
--- a/media-libs/jg/metadata.xml
+++ b/media-libs/jg/metadata.xml
@@ -18,6 +18,7 @@
</longdescription>
<upstream>
<bugs-to>https://gitlab.com/jgemu/jg/-/issues</bugs-to>
+ <changelog>https://gitlab.com/jgemu/jg/-/blob/master/ChangeLog</changelog>
<remote-id type="gitlab">jgemu/jg</remote-id>
</upstream>
</pkgmetadata>
diff --git a/media-libs/libjpeg-turbo/Manifest b/media-libs/libjpeg-turbo/Manifest
index 65126c113ae6..dad725060a38 100644
--- a/media-libs/libjpeg-turbo/Manifest
+++ b/media-libs/libjpeg-turbo/Manifest
@@ -1,8 +1,10 @@
DIST libjpeg-turbo-2.1.5.1.tar.gz 2264936 BLAKE2B 9583a0a91e45347d651de6bf5192a23bfe4e64cef67cdbb18f5b578b424fc46fc114e5649e93a467906cf047948e43a11b6d17b48c47f879c51cff1a4ef356ff SHA512 86a7248d064043b26b09755633ef4872a2a6133c9e677a9fe4be6645b2e0fde102cf01e09119967b3b6b85f4cb93f3f7c49ec4973944d5eff99b5b90ce8b0be6
DIST libjpeg-turbo-3.0.3.tar.gz 2832827 BLAKE2B 9d141dadd0dce970bf857b51352c57a8e15180438abd7d6d66f9dfd24e23889add8c6c89120b84026e40ab61611516b0567984bd1db37e9c45b41917cf32e9a6 SHA512 7c3a6660e7a54527eaa40929f5cc3d519842ffb7e961c32630ae7232b71ecaa19e89dbf5600c61038f0c5db289b607c2316fe9b6b03d482d770bcac29288d129
DIST libjpeg-turbo-3.0.4.tar.gz 2400356 BLAKE2B cf951582ce7cdf0dce39075bb1cc58f6a61fa0bdaca4874a4f06a03d2cd11775bc626c8d391d4fc76574d302a781ba47e5c90e2aa2d6a21a8b8d06712437e241 SHA512 04d37d65131f7ab8586507fe6520452e791e9b8d72a08cf52f81279450b4c6b8a5b49ff3e14e358d3c32cb5666b6d4576d1e16895af8213a1761464de5dc9d31
+DIST libjpeg-turbo-3.1.0.tar.gz 2507094 BLAKE2B 1e83d5c062fa3700c23e2527812cb43daa1a5f97c7520c0a894c8333fbad4acd64586fdc3bf76e3692f8b9fa9b92014d18782949d0e30e80d0f2ba3608279f63 SHA512 63231854529f59a95814cf2414fe384360a4ed96c572764fabc535c3770c559d26943e129c905a63d5949088fa79138b1ffdb175b817f2f4d36329a3cbb23ea7
DIST libjpeg8_8d-2.debian.tar.gz 14764 BLAKE2B e93d12afa062da28b717b540492221f70e8d9ccf3885371647cf85a2937f938ca723d4a27d5e1c5d79c26aa25dddf69b38754558851a1704172e8b52baf8e17c SHA512 8c5959fb7583a2d61e9442187f67b91b45e72d9dd30db3360d583a3b5d8e1a908db5659f760bdd455b3056e6ae3535b2fd3b847df3d58b140a1816b754003675
EBUILD libjpeg-turbo-2.1.5.1.ebuild 3143 BLAKE2B a2a52f599228482c18199be582ac774913ec7071a51a1c0c9817a37521493379fa80697d093046f169b2accc73b136ec3e5d07c94c0619d91300943077da41b4 SHA512 0bdfb6ff0eaf030243f17eb68cb53a12586efef9c24b91f3761ff7d2f0bf5b8d15151ba041d1fb392d9cb8f0a2ebd20639d0523757ac6a146b7c1653b2364e28
EBUILD libjpeg-turbo-3.0.3-r1.ebuild 3242 BLAKE2B 5c687e8b79cd901087acaa652abc2058bbabd98cfdd78260414b562ddf2b2ea43c659d47bf6744881e994d91206202cacde906659d95d732f6285822e6dad589 SHA512 7ed1ac0767039d69e99bd88e238300c4070c3350ca4bf9f9ac8552c741a97db36ef1444cf47310e8c68ea06e73adb9e6ec78dc55f55c8fc25fbff9d84082e7ec
EBUILD libjpeg-turbo-3.0.4.ebuild 3250 BLAKE2B 867d428562de2ce0bc6b24d93e31ddf28110efd95e2da4ebe2bca4b0c9ce018ad548bafa2adbf0c67ee61aa43179960412df40c3ea9a9b1c8acc557d58307cab SHA512 949fe473f815605b0dada2f2f0701406f9d50535b6d7f6eae1b6dc8fbe2b566fac45400988366749e48000c1426fe4eb876fff02700ea246592253aa7dea8a6c
+EBUILD libjpeg-turbo-3.1.0.ebuild 3207 BLAKE2B 3ea09a7aecc8ad452a07a834e21a895e0272c8bb9141741872d1a13ed90222d1e86fada6c888f57057dc70019b540dad59df7d793fa4770a448dcc3bd03f6f24 SHA512 f61c51cadbabd6e18afb95dfb05a3ed26c9ceef78da62730fb40742d3b8744a346df8733cedd65ca787ea9712313c21cc1253d7f077afdc3abec4f742999d501
MISC metadata.xml 567 BLAKE2B b4e2dc1098bc3a518b8af80dd63a9d6d000c6a62ab26e9d7792743b10955738bfccde4f6e32d46599194d8f63066913dad4b20c7a8674917d7bf9cd217a0f9bc SHA512 d9af7f4a6ca425c6ae75ac96da3b4467c62dc3baa0be04e590dc821f17e03e12279ed1faf2e66944ce0bed9ed0c9b176e7e372278062588db7adc9ed71f200c1
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-3.1.0.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-3.1.0.ebuild
new file mode 100644
index 000000000000..c8a5827dfb68
--- /dev/null
+++ b/media-libs/libjpeg-turbo/libjpeg-turbo-3.1.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib java-pkg-opt-2
+
+DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library"
+HOMEPAGE="https://libjpeg-turbo.org/ https://github.com/libjpeg-turbo/libjpeg-turbo"
+SRC_URI="
+ https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/${PV}/${P}.tar.gz
+ mirror://gentoo/libjpeg8_8d-2.debian.tar.gz
+"
+
+LICENSE="BSD IJG ZLIB java? ( GPL-2-with-classpath-exception )"
+SLOT="0/0.2"
+if [[ $(ver_cut 3) -lt 90 ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris"
+fi
+IUSE="cpu_flags_arm_neon java static-libs"
+
+ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )"
+COMMON_DEPEND="
+ !media-libs/jpeg:0
+ !media-libs/jpeg:62
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ java? ( >=virtual/jdk-1.8:*[-headless-awt] )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ java? ( >=virtual/jre-1.8:* )
+"
+BDEPEND="
+ amd64? ( ${ASM_DEPEND} )
+ x86? ( ${ASM_DEPEND} )
+ amd64-linux? ( ${ASM_DEPEND} )
+ x86-linux? ( ${ASM_DEPEND} )
+ x64-macos? ( ${ASM_DEPEND} )
+"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h )
+
+src_prepare() {
+ local FILE
+ ln -snf ../debian/extra/*.c . || die
+
+ for FILE in ../debian/extra/*.c; do
+ FILE=${FILE##*/}
+ cat >> CMakeLists.txt <<-EOF || die
+ add_executable(${FILE%.c} ${FILE})
+ install(TARGETS ${FILE%.c})
+ EOF
+ done
+
+ cmake_src_prepare
+ java-pkg-opt-2_src_prepare
+}
+
+multilib_src_configure() {
+ if multilib_is_native_abi && use java ; then
+ export JAVAFLAGS="$(java-pkg_javac-args)"
+ export JAVACFLAGS="$(java-pkg_javac-args)"
+ export JNI_CFLAGS="$(java-pkg_get-jni-cflags)"
+ fi
+
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ -DENABLE_STATIC="$(usex static-libs)"
+ -DWITH_JAVA="$(multilib_native_usex java)"
+ )
+
+ # Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810
+ if use arm || use arm64; then
+ mycmakeargs+=(
+ -DWITH_SIMD=$(usex cpu_flags_arm_neon)
+ -DNEON_INTRINSICS=$(usex cpu_flags_arm_neon)
+ )
+ fi
+
+ # We should tell the test suite which floating-point flavor we are
+ # expecting: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/597
+ # For now, mark loong as fp-contract.
+ if use loong; then
+ mycmakeargs+=(
+ -DFLOATTEST=fp-contract
+ )
+ fi
+
+ # Mostly for Prefix, ensure that we use our yasm if installed and
+ # not pick up host-provided nasm
+ if has_version -b dev-lang/yasm && ! has_version -b dev-lang/nasm; then
+ mycmakeargs+=(
+ -DCMAKE_ASM_NASM_COMPILER=$(type -P yasm)
+ )
+ fi
+
+ cmake_src_configure
+}
+
+multilib_src_install() {
+ cmake_src_install
+
+ if multilib_is_native_abi && use java ; then
+ rm -rf "${ED}"/usr/classes || die
+ java-pkg_dojar java/turbojpeg.jar
+ fi
+}
+
+multilib_src_install_all() {
+ find "${ED}" -type f -name '*.la' -delete || die
+
+ local -a DOCS=( README.md ChangeLog.md )
+ einstalldocs
+
+ newdoc "${WORKDIR}"/debian/changelog changelog.debian
+ dobin "${WORKDIR}"/debian/extra/exifautotran
+ doman "${WORKDIR}"/debian/extra/*.[0-9]*
+
+ if use java; then
+ docinto html/java
+ dodoc -r "${S}"/java/doc/.
+ newdoc "${S}"/java/README README.java
+ fi
+}
diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest
index edcd7792dfc6..0944a2733728 100644
--- a/media-libs/opencv/Manifest
+++ b/media-libs/opencv/Manifest
@@ -31,6 +31,6 @@ DIST opencv_contrib-4.10.0.tar.gz 55387316 BLAKE2B 5d6f884817b6d45b86833fcab1e31
DIST opencv_contrib-4.9.0.tar.gz 59803362 BLAKE2B e6b90e9bd462f96ef010490d45105d7125622d6c49912653c0d387568ae7109b1cbcac4cc0f52c1f997a45ed75923caea90bf4ad9336e689a56742b029789038 SHA512 ebaee3b88bd7ae246727e65a98d9fbc1d9772a4181a1926f3af742410b78dc87d2386bcd96ac67d7fb1a3020c3717a2cdebdcf9304d6dfd9ea494004791cf043
DIST opencv_extra-4.10.0.tar.gz 504349887 BLAKE2B 6e76860beb95cf00698980a19cfd2894e5bfe0d477d94352cbb2ff98688acbc1c404953cbc3baa95453588e7b9063175a067f24006c5d2719a6c75d15f2ef891 SHA512 1a581dad61bc1e5075af5afed2dd3d67793232a9e1219408448d08c518ae714cf0c4d5fec2c25791351a49a0d265fe051ea142b2170f82843e19e82f65abc8c6
DIST opencv_extra-4.9.0.tar.gz 502141517 BLAKE2B ed7351f29c6fb80d56d5ef383af68322fa805c7689132f7ca9bb43c9a1319c5876ce6d5c40d583c955eb255dd82b876c94ed42625cd71b13830ec94b2cc75dc2 SHA512 f05c1eaed491d15107c858af5b33d0d5856070dcb6f94491ba33a172b2f0caf34905eb5d1787e1247bc888626478647fce0db7f3ccbc6d6faba0ee43fd6b6bfa
-EBUILD opencv-4.10.0.ebuild 43118 BLAKE2B 1fc4ee829c7171e258c160dcf92a1cfcfdbfc0daf8f9ada9894d659ebc684fd03e145d2677d82027484ae73b030fa188d616fc4ed5f9b5ce18ba4a426e9bf06f SHA512 4f65a3ca7faa696f1959956a6ca68d5e38ec4d01e28a221918180c7c695561d47dcbdce43e8f63b6d08bae4857d6c524ea534ad75e2682f6168e723f60b55253
+EBUILD opencv-4.10.0.ebuild 43117 BLAKE2B 7e1e01182af22bd446df84ffd8f14957ff796938ca4c07fe14956133887208de14da983d484e2ea4ec93e6cb2868fa65f457d2e5fcf52d5c8c03aa1553752127 SHA512 a9ae7afb3b9b363d0317ca55c6e30b261fb3dd3050a235ed0fb3b957086c1e90589e7e0ad92b7d19dfa757859426844b5c0396e914876424eab00cac7db14069
EBUILD opencv-4.9.0-r2.ebuild 35016 BLAKE2B 2f355e13f1a13e8d6b039ac8dea37fae80e3a6b3464406a668d809cbadb046b34afa022240fdfe474106543e28686b7b8746a391e06807bf8656ee0cdb657ae9 SHA512 f65508a457c94c903b045384f6afe23ee3730cd92321d959c51525a7e9e2c5b18b48a5c5d1c7fec3621af5d5aad28c09ad31311a46504a6ed340bb39bc15ce9a
MISC metadata.xml 3921 BLAKE2B 92f38794e008f13866e797ab3eeb3dbeffbba81412523f9c9590d3768e046565f651cf0c0b223c1a8b04a9ba38732dfecfeebc79b75a7c722af20cab03e22bd3 SHA512 088ea0cbfab7cdd3fa53fa1fd1907487e785159b5d443e4258a0470123587554c57eb4fb4cbebbb6fe610c03b002c5c45c1758f85ca699d6df97872a6e826e35
diff --git a/media-libs/opencv/opencv-4.10.0.ebuild b/media-libs/opencv/opencv-4.10.0.ebuild
index 84334d38aae7..83956ab44a8b 100644
--- a/media-libs/opencv/opencv-4.10.0.ebuild
+++ b/media-libs/opencv/opencv-4.10.0.ebuild
@@ -63,7 +63,7 @@ else
https://github.com/${PN}/${PN}_extra/archive/refs/tags/${PV}.tar.gz -> ${PN}_extra-${PV}.tar.gz
)
"
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
fi
LICENSE="Apache-2.0"
diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest
index 2ca5553617a9..7d5e6264cd11 100644
--- a/media-libs/speex/Manifest
+++ b/media-libs/speex/Manifest
@@ -1,6 +1,7 @@
AUX speex-1.2.0-configure.patch 920 BLAKE2B 57b43aee0c57d6f0bf29202573d8f5caa65d41823ca073fb6b8edc1d35dee7b90ec79d52ef08affb0a1cb88b577e0fa3bc62844ded3c4e3235c268e31a0121a6 SHA512 71e6934f104d12bfb7bfb19812ff868dc22a323e2fbd7a480c270650a14842dd03e53e11853e7ddaa9469239a538d0bf09469770fd30f23601406011fe626ffd
+AUX speex-1.2.1-slibtoolize.patch 807 BLAKE2B 757b9512ca25abc3d937edafc592fb2e52e873e2bf0e43dd2a17c2bd5a0f511ca524637cef91e8b8f633898b0a5b3ce27a5c7e8aa0c0ecd8f8be1363bf22a88a SHA512 639d60f3549e93fbb95e418368b657aee8b9788945747c22c5362755567b4d3d0884498c3bd7ffbf3b0f899fc05d4453949f382a53e327ab65e9c6ae101c98ce
AUX speex-1.2.1-valgrind.patch 1619 BLAKE2B 913c8b175637922364717084f892a6a7c7853f6b29cad146244e18f86de1a13d74b7aa1ffbf116de6d56547a2e625d1b70e19f5a7d5eb869197e8a14fb9e46ae SHA512 829a3e84e9f70e12fdd2d05d476cb622691203c945fbe6cce7bd6999a82c61449db21b455bb89deae60021a28dd2f64791159b2deaf1251b9cfb50a7f1b547b4
AUX speex-1.2.1-vla-detection.patch 725 BLAKE2B ca4ba1fa56bf6bcd49c6b65d30e8d15331eeb4fbd8811b07a90659ff060e379e5446d0f8fe40769a4e19d7b4950ca510a865b7e26f9a2a2c3dc8d7d327c2219a SHA512 c759fcb9c18b498c69147c6e22aaec85bc508abf6c6a988536325f3dbfc9a15783b1e3d49f25d915f7b8d935c6a4aab28b0cef021c78b5fd0d7e053974eb544c
DIST speex-1.2.1.tar.gz 1043278 BLAKE2B 60afa7eb9ff87ebb1b69e2716b7fa6727b49f6c06ed6eb6fe81236c65dc4128769618dd1f4df31af56a00e9b766c4050c1b3e415c8f972d64d1fb9e7a537a650 SHA512 52e00300df82e1c7fb527b245af02b99a1f37faef74d004b7cd981052f1aa22a412cb18f5c7a5618df4c958f727c97eb7385beec99d68548d5b02e76192d4e0a
-EBUILD speex-1.2.1-r2.ebuild 1863 BLAKE2B 6b76865347b4e288e911976c221276d79e2fdb447d43c643fe953798f221d776ff2b1e3ccd4221fcdafb4d6a69ebfe9b49139429c5488812a19eb67130f3b550 SHA512 f79afaeedc61ffbff314c2a585da7d5b81693de5255892893eb692212b174dd43f21f6add3c9f2e96ceddb14a65116896b8bc2807dedeeb4fbbf7d4fb6746e4c
+EBUILD speex-1.2.1-r2.ebuild 1901 BLAKE2B e9eb2466c364b5a9b2ee52ceac625ecd803b36cfb2a82d49334b29cdba3b2230ac090db168a7ffba7f10c6dd679a87645631dff309179040e4e380b99579d67d SHA512 84bd5028dc0fd9804b04d2ad8822cbf0c06666c42b897af1ece5ce1da0fe5552d28fc076c562b07420d0bf9a2e97c1c52c55a58d275f5322fefc9e5eb45edade
MISC metadata.xml 548 BLAKE2B 20ca971e89b8e1b610855fd5c4b05bafbc4b4cfd8e36e7a28f77b5555f01ee6e3f0b971b57accd8faa00c2ff60c9af12648a55b29878917354e5e9fbc6de9b5f SHA512 ef4cb05574ab0bb73081c67a50c866b6cc6b8f20a6de5cb6511eb3881804980dd57eb71a6e0fe5607c4898e593c762e63e91304afde8b3118bfd8bb69943b2a1
diff --git a/media-libs/speex/files/speex-1.2.1-slibtoolize.patch b/media-libs/speex/files/speex-1.2.1-slibtoolize.patch
new file mode 100644
index 000000000000..eef545d9648a
--- /dev/null
+++ b/media-libs/speex/files/speex-1.2.1-slibtoolize.patch
@@ -0,0 +1,28 @@
+https://github.com/xiph/speex/pull/24
+https://github.com/xiph/speex/commit/1de1260d24e01224df5fbb8b92893106c89bb8de
+
+From 1de1260d24e01224df5fbb8b92893106c89bb8de Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Tue, 4 Jun 2024 08:59:02 -0700
+Subject: [PATCH] configure.ac: don't use internal GNU libtool functions
+
+This doesn't work when using slibtoolize instead of GNU libtoolize and
+is not necessary anyways.
+
+Signed-off-by: orbea <orbea@riseup.net>
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0a7d5c1c..0a631b15 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -27,7 +27,6 @@ AM_INIT_AUTOMAKE([foreign no-define])
+ AM_MAINTAINER_MODE([enable])
+
+ AC_CANONICAL_HOST
+-_LT_SET_OPTION([LT_INIT],[win32-dll])
+ LT_INIT
+
+ AC_C_BIGENDIAN
diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild b/media-libs/speex/speex-1.2.1-r2.ebuild
index f249467b5235..253c67a92fdf 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -12,6 +12,8 @@ DESCRIPTION="Audio compression format designed for speech"
HOMEPAGE="https://www.speex.org/"
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
@@ -28,11 +30,10 @@ DEPEND="
"
BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/${MY_P}"
-
PATCHES=(
"${FILESDIR}"/${PN}-1.2.0-configure.patch
"${FILESDIR}"/${P}-vla-detection.patch
+ "${FILESDIR}"/${P}-slibtoolize.patch
"${FILESDIR}"/${PN}-1.2.1-valgrind.patch
)
diff --git a/media-libs/speexdsp/Manifest b/media-libs/speexdsp/Manifest
index 9f0f601f325f..b17048c3ad14 100644
--- a/media-libs/speexdsp/Manifest
+++ b/media-libs/speexdsp/Manifest
@@ -1,4 +1,5 @@
AUX speexdsp-1.2.0-configure.patch 1092 BLAKE2B a4629cb00d1920133db30cf1cbdaade58fe69176515c75f140f9ae9060d3111f8d88b65ce67f3bd6c7d86f60db25d15997182865e6a528a8e20603f3edb6544c SHA512 0c6f1b8ae83e98c8899649e3f108ccaad89286db317e5c3f19bd0d78f71839b92b10125ba09b640453d299b3343bfaec128ae72daff72f37f95cbf38652980dd
+AUX speexdsp-1.2.1-slibtoolize.patch 813 BLAKE2B 45d7e7c1ab519a1a88f18769ca0777ec5e14ae5d13a55196eab4fd42d23421fd387abc9a0357f84674c6d81b235b193b9cfae33d76a5409b6a2d30e5c904dafd SHA512 6aaf31e91695975c5fe50bf1070542d33bcdac7499c206ac04adef9fc5a27b8f34fd52607159d8ca0ebeedce716d1b3e6a6fbf39d77bc6f440ee97d4207554d4
DIST speexdsp-1.2.1.tar.gz 922584 BLAKE2B 9105967eaee3ea8fcba2df1739d92a520407e086d3f4645763d8c7f26adff4f6c46b653e873b3e5ca04fce2ee5f765f8f7a242172d7cc4873fe15c3295a5913b SHA512 41b5f37b48db5cb8c5a0f6437a4a8266d2627a5b7c1088de8549fe0bf0bb3105b7df8024fe207eef194096e0726ea73e2b53e0a4293d8db8e133baa0f8a3bad3
-EBUILD speexdsp-1.2.1.ebuild 1308 BLAKE2B 18b4cdce76406a2ec198223560ed95429b37c779bddc08e052377fda84993b9e661ae391825354172bd6e66be39821bc0632f0edb5537f20eb029f7fafa725cf SHA512 0138313733741e949478661bd2145dcee96f9c51eba3a482cf2c5fb5b00481f957896c0fa42689ef7807f99267fb562a400576f6656fc6fdc346a6f8b71433b5
+EBUILD speexdsp-1.2.1.ebuild 1346 BLAKE2B f374b93683165331ccc3d41f0982e039659300ac70192f046165ce904f51a1005afe29c37eb5ae0e90401deff0dff9565137ee941ec4c94cb81962ad67bcfaf9 SHA512 43a8e608cc26f3c9bb38773991d7d27e80975b58a7ac31bf697578d8252469ac0a0f8a00409505490f79a019fe88bf738b1b0256b9f076a1dadd8ddd33f2dff0
MISC metadata.xml 398 BLAKE2B 12544559ee0bf709e2c92c2906d11a7e95251b0b6d2fc58ed1ba272856bb79dc2c1d2fadaac6cbaa3707ab5d63c55ae1c9ee024fc87f68f32f04ee8a7846812d SHA512 dab0c15f39dd1edda54478e970bff9ed98313538d31aeaf77bb73b9f13f8b129de7a7bd29152d04231623b9c615cb3a70ab0b7d917eddf86dad09d6e796a2a74
diff --git a/media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch b/media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch
new file mode 100644
index 000000000000..63688bc27070
--- /dev/null
+++ b/media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch
@@ -0,0 +1,28 @@
+https://github.com/xiph/speexdsp/pull/48
+https://github.com/xiph/speexdsp/commit/dbd421d149a9c362ea16150694b75b63d757a521
+
+From dbd421d149a9c362ea16150694b75b63d757a521 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Tue, 4 Jun 2024 08:54:37 -0700
+Subject: [PATCH] configure.ac: don't use internal GNU libtool functions
+
+This doesn't work when using slibtoolize instead of GNU libtoolize and
+is not necessary anyways.
+
+Signed-off-by: orbea <orbea@riseup.net>
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index cd433ffe..413f71da 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -22,7 +22,6 @@ AM_INIT_AUTOMAKE([foreign no-define])
+ AM_MAINTAINER_MODE([enable])
+
+ AC_CANONICAL_HOST
+-_LT_SET_OPTION([LT_INIT],[win32-dll])
+ LT_INIT
+
+ AC_C_BIGENDIAN
diff --git a/media-libs/speexdsp/speexdsp-1.2.1.ebuild b/media-libs/speexdsp/speexdsp-1.2.1.ebuild
index 9c163de502b2..c7c5c41cbcf1 100644
--- a/media-libs/speexdsp/speexdsp-1.2.1.ebuild
+++ b/media-libs/speexdsp/speexdsp-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,6 +12,8 @@ DESCRIPTION="Audio compression format designed for speech -- DSP"
HOMEPAGE="https://www.speex.org/"
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
@@ -19,10 +21,9 @@ IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_arm_neon"
BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/${MY_P}"
-
PATCHES=(
"${FILESDIR}"/${PN}-1.2.0-configure.patch
+ "${FILESDIR}"/${P}-slibtoolize.patch
)
src_prepare() {