# Template file for 'fmit' pkgname=fmit version=1.2.13 revision=1 build_style=qmake configure_args="CONFIG+=acs_qt CONFIG+=$(vopt_if alsa acs_alsa) CONFIG+=$(vopt_if jack acs_jack) CONFIG+=$(vopt_if portaudio acs_portaudio)" hostmakedepends="itstool pkg-config qt5-tools gettext" makedepends="$(vopt_if alsa alsa-lib-devel) fftw-devel $(vopt_if jack jack-devel) $(vopt_if portaudio portaudio-devel) pulseaudio-devel qt5-multimedia-devel qt5-svg-devel" depends="desktop-file-utils hicolor-icon-theme" short_desc="Graphical utility for tuning your musical instruments" maintainer="Orphaned " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://gillesdegottex.github.io/fmit/" distfiles="https://github.com/gillesdegottex/fmit/archive/v${version}.tar.gz" checksum=ce36e612c936ce12a586a4bf37e921789f73715eebb124d7c30dbda87bc76296 build_options="alsa jack portaudio" build_options_default="alsa jack portaudio" desc_option_portaudio="Cross-platform audio API" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-multimedia-devel qt5-svg-devel" fi