void-packages/srcpkgs/fmit/template
Nathan Owens 6b993b1ccd fmit: update to 1.2.13
Add build options to allow users
to install less features or dependencies
2019-11-06 07:48:37 +01:00

26 lines
1 KiB
Bash

# 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"
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=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