From 0f67e7482cb4bec631766f76e541db4ccb0a2586 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 24 Nov 2020 04:31:31 +0100 Subject: [PATCH] amsynth: optional pandoc --- srcpkgs/amsynth/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/amsynth/template b/srcpkgs/amsynth/template index 16b66d0e5fd..784153481ce 100644 --- a/srcpkgs/amsynth/template +++ b/srcpkgs/amsynth/template @@ -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