diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-05 09:30:01 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-05 09:30:01 +0200 |
commit | 000b12680ba834f190fc608502b018da6828121e (patch) | |
tree | 494f82205f54852a4a2b0a7aa3537af81a9a3954 /media-libs/libsoundtouch | |
parent | dev-lang/cxprolog: drop 0.98.2 (diff) | |
download | gentoo-000b12680ba834f190fc608502b018da6828121e.tar.gz gentoo-000b12680ba834f190fc608502b018da6828121e.tar.bz2 gentoo-000b12680ba834f190fc608502b018da6828121e.zip |
media-libs/libsoundtouch: dropped obsolete 2.3.2
Bug: https://bugs.gentoo.org/931012
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libsoundtouch')
-rw-r--r-- | media-libs/libsoundtouch/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch | 33 | ||||
-rw-r--r-- | media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild | 62 |
3 files changed, 0 insertions, 96 deletions
diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest index bb7b6e3a7251..24e923675286 100644 --- a/media-libs/libsoundtouch/Manifest +++ b/media-libs/libsoundtouch/Manifest @@ -1,2 +1 @@ -DIST soundtouch-2.3.2.tar.gz 583373 BLAKE2B cd3c8fffaa81a2ed867f5a564dd7ff3047b4de576536c3c116162981261bf3789d16def1c94e5be2450373be3f61fd67fa44e3552e19cad7b7d5d56500b98255 SHA512 72cd38f3e11f3c55ff7ed3691fd9a749a5f8d072e08ed03f2fd43a8664962138afaf3e4647116940e86f6ae374a1ba3bcd4b108280da29f3ffa6091cf383ea35 DIST soundtouch-2.3.3.tar.gz 606780 BLAKE2B 266d20975468dc45f449ea7d79503657a4209427a811051344fbb5464dc59c1498f2089bccae921ae20eb266bb01d7933b2dd2ee05c6d4423ae1b215ab3dffb2 SHA512 9cc507e15be065fe404e3f9ac71cdc596474c4a86b04a4b969c6c3ed4aff865cdf6aee24929046818a7d3791f005778aea112d74ef4d8f60b05460755a08dbe3 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 deleted file mode 100644 index b49ebcd38aae..000000000000 --- a/media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch +++ /dev/null @@ -1,33 +0,0 @@ -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/libsoundtouch-2.3.2.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild deleted file mode 100644 index 65fd97ae6c73..000000000000 --- a/media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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 -) - -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 -} |