33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'faust'
|
|
pkgname=faust
|
|
version=2.54.9
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="cmake pkg-config llvm which"
|
|
makedepends="libmicrohttpd-devel llvm-libunwind-devel"
|
|
short_desc="Functional Programming Language for Real Time Signal Processing"
|
|
maintainer="mag <mag-one@autistici.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://faust.grame.fr/"
|
|
distfiles="https://github.com/grame-cncm/faust/releases/download/${version}/faust-${version}.tar.gz"
|
|
checksum="29cfb88f87fd93a55620c18f58ec585a31b6f8106a9fd3528db8340048adef28"
|
|
|
|
# Android stuffs, used by the 'faust2android' script.
|
|
nostrip_files="libsndfile.so libsndfile.a "
|
|
noverifyrdeps="libsndfile.so"
|
|
skiprdeps="/usr/lib/faust/android/app/lib/libsndfile/lib/armeabi-v7a/libsndfile.so
|
|
/usr/lib/faust/android/app/lib/libsndfile/lib/arm64-v8a/libsndfile.so"
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
*-musl) makedepends+=" libexecinfo-devel";;
|
|
esac
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="xbps-src tries to strip libsndfile.a that is for arm for some reason"
|
|
fi
|
|
|
|
post_install() {
|
|
mv $PKGDESTDIR/usr/share/faust $PKGDESTDIR/usr/lib
|
|
vcopy examples usr/lib/${pkgname}
|
|
}
|