void-packages/srcpkgs/yoshimi/template

27 lines
957 B
Bash

# Template file for 'yoshimi'
pkgname=yoshimi
version=1.5.1.1
revision=1
build_style=cmake
build_wrksrc=src
hostmakedepends="pkg-config fltk"
makedepends="boost-devel jack-devel fltk-devel fftw-devel mxml-devel cairo-devel
lv2 readline-devel ncurses-devel"
short_desc="ZynAddSubFX fork with improved JACK audio & MIDI IO"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="http://yoshimi.sourceforge.net"
distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz"
checksum=1ef6d0d9aed21b8db3dd1e851c6a14b3cc9a6b0ad3611a083f92abf002db0f70
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/10648/steps/shell_3/logs/stdio";;
arm*) broken="https://build.voidlinux.eu/builders/armv6l_builder/builds/25175/steps/shell_3/logs/stdio";;
esac
configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share"
pre_configure() {
sed -i 's|ncurses|ncursesw|g' CMakeLists.txt
}