7eae8e2ced
bump required version of libmp4v2 and PKGREVISION should resolve PR pkg/37418 by Johann Franz (half of it)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2007/11/21 21:40:25 drochner Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.easytag-current
|
|
PKG_SUPPORTED_OPTIONS= flac mpeg4ip ogg speex wavpack
|
|
PKG_SUGGESTED_OPTIONS= flac mpeg4ip 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:Mmpeg4ip)
|
|
BUILDLINK_API_DEPENDS.libmp4v2+= libmp4v2>=1.6.1
|
|
.include "../../multimedia/libmp4v2/buildlink3.mk"
|
|
# for mpeg4ip.h
|
|
CPPFLAGS+= -DHAVE_GTK
|
|
.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
|