b1e61cc5bd
uses two different id3 support libraries. Fix mp4 support option. It was depending on libmp4v2, but that wasn't recognized by easytag's configure any longer. Switch to mp4v2 and rename the option to match. Add patches from gentoo to fix build with latest mp4v2 version. Bump PKGREVISION.
40 lines
994 B
Makefile
40 lines
994 B
Makefile
# $NetBSD: options.mk,v 1.6 2012/12/03 22:39:04 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.easytag
|
|
PKG_SUPPORTED_OPTIONS= flac mp4v2 ogg speex wavpack
|
|
PKG_SUGGESTED_OPTIONS= flac mp4v2 ogg speex wavpack
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.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:Mmp4v2)
|
|
.include "../../multimedia/mp4v2/buildlink3.mk"
|
|
.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: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
|