void-packages/srcpkgs/yoshimi/template

25 lines
773 B
Bash

# Template file for 'yoshimi'
pkgname=yoshimi
version=1.3.8.2
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=9443bc3ed8a4ab29b608f35e4ea57a2ca9fde6a8a00f965100f7e9d139142824
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
}