summaryrefslogtreecommitdiff
path: root/media-libs/speexdsp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/speexdsp
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/speexdsp')
-rw-r--r--media-libs/speexdsp/Manifest4
-rw-r--r--media-libs/speexdsp/speexdsp-1.2.0.ebuild4
-rw-r--r--media-libs/speexdsp/speexdsp-1.2.1.ebuild55
3 files changed, 60 insertions, 3 deletions
diff --git a/media-libs/speexdsp/Manifest b/media-libs/speexdsp/Manifest
index cfa516d052a9..b97017f155b7 100644
--- a/media-libs/speexdsp/Manifest
+++ b/media-libs/speexdsp/Manifest
@@ -1,4 +1,6 @@
AUX speexdsp-1.2.0-configure.patch 1092 BLAKE2B a4629cb00d1920133db30cf1cbdaade58fe69176515c75f140f9ae9060d3111f8d88b65ce67f3bd6c7d86f60db25d15997182865e6a528a8e20603f3edb6544c SHA512 0c6f1b8ae83e98c8899649e3f108ccaad89286db317e5c3f19bd0d78f71839b92b10125ba09b640453d299b3343bfaec128ae72daff72f37f95cbf38652980dd
DIST speexdsp-1.2.0.tar.gz 919621 BLAKE2B 70c7d07f4b23abbb70cfb212a6541288c71f57fffd5fe22ddd94901a7d01fa403a69b7884e3a4a2267ffd45a7e053b1ae7c7fd662e57053a06d4a7efb7889610 SHA512 e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec
-EBUILD speexdsp-1.2.0.ebuild 1383 BLAKE2B 34ed3770f950c43f4bb7ba6f4fbd7104ff92a1e31fbbaa96f1ca9720314038aad1f45d32585a81d76277de4a8d1f345648c2f7c1e554e5ce7f32b163fdb6f033 SHA512 7d51f42e4cd30b7b7757c4178c46dcceb35e51bfeed5f85f6b9f26fdadc83cc8007c82e26e92a62e7484b377a62432debb53a2469649e84e06966a2a6c9d2e69
+DIST speexdsp-1.2.1.tar.gz 922584 BLAKE2B 9105967eaee3ea8fcba2df1739d92a520407e086d3f4645763d8c7f26adff4f6c46b653e873b3e5ca04fce2ee5f765f8f7a242172d7cc4873fe15c3295a5913b SHA512 41b5f37b48db5cb8c5a0f6437a4a8266d2627a5b7c1088de8549fe0bf0bb3105b7df8024fe207eef194096e0726ea73e2b53e0a4293d8db8e133baa0f8a3bad3
+EBUILD speexdsp-1.2.0.ebuild 1390 BLAKE2B d28752619e08468a02d6948c27aad632a7cde38fc837a8ff5c5fb3f061f126ff7ffa6c0c2d8c27cca73cbf419e07fa66364e6271c2b004f4b0bd6cf0542f50c6 SHA512 80b71a1871eda2e0d3bd1545730728155ee709af052b5feafd669ea648d418c84be21f060457b3ef6684ab0ee935acb7e3cf1f5988476e33de8e83c6cec5c897
+EBUILD speexdsp-1.2.1.ebuild 1349 BLAKE2B 2ed22ec5b0de8b7d7c75fce621914eee2e17204b71f5f1d0f9aec2959883b11ae95a0a9dc1664e842edb6c06cb24ea5122b46eba30802e36a739486d0e6a6e4a SHA512 cb49970463727168b2d45e7094ce463d57024d460a0a721628cb74a2181d74b243d94c255e06260ffbd8e40b441908e616f3d6896151f286520b961962a4eb7a
MISC metadata.xml 343 BLAKE2B 374a2c5ab50a02673ee9929021f54bb82b932188b88a36cc023cf263647299ebb0a279c2cc723e2c3d4f27dba635b6090a1c7675ba3792bc4a22706a5c97406f SHA512 d0c180268fe692dd8d97debafc8495e0837459ad2845993aa22c675d3777a4aa64d15fba1d2e4674a81a324ee52c1bda751d2c4a5a1547cd56ab5bc0375da8c3
diff --git a/media-libs/speexdsp/speexdsp-1.2.0.ebuild b/media-libs/speexdsp/speexdsp-1.2.0.ebuild
index ca0b75751f16..98b2f6d9ecca 100644
--- a/media-libs/speexdsp/speexdsp-1.2.0.ebuild
+++ b/media-libs/speexdsp/speexdsp-1.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_arm_neon"
RDEPEND="!<media-libs/speex-1.2.0"
diff --git a/media-libs/speexdsp/speexdsp-1.2.1.ebuild b/media-libs/speexdsp/speexdsp-1.2.1.ebuild
new file mode 100644
index 000000000000..032d3178895f
--- /dev/null
+++ b/media-libs/speexdsp/speexdsp-1.2.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal
+
+MY_P=${P/_}
+MY_P=${MY_P/_p/.}
+
+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"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+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
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+ libspeexdsp/Makefile.am || die
+
+ eautoreconf
+
+ append-lfs-flags
+}
+
+multilib_src_configure() {
+ # Can also be configured with one of:
+ # --enable-fixed-point (no floating point)
+ # --with-fft=proprietary-intel-mkl (mkl)
+ # --with-fft=gpl-fftw3 (fftw)
+ ECONF_SOURCE="${S}" econf \
+ --disable-static \
+ $(use_enable cpu_flags_x86_sse sse) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable cpu_flags_arm_neon neon)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -type f -delete || die
+}