32 lines
914 B
Bash
32 lines
914 B
Bash
# Template file for 'yoshimi'
|
|
pkgname=yoshimi
|
|
version=1.7.4
|
|
revision=2
|
|
build_wrksrc=src
|
|
build_style=cmake
|
|
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-2.0-or-later"
|
|
homepage="https://yoshimi.github.io/"
|
|
distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz"
|
|
checksum=27a8e33bda72aafae604e14841bed6373fc9e00ff70c98f1e13215d6a8808318
|
|
|
|
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
|
|
}
|