From 43c2a85d4e20318dd3d35872e348707900870067 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 6 May 2024 00:00:52 +0100 Subject: gentoo auto-resync : 06:05:2024 - 00:00:51 --- media-libs/libsoundtouch/Manifest | 3 -- .../libsoundtouch-2.3.2-configure-bashism.patch | 33 ------------ .../libsoundtouch/libsoundtouch-2.3.2.ebuild | 62 ---------------------- 3 files changed, 98 deletions(-) delete mode 100644 media-libs/libsoundtouch/files/libsoundtouch-2.3.2-configure-bashism.patch delete mode 100644 media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild (limited to 'media-libs/libsoundtouch') diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest index f08010a4cfad..b7a7a26dc12e 100644 --- a/media-libs/libsoundtouch/Manifest +++ b/media-libs/libsoundtouch/Manifest @@ -1,6 +1,3 @@ -AUX libsoundtouch-2.3.2-configure-bashism.patch 1134 BLAKE2B fcb5153cdf22f46061bdc5cac4d71e6f0db92b05b20907457b4ae37f613a2851fd04d00274fe9f40a471c1a356b4c7ebc066eca014fc2da76eed6ccecfbba368 SHA512 b0f9c26575f660c647a41a1812162262f4cbe107ead10ba8d821af206fd0e066d1384fae854b5bcf0229ff74cf15f8d75831bbdc6939754c2a7d41253ec1f344 -DIST soundtouch-2.3.2.tar.gz 583373 BLAKE2B cd3c8fffaa81a2ed867f5a564dd7ff3047b4de576536c3c116162981261bf3789d16def1c94e5be2450373be3f61fd67fa44e3552e19cad7b7d5d56500b98255 SHA512 72cd38f3e11f3c55ff7ed3691fd9a749a5f8d072e08ed03f2fd43a8664962138afaf3e4647116940e86f6ae374a1ba3bcd4b108280da29f3ffa6091cf383ea35 DIST soundtouch-2.3.3.tar.gz 606780 BLAKE2B 266d20975468dc45f449ea7d79503657a4209427a811051344fbb5464dc59c1498f2089bccae921ae20eb266bb01d7933b2dd2ee05c6d4423ae1b215ab3dffb2 SHA512 9cc507e15be065fe404e3f9ac71cdc596474c4a86b04a4b969c6c3ed4aff865cdf6aee24929046818a7d3791f005778aea112d74ef4d8f60b05460755a08dbe3 -EBUILD libsoundtouch-2.3.2.ebuild 1549 BLAKE2B 7cbe6be88e41e0dc047d5f0d9b8e665f710d7d4d39d0001e124a0e34940896f87fbafc5a6c87b3def415b0609e195a389e2051b59d06bbf4082e4d4ad84d0b7d SHA512 eb4a5180a332f98596bd5bcb9c54775b408f4f1eaf901e89a647cccbb1b95a3bc693e6b69bca2584af64f5ae7beb46ce915bf3bcfdcf459b225ed18a6c959dfd EBUILD libsoundtouch-2.3.3.ebuild 1485 BLAKE2B 85472f12a8723d0721878f181751bd63b93d2f752b83d3e4c1630d499c2dd9a0825f78df0aff6d7053c8bb2ab466dfd4522e1216d2a70549f79df71a762da895 SHA512 aa0f4e397be430b05c23a91b6ac0ff86c7cc749eee28cacdf3541a7d66cccf98c950188f4e30836005e1ce3f7f0482da362e42a774aeabe3d26d3a2e010f2178 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 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 -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 ---- 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 -} -- cgit v1.2.3