Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/vlc vlc: Update to 3.0.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05648b0233e8
branches:  trunk
changeset: 430511:05648b0233e8
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 01 13:51:54 2020 +0000

description:
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

diffstat:

 multimedia/vlc/Makefile                        |  49 +++++++------
 multimedia/vlc/PLIST                           |  58 +++++++--------
 multimedia/vlc/distinfo                        |  12 +-
 multimedia/vlc/options.mk                      |  92 ++++++++++++++++---------
 multimedia/vlc/patches/patch-share_Makefile.am |  12 +-
 5 files changed, 124 insertions(+), 99 deletions(-)

diffs (truncated from 575 to 300 lines):

diff -r 2d2b247a73d2 -r 05648b0233e8 multimedia/vlc/Makefile
--- a/multimedia/vlc/Makefile   Fri May 01 13:36:09 2020 +0000
+++ b/multimedia/vlc/Makefile   Fri May 01 13:51:54 2020 +0000
@@ -1,16 +1,13 @@
-# $NetBSD: Makefile,v 1.231 2020/04/12 08:29:03 adam Exp $
+# $NetBSD: Makefile,v 1.232 2020/05/01 13:51:54 nia Exp $
 
-DISTNAME=              vlc-${VLC_VERSION}
-PKGREVISION=           7
+DISTNAME=              vlc-3.0.10
 CATEGORIES=            multimedia
-MASTER_SITES=          https://download.videolan.org/pub/videolan/vlc/${VLC_VERSION}/
+MASTER_SITES=          https://download.videolan.org/pub/videolan/vlc/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=          .tar.xz
 
-VLC_VERSION=           3.0.8
-
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              https://www.videolan.org/
-COMMENT=               VLC media player and streaming server
+COMMENT=               VideoLAN media player and streaming server
 LICENSE=               gnu-gpl-v2
 
 CONFLICTS=             vlc07-[0-9]* vlc08-[0-9]*
@@ -25,7 +22,7 @@
 CONFIGURE_ARGS+=       --with-kde-solid=${PREFIX}/share/kde/apps/solid/actions
 PTHREAD_OPTS+=         require
 USE_LANGUAGES=         c99 c++
-PLIST_VARS+=           altivec cdrom oss v4l2 x86simd
+PLIST_VARS+=           altivec cdrom egl oss v4l2 x86simd
 
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
@@ -33,13 +30,14 @@
 BUILDLINK_API_DEPENDS.zlib+=           zlib>=1.2.0
 BUILDLINK_API_DEPENDS.vcdimager+=      vcdimager>=0.7.20nb1
 
-LUA_VERSIONS_ACCEPTED= 51 52
-CONFIGURE_ENV=         LUAC=${LUA_COMPILER}
+CONFIGURE_ENV=         LUAC=${PREFIX}/bin/luac5.2
 
+# Avoid codec duplication with ffmpeg, etc
+
+CONFIGURE_ARGS+=       --disable-aom
 CONFIGURE_ARGS+=       --disable-archive
 CONFIGURE_ARGS+=       --disable-aribsub
 CONFIGURE_ARGS+=       --disable-aribb25
-CONFIGURE_ARGS+=       --disable-bluray
 CONFIGURE_ARGS+=       --disable-caca
 CONFIGURE_ARGS+=       --disable-chromaprint
 CONFIGURE_ARGS+=       --disable-chromecast
@@ -54,6 +52,7 @@
 CONFIGURE_ARGS+=       --disable-goom
 CONFIGURE_ARGS+=       --disable-gst-decode
 CONFIGURE_ARGS+=       --disable-libplacebo
+CONFIGURE_ARGS+=       --disable-libmpeg2
 CONFIGURE_ARGS+=       --disable-live555
 CONFIGURE_ARGS+=       --disable-mad
 CONFIGURE_ARGS+=       --disable-mfx
@@ -64,7 +63,6 @@
 CONFIGURE_ARGS+=       --disable-notify
 CONFIGURE_ARGS+=       --disable-opencv
 CONFIGURE_ARGS+=       --disable-projectm
-CONFIGURE_ARGS+=       --disable-samplerate
 CONFIGURE_ARGS+=       --disable-sdl-image
 CONFIGURE_ARGS+=       --disable-secret
 CONFIGURE_ARGS+=       --disable-sftp
@@ -72,13 +70,16 @@
 CONFIGURE_ARGS+=       --disable-sid
 CONFIGURE_ARGS+=       --disable-smbclient
 CONFIGURE_ARGS+=       --disable-sndio
