fmit: update to 1.2.13

Add build options to allow users
to install less features or dependencies
This commit is contained in:
Nathan Owens 2019-11-05 16:29:39 -06:00 committed by Helmut Pozimski
parent 8778d55d93
commit 6b993b1ccd

View file

@ -1,19 +1,25 @@
# Template file for 'fmit'
pkgname=fmit
version=1.2.6
revision=2
version=1.2.13
revision=1
build_style=qmake
configure_args="CONFIG+=acs_qt CONFIG+=acs_alsa CONFIG+=acs_jack CONFIG+=acs_portaudio"
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"
makedepends="alsa-lib-devel fftw-devel jack-devel portaudio-devel
pulseaudio-devel qt5-multimedia-devel qt5-svg-devel"
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 <orphan@voidlinux.org>"
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
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"