bluez-alsa: optional pandoc dependency
This commit is contained in:
parent
1ee02ede88
commit
2208c84609
1 changed files with 12 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'bluez-alsa'
|
||||
pkgname=bluez-alsa
|
||||
version=3.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-aac --disable-hcitop --enable-debug --enable-manpages"
|
||||
hostmakedepends="pkg-config automake libtool pandoc"
|
||||
configure_args="--enable-aac --disable-hcitop --enable-debug
|
||||
$(vopt_if man --enable-manpages)"
|
||||
hostmakedepends="pkg-config automake libtool $(vopt_if man pandoc)"
|
||||
makedepends="alsa-lib-devel fdk-aac-devel libbluetooth-devel libglib-devel
|
||||
ortp-devel sbc-devel"
|
||||
short_desc="Bluetooth Audio ALSA Backend"
|
||||
|
@ -18,6 +19,14 @@ _bluez_alsa_groups="audio"
|
|||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
build_options="man"
|
||||
desc_option_man="Use pandoc to build manpages"
|
||||
|
||||
case "$XBPS_MACHINE" in
|
||||
x86_64*|i686*|ppc64le) build_options_default="man";;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue