471adf2217
Remove *-musl support. Please push patches upstream, or enable them only for *-musl.
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'csound'
|
|
pkgname=csound
|
|
version=6.12.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="
|
|
-DLUA_MODULE_INSTALL_DIR=${XBPS_CROSS_BASE}/usr/lib/lua/5.1
|
|
-DDPD_MODULE_INSTALL_DIR=${XBPS_CROSS_BASE}/usr/lib/pd/extra
|
|
-DPORTAUDIO_V19=yes"
|
|
hostmakedepends="flex python"
|
|
makedepends="LuaJIT-devel boost-devel fltk-devel fluidsynth-devel libcurl-devel
|
|
libgomp-devel liblo-devel libsndfile-devel pd-devel portaudio-devel
|
|
portmidi-devel tk-devel"
|
|
depends="pd"
|
|
short_desc="A programming language for sound rendering and signal processing"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://csound.com/"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=edb0f6ac3cffa58a992f5c1f88e0e208e6559e0a84b34ec7ec2c0cf4b917d674
|
|
nocross=yes
|
|
|
|
CXXFLAGS="-Wno-error"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) broken="not yet supported";;
|
|
esac
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/csound.sh 755 etc/profile.d
|
|
# Avoid conflict with libextractor
|
|
mv ${DESTDIR}/usr/bin/extract ${DESTDIR}/usr/bin/csextract
|
|
}
|