54 lines
1.4 KiB
Bash
54 lines
1.4 KiB
Bash
# Template file for 'Carla'
|
|
pkgname=Carla
|
|
version=2.4.3
|
|
revision=1
|
|
archs="x86_64* i686* aarch64* arm*"
|
|
build_style=gnu-makefile
|
|
pycompile_dirs="usr/share/carla"
|
|
hostmakedepends="pkg-config python3 python3-PyQt5-devel-tools which"
|
|
makedepends="python3-PyQt5 libmagic file-devel libsndfile-devel
|
|
liblo-devel alsa-lib-devel pulseaudio-devel libX11-devel gtk+3-devel
|
|
gtk+-devel qt5-devel fluidsynth-devel fftw-devel zlib-devel
|
|
python3-rdflib"
|
|
depends="python3 python3-PyQt5 python3-PyQt5-svg pyliblo which"
|
|
short_desc="Audio plugin host"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://kx.studio/Applications:Carla"
|
|
distfiles="https://github.com/falkTX/Carla/archive/v${version}.tar.gz"
|
|
checksum=0092926e5167f3a5eb592f0055e5491803354ae42947e706db0dc548d9e786d3
|
|
python_version=3
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
x86_64* | i686*);;
|
|
*) make_build_args+=" NOOPT=true"
|
|
make_install_args+=" NOOPT=true";;
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" Carla-devel"
|
|
fi
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i -e 's#\./carla-lv2-export#/usr/bin/carla-lv2-export#g' \
|
|
source/plugin/Makefile
|
|
fi
|
|
}
|
|
|
|
pre_build() {
|
|
make ${make_build_args} features
|
|
}
|
|
|
|
post_install() {
|
|
vbin bin/carla-lv2-export
|
|
}
|
|
|
|
Carla-devel_package() {
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/carla-lv2-export
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
}
|
|
}
|