media-libs/rubberband: dropped obsolete 3.3.0-r1

Bug: https://bugs.gentoo.org/945315
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2024-11-30 16:36:47 +01:00
parent 644a0b34a9
commit f5c4eba482
2 changed files with 0 additions and 88 deletions
-1
View File
@@ -1,2 +1 @@
DIST rubberband-3.3.0.tar.bz2 223408 BLAKE2B 2dccdbadbb8a24f837e82e2399f3ca1f09e25bf332fc745252ef8d5b6c80f422a2708227690cc81d0cf10ea22c9f11b21f985c738079e3c80e9d97536758f0fd SHA512 0216c33a250d52d539ad7a0ec28ea94e6d4684a308a9cb62509221b3861f74717021bd79196a1f58a7715799757491f32e0475ad2ddb7884683bb9130c676591
DIST rubberband-4.0.0.tar.bz2 236705 BLAKE2B 4de34fd67e1e9188177d2cf7c67ff69b9134e754b13a0a791eef788bd032ee8c306d249c08aae320bd64ad6da6cd1ff1a4cd2c0aee54be2caca5cac95b6a9a1e SHA512 975ceead691c9fb9cb8b876d00d5661986d85ba59a97bb3c17bc8a835e8aeaf0bc324dd43ffa20f2854e019572b404d37d5e4868a99076d422f279359c44a7b4
@@ -1,87 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson-multilib flag-o-matic toolchain-funcs
DESCRIPTION="An audio time-stretching and pitch-shifting library and utility program"
HOMEPAGE="https://www.breakfastquay.com/rubberband/"
SRC_URI="https://breakfastquay.com/files/releases/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="ladspa lv2 jni static-libs +programs test vamp"
RESTRICT="!test? ( test )"
DEPEND="
media-libs/libsamplerate[${MULTILIB_USEDEP}]
sci-libs/fftw:3.0[${MULTILIB_USEDEP}]
jni? ( >=virtual/jdk-1.8:* )
ladspa? ( media-libs/ladspa-sdk[${MULTILIB_USEDEP}] )
lv2? ( media-libs/lv2[${MULTILIB_USEDEP}] )
programs? ( media-libs/libsndfile[${MULTILIB_USEDEP}] )
vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] )
"
RDEPEND="
${DEPEND}
ppc? ( sys-devel/gcc:* )
"
BDEPEND="
virtual/pkgconfig
test? ( dev-libs/boost[${MULTILIB_USEDEP}] )
"
EMESON_BUILDTYPE=release
src_prepare() {
sed -i \
-e "s/if have_jni/if get_option('jni')/g" \
-e "s/if have_ladspa/if get_option('ladspa')/g" \
-e "s/if have_lv2/if get_option('lv2')/g" \
-e "s/if have_vamp/if get_option('vamp')/g" \
-e "s/if have_sndfile/if get_option('cmdline')/g" \
"meson.build" || die
sed -i -e "s/type: 'feature', value: 'auto'/type: 'boolean', value: 'false'/g" "meson_options.txt" || die
default
}
multilib_src_configure() {
if use ppc ; then
# bug #827203
# meson doesn't respect/use LIBS but mangles LDFLAGS with libs
# correctly. Use this until we get a Meson test for libatomic.
append-ldflags -latomic
elif tc-is-clang && [[ $(tc-get-cxx-stdlib) == libstdc++ ]] ; then
# bug #860078
# undefined reference to `__atomic_is_lock_free'
append-ldflags -latomic
fi
local emesonargs=(
-Dfft=fftw
-Dresampler=libsamplerate
-Ddefault_library=$(use static-libs && echo "both" || echo "shared")
$(meson_use ladspa)
$(meson_use lv2)
$(meson_use jni)
$(meson_use programs cmdline)
$(meson_use vamp)
$(meson_use test tests)
)
use jni && emesonargs+=(
-Dextra_include_dirs="$(java-config -g JAVA_HOME)/include,$(java-config -g JAVA_HOME)/include/linux"
)
meson_src_configure
}
multilib_src_test() {
meson_src_test --timeout-multiplier=30
}
multilib_src_install_all() {
! use jni && find "${ED}" -name "*.a" -delete
}