7e82ef92e9
pkgsrc changes: * support wide-curses, enabled by default so I can read my song titles. * support for alsa, enabled by default on linux * support for more file formats * pkglint fixes 2.5.2 New configuration file options: ALSAStutterDefeat: avoid the ALSA bug which causes stuttering Significant bug fixes: Fixed error during configure on busybox systems Fixed calculation of average bitrate in FLAC decoder Fixed unintentional disabling of MMAP support Fixed build failure on split ncurses/tinfo systems Fixed unreaped children when running in foreground mode Fixed freeze on Nokia devices if audios play to completion Circumvented ALSA stutter bug Added missing 'Precache' option to example config file Miscellaneous: Improved the accuracy of the average bitrate for FLAC Mitigated out-of-file seeking for several formats Warn of TagLib version requirement rising to 1.5 Warn of Musepack library changing to libmpc (from libmpcdec) 2.5.1 Significant bug fixes: Corrected the setting of linked libraries for Berkeley DB Fixed ALSA volume setting problem (Tomasz Golinski) Fixed clearing of stream status message on error Resolved FFmpeg/LibAV's downmixing API issues (Andreas Cadhalpun) Removed duplicate logging of fatal error messages Miscellaneous: Adapted to FFmpeg 3.0 API Warn of FFmpeg/LibAV version requirement rising to 1.0/10.0 Warn of pending POSIX.1-2001 compliance requirement Fixed several warnings and errors on OpenBSD (Brent Cook) Fixed various (and potential) segfaults (Daniel T. Borelli, Hendrik Iben, Rastislav Barlik) Fixed various resource leakages Silenced various compiler warnings Added instructions on building with autoreconf
121 lines
2.7 KiB
Makefile
121 lines
2.7 KiB
Makefile
# $NetBSD: options.mk,v 1.7 2019/06/11 11:54:56 nia Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.moc
|
|
|
|
PKG_SUPPORTED_OPTIONS+= curl faad flac mad sndfile vorbis
|
|
PKG_SUPPORTED_OPTIONS+= alsa ffmpeg jack modplug samplerate
|
|
PKG_SUPPORTED_OPTIONS+= sidplay speex wavpack wide-curses
|
|
|
|
PKG_SUGGESTED_OPTIONS+= curl faad flac mad sndfile vorbis wide-curses
|
|
PKG_SUGGESTED_OPTIONS.Linux+= alsa
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= faad ffmpeg flac mad modplug sidplay sndfile
|
|
PLIST_VARS+= speex vorbis wavpack
|
|
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
. include "../../audio/alsa-lib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-alsa
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mcurl)
|
|
. include "../../www/curl/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-curl
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mfaad)
|
|
PLIST.faad= yes
|
|
. include "../../audio/faad2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-aac
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mffmpeg)
|
|
PLIST.ffmpeg= yes
|
|
. include "../../multimedia/ffmpeg3/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ffmpeg
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mflac)
|
|
PLIST.flac= yes
|
|
. include "../../audio/flac/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-flac
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mjack)
|
|
###
|
|
### Resampling support is usually required with jack.
|
|
###
|
|
. include "../../audio/jack/buildlink3.mk"
|
|
. include "../../audio/libsamplerate/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-jack
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmad)
|
|
PLIST.mad= yes
|
|
. include "../../audio/libmad/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mp3
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmodplug)
|
|
PLIST.modplug= yes
|
|
. include "../../audio/libmodplug/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-modplug
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msamplerate)
|
|
. include "../../audio/libsamplerate/buildlink3.mk"
|
|
.else
|
|
. if empty(PKG_OPTIONS:Mjack)
|
|
CONFIGURE_ARGS+= --without-samplerate
|
|
. endif
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msidplay)
|
|
PLIST.sidplay= yes
|
|
. include "../../audio/libsidplay2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sidplay2
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msndfile)
|
|
PLIST.sndfile= yes
|
|
. include "../../audio/libsndfile/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sndfile
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mspeex)
|
|
PLIST.speex= yes
|
|
. include "../../audio/speex/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-speex
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mvorbis)
|
|
PLIST.vorbis= yes
|
|
. include "../../audio/libvorbis/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-vorbis
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mwavpack)
|
|
PLIST.wavpack= yes
|
|
. include "../../audio/wavpack/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-wavpack
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mwide-curses)
|
|
# handled by curses.buildlink3.mk
|
|
# XXX i'm not sure why this is needed
|
|
FAKE_NCURSES= yes
|
|
.endif
|