%bcond_without gnutls # gnutls misc plugin
%bcond_without goom # GOOM! audio visualization
%bcond_without jack # jack access/audio output plugin
-%bcond_without kde # KDE Solid actions
+%bcond_with kde # KDE Solid actions
%bcond_without lirc # lirc control plugin
%bcond_without libplacebo # libplacebo support in gl plugin
%bcond_without live # live555 demuxer 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: 3
+Version: 3.0.16
+Release: 4
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
Patch9: %{name}-live.patch
Patch10: %{name}-srt.patch
Patch11: opencv4.patch
+Patch12: %{name}-libcaca.patch
URL: http://www.videolan.org/vlc/
%{?with_decklink:BuildRequires: Blackmagic_DeckLink_SDK}
# 1.0 for X11 or GLESv1, 1.1 for GLESv2
%{?with_dv:BuildRequires: libavc1394-devel >= 0.5.3}
BuildRequires: libbluray-devel >= 0.6.2
%{?with_bpg:BuildRequires: libbpg-devel}
-%{?with_caca:BuildRequires: libcaca-devel >= 0.99-0.beta14}
+%{?with_caca:BuildRequires: libcaca-devel >= 0.99-0.beta20}
BuildRequires: libcddb-devel >= 0.9.5
BuildRequires: libcdio-devel >= 0.78.2
BuildRequires: libchromaprint-devel >= 0.6.0
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
BuildRequires: systemd-devel >= 1:209
BuildRequires: taglib-devel >= 1.9
BuildRequires: tar >= 1:1.22
+BuildRequires: tpm2-tss-devel
BuildRequires: tremor-devel
%{?with_twolame:BuildRequires: twolame-devel}
%{?with_udev:BuildRequires: udev-devel >= 1:142}
%{?with_libplacebo:Requires: libplacebo >= 0.2.1}
%{?with_svg:Requires: librsvg >= 2.9.0}
Requires: libsecret >= 0.18
-%{?with_smb2:Requires: libsmb2 >= 3.0.0}
+%{?with_smb2:Requires: libsmb2 >= 4.0.0}
Requires: libtheora >= 1.0
Requires: libtiger >= 0.3.1
Requires: libvncserver >= 0.9.9
Requires: desktop-file-utils
Requires: hicolor-icon-theme
Suggests: dbus-x11 >= 1.6.0
-%{?with_caca:Suggests: libcaca > 0.99-0.beta14.1}
+%{?with_caca:Suggests: libcaca > 0.99-0.beta20}
Obsoletes: vlc-gnome
Obsoletes: vlc-gtk
%patch9 -p1
%patch10 -p1
%patch11 -p1
+%patch12 -p1
%build
%{__libtoolize}
%attr(755,root,root) %{_libdir}/vlc/plugins/video_output/libaa_plugin.so
%endif
%if %{with caca}
-# R: libcaca >= 0.99-0.beta14
+# R: libcaca >= 0.99-0.beta20
%attr(755,root,root) %{_libdir}/vlc/plugins/video_output/libcaca_plugin.so
%endif
# R: EGL, xorg-lib-libX11