+CONFIGURE_ARGS+=       --disable-soxr
 CONFIGURE_ARGS+=       --disable-spatialaudio
+CONFIGURE_ARGS+=       --disable-speex
 CONFIGURE_ARGS+=       --disable-srt
 CONFIGURE_ARGS+=       --disable-svg
 CONFIGURE_ARGS+=       --disable-svgdec
 CONFIGURE_ARGS+=       --disable-tiger
 CONFIGURE_ARGS+=       --disable-twolame
 CONFIGURE_ARGS+=       --disable-udev
+CONFIGURE_ARGS+=       --disable-vpx
 CONFIGURE_ARGS+=       --disable-vnc
 CONFIGURE_ARGS+=       --disable-vsxu
 CONFIGURE_ARGS+=       --disable-x264
@@ -87,7 +88,7 @@
 CONFIGURE_ARGS+=       --disable-zvbi
 
 # which platforms support OSSv4?
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS"
 PLIST.oss=             yes
 .include "../../mk/oss.buildlink3.mk"
 .else
@@ -119,6 +120,11 @@
 CONFIGURE_ARGS+=       --disable-v4l2
 .endif
 
+.include "../../graphics/MesaLib/features.mk"
+.if ${MESALIB_SUPPORTS_EGL} == "yes"
+PLIST.egl=             yes
+.endif
+
 INSTALLATION_DIRS+=    share/vlc/http/dialogs share/vlc/http/images \
                        share/vlc/http/js share/vlc/http/old \
                        share/vlc/http/old/admin share/vlc/http/old/vlm \
@@ -163,23 +169,22 @@
 CHECK_WRKREF_SKIP=     lib/libvlccore.a \
                        lib/libvlccore.so*
 
-MAKE_FLAGS+=   BUILDCC=${CC}
+MAKE_FLAGS+=   BUILDCC=${CC:Q}
 
 pre-configure:
        ${RUN} cd ${WRKSRC} && ${SH} ./bootstrap
 
+.include "../../audio/flac/buildlink3.mk"
 .include "../../audio/fluidsynth/buildlink3.mk"
-.include "../../audio/flac/buildlink3.mk"
 .include "../../audio/liba52/buildlink3.mk"
 .include "../../audio/libcddb/buildlink3.mk"
 .include "../../audio/libmodplug/buildlink3.mk"
 .include "../../audio/libopus/buildlink3.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
 .include "../../audio/libshout/buildlink3.mk"
-.include "../../audio/libsoxr/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../audio/mpg123/buildlink3.mk"
 .include "../../audio/musepack/buildlink3.mk"
-.include "../../audio/speexdsp/buildlink3.mk"
 .include "../../audio/taglib/buildlink3.mk"
 .include "../../converters/fribidi/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
@@ -187,20 +192,23 @@
 .include "../../devel/libmtp/buildlink3.mk"
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../fonts/harfbuzz/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
-.include "../../lang/lua/buildlink3.mk"
+.include "../../lang/lua52/buildlink3.mk"
 .include "../../misc/libcdio/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../multimedia/ffmpeg4/buildlink3.mk"
 .include "../../multimedia/libass/buildlink3.mk"
+.include "../../multimedia/libbluray/buildlink3.mk"
 .include "../../multimedia/libdvdplay/buildlink3.mk"
 .include "../../multimedia/libdvbpsi0/buildlink3.mk"
 .include "../../multimedia/libdvdnav/buildlink3.mk"
 .include "../../multimedia/libdvdread/buildlink3.mk"
 .include "../../multimedia/libkate/buildlink3.mk"
 .include "../../multimedia/libmatroska/buildlink3.mk"
-.include "../../multimedia/libmpeg2/buildlink3.mk"
 .include "../../multimedia/libogg/buildlink3.mk"
 .include "../../multimedia/libtheora/buildlink3.mk"
 .include "../../multimedia/schroedinger/buildlink3.mk"
@@ -209,8 +217,5 @@
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
-# libX11 should be built with xcb enabled
-BUILDLINK_API_DEPENDS.libX11+= libX11>=1.3.5
-.include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d2b247a73d2 -r 05648b0233e8 multimedia/vlc/PLIST
--- a/multimedia/vlc/PLIST      Fri May 01 13:36:09 2020 +0000
+++ b/multimedia/vlc/PLIST      Fri May 01 13:51:54 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.64 2019/09/02 12:54:15 nia Exp $
+@comment $NetBSD: PLIST,v 1.65 2020/05/01 13:51:54 nia Exp $
 @pkgdir share/vlc/http/dialogs
 @pkgdir share/vlc/http/images
 @pkgdir share/vlc/http/js
