amsynth: optional pandoc

This commit is contained in:
q66 2020-11-24 04:31:31 +01:00
parent 1de450c1ba
commit 0f67e7482c

View file

@ -1,9 +1,10 @@
# Template file for 'amsynth'
pkgname=amsynth
version=1.9.0
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pandoc intltool pkg-config"
configure_args="$(vopt_with man pandoc)"
hostmakedepends="$(vopt_if man pandoc) intltool pkg-config"
makedepends="dssi-devel ladspa-sdk gtk+-devel jack-devel alsa-lib-devel
liblo-devel libsndfile-devel"
short_desc="Analogue Modeling SYNTHesizer"
@ -13,6 +14,9 @@ homepage="https://amsynth.github.io/"
distfiles="https://github.com/amsynth/${pkgname}/releases/download/release-${version}/${pkgname}-${version}.tar.bz2"
checksum=c0d1e11be528366da543363e73363a4b9fd86f72e03d2d22adb3ec355fa61a80
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="broken pandoc" ;;
build_options="man"
desc_option_man="Use pandoc for manpages"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le) build_options_default="man" ;;
esac