void-packages/srcpkgs/yoshimi/template

25 lines
773 B
Bash

# Template file for 'yoshimi'
pkgname=yoshimi
version=1.3.7.1
revision=2
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=1737e3d5d77dcb823ca1999e598a3cb77aeac656f738cda476b2916279bf5bdb
configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
x86_64*) ;;
i686*) ;;
*) sed -i 's|-msse -msse2 -mfpmath=sse||g' CMakeLists.txt;;
esac
}