pkgsrc/multimedia/vlc/options.mk
nia 1edc8d5bb2 vlc: Update to 3.0.10
Changes between 3.0.9.2 and 3.0.10:
----------------------------------

Misc:
 * Update Twitch & VLSub scripts

Changes between 3.0.9.1 and 3.0.9.2:
----------------------------------

Misc:
 * Properly bump the version in configure.ac

Changes between 3.0.9 and 3.0.9.1:
----------------------------------

Misc:
 * Fix VLSub returning 401 for earch request

Changes between 3.0.8 and 3.0.9:
----------------------------------

Core:
 * Work around busy looping when playing an invalid item through VLM

Access:
 * Multiple dvdread and dvdnav crashs fixes
 * Fixed DVD glitches on clip change
 * Fixed dvdread commands/data sequence inversion in some cases causing
   unwanted glitches
 * Better handling of authored as corrupted DVD
 * Added libsmb2 support for SMB2/3 shares

Demux:
 * Fix TTML entities not passed to decoder
 * Fixed some WebVTT styling tags being not applied
 * Misc raw H264/HEVC frame rate fixes
 * Fix adaptive regression on TS format change (mostly HLS)
 * Fixed MP4 regression with twos/sowt PCM audio
 * Fixed some MP4 raw quicktime and ms-PCM audio
 * Fixed MP4 interlacing handling
 * Multiple adaptive stack (DASH/HLS/Smooth) fixes
 * Enabled Live seeking for HLS
 * Fixed seeking in some cases for HLS
 * Improved Live playback for Smooth and DASH
 * Fixed adaptive unwanted end of stream in some cases
 * Faster adaptive start and new buffering control options

Packetizers:
 * Fixes H264/HEVC incomplete draining in some cases
 * packetizer_helper: Fix potential trailing junk on last packet
 * Added missing drain in packetizers that was causing missing
   last frame or audio
 * Improved check to prevent fLAC synchronization drops

Decoder:
 * avcodec: revector video decoder to fix incomplete drain
 * spudec: implemented palette updates, fixing missing subtitles
   on some DVD
 * Fixed WebVTT CSS styling not being applied on Windows/macOS
 * Fixed Hebrew teletext pages support in zvbi
 * Fixed Dav1d aborting decoding on corrupted picture
 * Extract and display of all CEA708 subtitles
 * Update libfaad to 2.9.1
 * Add DXVA support for VP9 Profile 2 (10 bits)
 * Mediacodec aspect ratio with Amazon devices

Audio output:
 * Added support for iOS audiounit audio above 48KHz
 * Added support for amem audio up to 384KHz

Video output:
 * Fix for opengl glitches in some drivers
 * Fix GMA950 opengl support on macOS
 * YUV to RGB StretchRect fixes with NVIDIA drivers
 * Use libpacebo new tone mapping desaturation algorithm

Text renderer:
 * Fix crashes on macOS with SSA/ASS subtitles containing emoji
 * Fixed unwanted growing background in Freetype rendering and Y padding

Mux:
 * Fixed some YUV mappings

macOS:
 * Use a layer based video output on 10.14 and higher, which should
   fix various rendering issues where the vout would glitch between
   a wrong size and the correct size.
   Additionally this works around OpenGL issues with Macs that have a
   dedicated NVIDIA GPU, which caused rendering artifacts in the whole
   OS, especially when the "Reduce transparency" accessibility option
   is used
 * Remove qtsound module and add avaudiocapture module as replacement
 * Fix audio capture on macOS Catalina by using avaudiocapture
 * Inform the user in case OS permissions are missing for certain actions
 * Fix Apple Remote support on macOS Catalina
 * Add support for pausing Apple Music on macOS Catalina
 * Fix UPnP discovery crash without an active network interface
 * Fix rare placement issues with fullscreen panel
 * Fix problem in audio output remembering the last device configuration
   in digital mode

Service Discovery:
 * Update libmicrodns to 0.1.2

Misc:
 * Update YouTube, SoundCloud and Vocaroo scripts: this restores
   playback of YouTube URLs.
 * Add missing .wpl & .zpl file associations on Windows
 * Improved chromecast audio quality
2020-05-01 13:51:54 +00:00

182 lines
3.9 KiB
Makefile

