# Template file for 'yoshimi'
pkgname=yoshimi
version=1.3.7
revision=1
build_style=cmake
build_wrksrc=src
hostmakedepends="cmake pkg-config fltk"
makedepends="boost-devel jack-devel fltk-devel fftw-devel mxml-devel cairo-devel lv2 readline-devel"
short_desc="ZynAddSubFX fork with improved JACK audio & MIDI IO"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="http://yoshimi.sourceforge.net"
distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz"
checksum=2bddab2053715bc0100cd693c99d04467eaf831957bd07035bc3f23df9942158

pre_configure() {
	case "$XBPS_TARGET_MACHINE" in
		x86_64*) ;;
		i686*) ;;
		*) sed -i 's|-msse -msse2 -mfpmath=sse||g' CMakeLists.txt;;
	esac
}
