void-packages/srcpkgs/fmit/template
2020-11-10 10:16:51 -05:00

26 lines
1.1 KiB
Bash

# Template file for 'fmit'
pkgname=fmit
version=1.2.14
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 <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=8dc123c84c19d6a9a62b303015255718705d5b0b8448a330d3815dd7f9688b02
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