mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
media-sound/chuck: removed obsolete 1.5.5.1
Bug: https://bugs.gentoo.org/965307 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
parent
1433ebdaa2
commit
aaf3eb6813
@ -1,2 +1 @@
|
||||
DIST chuck-1.5.5.1.tgz 22361428 BLAKE2B dae842e2990ed4fc260b69c309ba6fe8adb8d9dcf2c7c76c5335c6d6239496b9a70e66a8e262a32a6b6879bff04185e1de1de440ab6c4705fb88ed2c99a0940a SHA512 e7d2268f87b551e7b9ae652328773ce2c239620db96dcbaa103345207074f0de1b433c272fb25ba840ba136b4afa1309985fef5d8debef165c5f67ebf4f67134
|
||||
DIST chuck-1.5.5.5.tgz 22367621 BLAKE2B d5e30136360d9b4fa5a770127a759ccd9342be442af49a62deca90c0aac2fa5a49682bb9d3003781e68ed79ae6e6d143fed38e2a3a27c65ef3a478e07ca2464e SHA512 5e9bad345de72dfece47d57926190a65883eb41779f15976ee16a99ace807da6f5ebecf1aa1f693949ac0c795447b12171034642d673f8ad158fb22f94fbc930
|
||||
|
||||
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Strongly-timed, concurrent, and on-the-fly audio programming language"
|
||||
HOMEPAGE="http://chuck.cs.princeton.edu/"
|
||||
SRC_URI="http://chuck.cs.princeton.edu/release/files/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+alsa jack examples"
|
||||
REQUIRED_USE="|| ( alsa jack )"
|
||||
|
||||
RDEPEND="app-eselect/eselect-chuck
|
||||
media-libs/libsndfile
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jack? ( virtual/jack )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-alternatives/yacc
|
||||
app-alternatives/lex"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.0.0-hid-smc.patch
|
||||
"${FILESDIR}"/${PN}-1.5.3.2-makefile.patch
|
||||
)
|
||||
|
||||
compile_backend() {
|
||||
backend=$1
|
||||
pushd "${S}/src" &>/dev/null || die
|
||||
einfo "Compiling against ${backend}"
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getCXX)" linux-${backend}
|
||||
mv chuck{,-${backend}} || die
|
||||
emake clean
|
||||
popd &>/dev/null || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# when compile with athlon or athlon-xp flags
|
||||
# chuck crashes on removing a shred with a double free or corruption
|
||||
# it happens in Chuck_VM_Stack::shutdown() on the line
|
||||
# SAFE_DELETE_ARRAY( stack );
|
||||
replace-cpu-flags athlon athlon-xp i686
|
||||
|
||||
use jack && compile_backend jack
|
||||
use alsa && compile_backend alsa
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use jack && dobin src/chuck-jack
|
||||
use alsa && dobin src/chuck-alsa
|
||||
|
||||
dodoc AUTHORS DEVELOPERS QUICKSTART README.md THANKS VERSIONS
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Chuck now can use multiple audio engines, so you can specify"
|
||||
elog "the preferred audio engine with chuck-{jack,alsa}"
|
||||
elog "Or you can use 'eselect chuck' to set the audio engine"
|
||||
fi
|
||||
eselect chuck update --if-unset
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user