# $NetBSD: options.mk,v 1.35 2020/05/01 13:51:54 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vlc
PKG_SUPPORTED_OPTIONS= alsa avahi dbus debug dts jack pulseaudio
PKG_SUPPORTED_OPTIONS+= vlc-skins qt5 x11
PKG_SUGGESTED_OPTIONS= dbus qt5 x11
PKG_SUGGESTED_OPTIONS.Linux+= alsa
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} != "Darwin"
PKG_SUGGESTED_OPTIONS+= x11
.endif
### Add VAAPI if it is available
.include "../../multimedia/libva/available.mk"
.if ${VAAPI_AVAILABLE} == "yes"
PKG_SUPPORTED_OPTIONS+= vaapi
PKG_SUGGESTED_OPTIONS+= vaapi
.endif
### Add VDPAU if it is available
.include "../../multimedia/libvdpau/available.mk"
.if ${VAAPI_AVAILABLE} == "yes"
PKG_SUPPORTED_OPTIONS+= vdpau
PKG_SUGGESTED_OPTIONS+= vdpau
.endif
### Add LIRC if it is available
.include "../../comms/lirc/available.mk"
.if ${LIRC_AVAILABLE} == "yes"
PKG_SUPPORTED_OPTIONS+= lirc
PKG_SUGGESTED_OPTIONS+= lirc
.endif
###
.include "../../mk/bsd.options.mk"
## ALSA support
PLIST_VARS+= alsa
.if !empty(PKG_OPTIONS:Malsa)
CONFIGURE_ARGS+= --enable-alsa
.include "../../audio/alsa-lib/buildlink3.mk"
PLIST.alsa= yes
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
## Avahi support
PLIST_VARS+= avahi
.if !empty(PKG_OPTIONS:Mavahi)
CONFIGURE_ARGS+= --enable-avahi
.include "../../net/avahi/buildlink3.mk"
PLIST.avahi= yes
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
## PulseAudio support
PLIST_VARS+= pulseaudio
.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+= --enable-pulse
.include "../../audio/pulseaudio/buildlink3.mk"
PLIST.pulseaudio= yes
.else
CONFIGURE_ARGS+= --disable-pulse
.endif
## Jack Audio Connection Kit support
PLIST_VARS+= jack
.if !empty(PKG_OPTIONS:Mjack)
CONFIGURE_ARGS+= --enable-jack
.include "../../audio/jack/buildlink3.mk"
PLIST.jack= yes
.else
CONFIGURE_ARGS+= --disable-jack
.endif
## DBUS message bus support
PLIST_VARS+= dbus
.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+= --enable-dbus
.include "../../sysutils/dbus/buildlink3.mk"
PLIST.dbus= yes
.else
CONFIGURE_ARGS+= --disable-dbus
.endif
## DEBUG build or release build
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
CONFIGURE_ARGS+= --disable-optimizations
.endif
## SKINS frontend
PLIST_VARS+= vlc-skins
.if !empty(PKG_OPTIONS:Mvlc-skins)
CONFIGURE_ARGS+= --enable-skins2
PLIST.vlc-skins= yes
INSTALLATION_DIRS+= share/vlc/skins2
.else
CONFIGURE_ARGS+= --disable-skins2
.endif
## QT5 frontend
PLIST_VARS+= qt5
.if !empty(PKG_OPTIONS:Mqt5)
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
PLIST.qt5= yes
CONFIGURE_ARGS+= --enable-qt
.else
CONFIGURE_ARGS+= --disable-qt
.endif
## X11 video output
PLIST_VARS+= x11
.if !empty(PKG_OPTIONS:Mx11)
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
PLIST.x11= yes
CONFIGURE_ARGS+= --enable-xcb
CONFIGURE_ARGS+= --enable-xvideo
.else
CONFIGURE_ARGS+= --disable-xcb
CONFIGURE_ARGS+= --disable-xvideo
.endif
.if !empty(PKG_OPTIONS:Mx11) && !empty(PKG_OPTIONS:Mqt5)
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
.endif
## DTS support (libdca is non-redistributable)
PLIST_VARS+= dts
.if !empty(PKG_OPTIONS:Mdts)
CONFIGURE_ARGS+= --enable-dca
PLIST.dts= yes
. include "../../audio/libdca/buildlink3.mk"
.else
CONFIGURE_ARGS+= --enable-dca=no
.endif
## VAAPI support
PLIST_VARS+= vaapi
.if !empty(PKG_OPTIONS:Mvaapi)
CONFIGURE_ARGS+= --enable-libva
PLIST.vaapi= yes
.include "../../multimedia/libva/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-libva
.endif
## VDPAU support
PLIST_VARS+= vdpau
.if !empty(PKG_OPTIONS:Mvaapi)
CONFIGURE_ARGS+= --enable-vdpau
PLIST.vdpau= yes
.include "../../multimedia/libvdpau/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-vdpau
.endif
## LIRC support
PLIST_VARS+= lirc
.if !empty(PKG_OPTIONS:Mlirc)
CONFIGURE_ARGS+= --enable-lirc
PLIST.lirc= yes
.include "../../comms/lirc/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-lirc
.endif