# $NetBSD: options.mk,v 1.12 2024/02/01 09:45:59 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.easytag PKG_SUPPORTED_OPTIONS= doc flac manual ogg opus speex wavpack PKG_SUGGESTED_OPTIONS= doc flac manual ogg opus speex wavpack PLIST_VARS+= man .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mdoc) DEPENDS+= yelp-[0-9]*:../../misc/yelp3 .endif .if !empty(PKG_OPTIONS:Mflac) . include "../../audio/flac/buildlink3.mk" . include "../../audio/libvorbis/buildlink3.mk" CONFIGURE_ARGS+= --enable-flac .else CONFIGURE_ARGS+= --disable-flac .endif .if !empty(PKG_OPTIONS:Mmanual) TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl CONFIGURE_ARGS+= --with-xml-catalog=${PKG_SYSCONFDIR}/xml/catalog CONFIGURE_ARGS+= --enable-man PLIST.man= yes .else CONFIGURE_ARGS+= --disable-man .endif .if !empty(PKG_OPTIONS:Mogg) . include "../../audio/libvorbis/buildlink3.mk" CONFIGURE_ARGS+= --enable-ogg .else CONFIGURE_ARGS+= --disable-ogg .endif .if !empty(PKG_OPTIONS:Mopus) . include "../../audio/libopus/buildlink3.mk" . include "../../audio/opusfile/buildlink3.mk" CONFIGURE_ARGS+= --enable-opus .else CONFIGURE_ARGS+= --disable-opus .endif .if !empty(PKG_OPTIONS:Mspeex) . include "../../audio/speex/buildlink3.mk" CONFIGURE_ARGS+= --enable-speex .else CONFIGURE_ARGS+= --disable-speex .endif .if !empty(PKG_OPTIONS:Mwavpack) . include "../../audio/wavpack/buildlink3.mk" CONFIGURE_ARGS+= --enable-wavpack .else CONFIGURE_ARGS+= --disable-wavpack .endif