# Template file for 'fmit'
pkgname=fmit
version=1.2.6
revision=2
build_style=qmake
configure_args="CONFIG+=acs_qt CONFIG+=acs_alsa CONFIG+=acs_jack CONFIG+=acs_portaudio"
hostmakedepends="itstool pkg-config qt5-tools"
makedepends="alsa-lib-devel fftw-devel jack-devel 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="cr6git <quark6@protonmail.com>"
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=73dd21b478498694fd10b2dac24160783c5956754e9db05d62611b041eec0f76

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-multimedia-devel qt5-svg-devel"
fi
