%bcond_without alsa # ALSA access/audio output plugins
%bcond_without bonjour # bonjour service discovery plugin
%bcond_without bpg # BPG files support
-%bcond_without caca # caca video output plugin
+%bcond_with caca # caca video output plugin
%bcond_without crystalhd # crystalhd codec plugin
%bcond_with daala # daala codec plugin (experimental)
%bcond_with decklink # Blackmagic DeskLink output support (BR: proprietary SDK)
%bcond_without sftp # SFTP file transfer via libssh2
%bcond_without shout # shout access output plugin
%bcond_without smb # SMB access plugin
-%bcond_without smb2 # SMB2 access plugin
+%bcond_with smb2 # SMB2 access plugin (requires unreleased version)
%bcond_without speex # speex codec plugin
%bcond_without static_libs # don't build static libraries
%bcond_without svg # svg text renderer plugin
Summary: VLC - a multimedia player and stream server
Summary(pl.UTF-8): VLC - odtwarzacz multimedialny oraz serwer strumieni
Name: vlc
-Version: 3.0.12
-Release: 1
+Version: 3.0.16
+Release: 2
License: GPL v2+
Group: X11/Applications/Multimedia
Source0: https://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 452d3423bcbaf1b85faebab0c45a7ecf
+# Source0-md5: efc5f7331c033bf81536531c6eba5aa5
Patch0: %{name}-buildflags.patch
Patch1: %{name}-tremor.patch
Patch2: %{name}-mpc.patch
Patch8: qt-5.15.patch
Patch9: %{name}-live.patch
Patch10: %{name}-srt.patch
+Patch11: opencv4.patch
URL: http://www.videolan.org/vlc/
%{?with_decklink:BuildRequires: Blackmagic_DeckLink_SDK}
# 1.0 for X11 or GLESv1, 1.1 for GLESv2
BuildRequires: libsecret-devel >= 0.18
%{?with_shout:BuildRequires: libshout-devel >= 2.1}
BuildRequires: libsidplay2-devel
-%{?with_smb2:BuildRequires: libsmb2-devel >= 3.0.0}
+%{?with_smb2:BuildRequires: libsmb2-devel >= 4.0.0}
%{?with_smb:BuildRequires: libsmbclient-devel >= 3.6.13}
%{?with_sftp:BuildRequires: libssh2-devel}
BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: minizip-devel
BuildRequires: musepack-devel
BuildRequires: ncurses-devel
-%{?with_opencv:BuildRequires: opencv-devel > 2.0}
+%{?with_opencv:BuildRequires: opencv-devel > 4}
BuildRequires: opus-devel >= 1.0.3
BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: protobuf-devel >= 2.5.0
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
%build
%{__libtoolize}
%attr(755,root,root) %{_libdir}/vlc/plugins/video_filter/liboldmovie_plugin.so
%if %{with opencv}
# R: opencv
-%attr(755,root,root) %{_libdir}/vlc/plugins/video_filter/libopencv_example_plugin.so
+#%attr(755,root,root) %{_libdir}/vlc/plugins/video_filter/libopencv_example_plugin.so
%attr(755,root,root) %{_libdir}/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
%endif
%attr(755,root,root) %{_libdir}/vlc/plugins/video_filter/libposterize_plugin.so