@@ -122,8 +122,8 @@
 lib/pkgconfig/libvlc.pc
 lib/pkgconfig/vlc-plugin.pc
 ${PLIST.pulseaudio}lib/vlc/libvlc_pulse.la
-${PLIST.qt5}lib/vlc/libvlc_vdpau.la
-${PLIST.qt5}lib/vlc/libvlc_xcb_events.la
+${PLIST.vdpau}lib/vlc/libvlc_vdpau.la
+${PLIST.x11}lib/vlc/libvlc_xcb_events.la
 lib/vlc/lua/extensions/VLSub.luac
 lib/vlc/lua/intf/cli.luac
 lib/vlc/lua/intf/dummy.luac
@@ -178,6 +178,7 @@
 lib/vlc/plugins/access/libhttps_plugin.la
 lib/vlc/plugins/access/libidummy_plugin.la
 lib/vlc/plugins/access/libimem_plugin.la
+lib/vlc/plugins/access/liblibbluray_plugin.la
 ${PLIST.pulseaudio}lib/vlc/plugins/access/libpulsesrc_plugin.la
 lib/vlc/plugins/access/librtp_plugin.la
 lib/vlc/plugins/access/libsatip_plugin.la
@@ -188,12 +189,12 @@
 lib/vlc/plugins/access/libudp_plugin.la
 ${PLIST.cdrom}lib/vlc/plugins/access/libvcd_plugin.la
 lib/vlc/plugins/access/libvdr_plugin.la
-${PLIST.qt5}lib/vlc/plugins/access/libxcb_screen_plugin.la
+${PLIST.x11}lib/vlc/plugins/access/libxcb_screen_plugin.la
 lib/vlc/plugins/access_output/libaccess_output_dummy_plugin.la
 lib/vlc/plugins/access_output/libaccess_output_file_plugin.la
 lib/vlc/plugins/access_output/libaccess_output_http_plugin.la
 lib/vlc/plugins/access_output/libaccess_output_livehttp_plugin.la
-lib/vlc/plugins/access_output/libaccess_output_shout_plugin.la
+${PLIST.qt5}lib/vlc/plugins/access_output/libaccess_output_shout_plugin.la
 lib/vlc/plugins/access_output/libaccess_output_udp_plugin.la
 lib/vlc/plugins/audio_filter/libaudio_format_plugin.la
 lib/vlc/plugins/audio_filter/libaudiobargraph_a_plugin.la
@@ -208,12 +209,11 @@
 lib/vlc/plugins/audio_filter/libnormvol_plugin.la
 lib/vlc/plugins/audio_filter/libparam_eq_plugin.la
 lib/vlc/plugins/audio_filter/libremap_plugin.la
+lib/vlc/plugins/audio_filter/libsamplerate_plugin.la
 lib/vlc/plugins/audio_filter/libscaletempo_pitch_plugin.la
 lib/vlc/plugins/audio_filter/libscaletempo_plugin.la
 lib/vlc/plugins/audio_filter/libsimple_channel_mixer_plugin.la
-lib/vlc/plugins/audio_filter/libsoxr_plugin.la
 lib/vlc/plugins/audio_filter/libspatializer_plugin.la
-lib/vlc/plugins/audio_filter/libspeex_resampler_plugin.la
 lib/vlc/plugins/audio_filter/libstereo_widen_plugin.la
 lib/vlc/plugins/audio_filter/libtospdif_plugin.la
 lib/vlc/plugins/audio_filter/libtrivial_channel_mixer_plugin.la
@@ -230,7 +230,6 @@
 lib/vlc/plugins/codec/liba52_plugin.la
 lib/vlc/plugins/codec/libadpcm_plugin.la
 lib/vlc/plugins/codec/libaes3_plugin.la
-lib/vlc/plugins/codec/libaom_plugin.la
 lib/vlc/plugins/codec/libaraw_plugin.la
 lib/vlc/plugins/codec/libavcodec_plugin.la
 lib/vlc/plugins/codec/libcc_plugin.la
@@ -246,7 +245,6 @@
 lib/vlc/plugins/codec/libjpeg_plugin.la
 lib/vlc/plugins/codec/libkate_plugin.la
 lib/vlc/plugins/codec/liblibass_plugin.la
-lib/vlc/plugins/codec/liblibmpeg2_plugin.la
 lib/vlc/plugins/codec/liblpcm_plugin.la
 lib/vlc/plugins/codec/libmpg123_plugin.la
 lib/vlc/plugins/codec/liboggspots_plugin.la
@@ -258,7 +256,6 @@
 lib/vlc/plugins/codec/libscte18_plugin.la
 lib/vlc/plugins/codec/libscte27_plugin.la
 lib/vlc/plugins/codec/libspdif_plugin.la
-lib/vlc/plugins/codec/libspeex_plugin.la
 lib/vlc/plugins/codec/libspudec_plugin.la
 lib/vlc/plugins/codec/libstl_plugin.la
 lib/vlc/plugins/codec/libsubsdec_plugin.la
@@ -274,9 +271,8 @@
 ${PLIST.vaapi}lib/vlc/plugins/codec/libvaapi_drm_plugin.la
 ${PLIST.vaapi}lib/vlc/plugins/codec/libvaapi_plugin.la
 lib/vlc/plugins/codec/libvorbis_plugin.la
-lib/vlc/plugins/codec/libvpx_plugin.la
 lib/vlc/plugins/codec/libwebvtt_plugin.la
-${PLIST.qt5}lib/vlc/plugins/codec/libxwd_plugin.la
+${PLIST.x11}lib/vlc/plugins/codec/libxwd_plugin.la
 ${PLIST.dbus}lib/vlc/plugins/control/libdbus_plugin.la
 lib/vlc/plugins/control/libdummy_plugin.la
 lib/vlc/plugins/control/libgestures_plugin.la
@@ -285,7 +281,7 @@
 lib/vlc/plugins/control/libmotion_plugin.la
 lib/vlc/plugins/control/libnetsync_plugin.la
 lib/vlc/plugins/control/liboldrc_plugin.la
-${PLIST.qt5}lib/vlc/plugins/control/libxcb_hotkeys_plugin.la
+${PLIST.qt5}${PLIST.x11}lib/vlc/plugins/control/libxcb_hotkeys_plugin.la
 lib/vlc/plugins/demux/libadaptive_plugin.la
 lib/vlc/plugins/demux/libaiff_plugin.la
 lib/vlc/plugins/demux/libasf_plugin.la
@@ -350,7 +346,7 @@
 lib/vlc/plugins/misc/liblogger_plugin.la
 lib/vlc/plugins/misc/libstats_plugin.la
 lib/vlc/plugins/misc/libvod_rtsp_plugin.la
-${PLIST.qt5}lib/vlc/plugins/misc/libxdg_screensaver_plugin.la
+${PLIST.x11}lib/vlc/plugins/misc/libxdg_screensaver_plugin.la
 lib/vlc/plugins/misc/libxml_plugin.la
 lib/vlc/plugins/mux/libmux_asf_plugin.la
 lib/vlc/plugins/mux/libmux_avi_plugin.la
@@ -382,7 +378,7 @@
 ${PLIST.pulseaudio}lib/vlc/plugins/services_discovery/libpulselist_plugin.la
 lib/vlc/plugins/services_discovery/libsap_plugin.la
 lib/vlc/plugins/services_discovery/libupnp_plugin.la
-${PLIST.qt5}lib/vlc/plugins/services_discovery/libxcb_apps_plugin.la
+${PLIST.x11}lib/vlc/plugins/services_discovery/libxcb_apps_plugin.la
 lib/vlc/plugins/spu/libaudiobargraph_v_plugin.la
 lib/vlc/plugins/spu/libdynamicoverlay_plugin.la
 lib/vlc/plugins/spu/liblogo_plugin.la
@@ -418,15 +414,15 @@
 lib/vlc/plugins/stream_out/libstream_out_standard_plugin.la
 lib/vlc/plugins/stream_out/libstream_out_stats_plugin.la
 lib/vlc/plugins/stream_out/libstream_out_transcode_plugin.la
-${PLIST.qt5}lib/vlc/plugins/text_renderer/libfreetype_plugin.la
+lib/vlc/plugins/text_renderer/libfreetype_plugin.la
 lib/vlc/plugins/text_renderer/libtdummy_plugin.la
 ${PLIST.vaapi}lib/vlc/plugins/vaapi/libvaapi_filters_plugin.la
-${PLIST.qt5}lib/vlc/plugins/vdpau/libvdpau_adjust_plugin.la
-${PLIST.qt5}lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.la
-${PLIST.qt5}lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.la
-${PLIST.qt5}lib/vlc/plugins/vdpau/libvdpau_deinterlace_plugin.la
-${PLIST.qt5}lib/vlc/plugins/vdpau/libvdpau_display_plugin.la
-${PLIST.qt5}lib/vlc/plugins/vdpau/libvdpau_sharpen_plugin.la



Home | Main Index | Thread Index | Old Index