# Template file for 'yoshimi' pkgname=yoshimi version=1.5.8.2 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 " license="GPL-3" homepage="http://yoshimi.sourceforge.net" distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz" checksum=9a5a2a3a380386c98ec0430f472fcdf79af83fbc0ef4123976bef616282f9b34 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone";; esac configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share" pre_configure() { sed -i 's|ncurses|ncursesw|g' CMakeLists.txt case "$XBPS_TARGET_MACHINE" in i686*) ;; x86_64*) ;; *) sed -i -e "s|-msse -msse2 -mfpmath=sse||g" CMakeLists.txt;; esac }