[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / libfishsound

File: [cvs.NetBSD.org] / pkgsrc / audio / libfishsound / options.mk (download)

Revision 1.4, Sat Nov 2 21:09:14 2019 UTC (2 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.3: +5 -5 lines

audio: align variable assignments and directives

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

# $NetBSD: options.mk,v 1.4 2019/11/02 21:09:14 rillig Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.libfishsound
PKG_SUPPORTED_OPTIONS=		doc valgrind
PKG_SUGGESTED_OPTIONS+=		flac speex vorbis
PKG_OPTIONS_NONEMPTY_SETS+=	codec
PKG_OPTIONS_SET.codec=		flac speex vorbis

PLIST_VARS+=		doc nodoc

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mdoc)
BUILD_DEPENDS+=		doxygen-[0-9]*:../../devel/doxygen
PLIST.doc=		yes
.else
CONFIGURE_ARGS+=	HAVE_DOXYGEN=no
PLIST.nodoc=		yes
.endif

.if !empty(PKG_OPTIONS:Mflac)
BUILDLINK_DEPMETHOD.flac=	build
.include "../../audio/flac/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-flac
.endif

.if !empty(PKG_OPTIONS:Mspeex)
.include "../../audio/speex/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-speex
.endif

.if !empty(PKG_OPTIONS:Mvalgrind)
BUILD_DEPENDS+=		valgrind-[0-9]*:../../devel/valgrind
CONFIGURE_ARGS+=	--enable-valgrind-testing
.else
CONFIGURE_ARGS+=	--disable-valgrind-testing
.endif

.if !empty(PKG_OPTIONS:Mvorbis)
.include "../../audio/libvorbis/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-vorbis
.endif