SHA256
1
0
forked from pool/vlc

Updating link to change in openSUSE:Factory/vlc revision 91.0

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=7b17ac1b03a6674f9dec2b930cda6bf2
This commit is contained in:
OBS User buildservice-autocommit
2019-01-26 21:18:15 +00:00
committed by Git OBS Bridge
parent 0762fe8212
commit 3085717194
4 changed files with 508 additions and 7 deletions

View File

@@ -49,6 +49,10 @@ Patch1: vlc-allow-deprecated-fribidi.patch
Patch2: vlc-lua-5.3.patch
# PATCH-FEATURE-OPENSUSE vlc-projectM-qt5.patch -- Build against projectM-qt5; openSUSE provides projectM as -qt and -qt5 variant
Patch100: vlc-projectM-qt5.patch
# PATCH-FIX-UPSTREAM 0001-Fix-leaking-AvahiServiceResolver-in-the-error-paths.patch -- Fix some memleaks
Patch101: 0001-Fix-leaking-AvahiServiceResolver-in-the-error-paths.patch
# PATCH-FIX-UPSTREAM 0002-Add-Avahi-implementation-for-chromecast-renderer-dis.patch -- Use Avahi for discovery, microdns is not available
Patch102: 0002-Add-Avahi-implementation-for-chromecast-renderer-dis.patch
BuildRequires: Mesa-devel
BuildRequires: SDL-devel >= 1.2.10
BuildRequires: aalib-devel
@@ -323,8 +327,8 @@ This package adds jack support to vlc via plugins.
%package codecs
Summary: Additional codecs for the VLC media player
Group: Productivity/Multimedia/Video/Players
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
# We require the unrestricted libavcodec - same ABI version we linked
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
Requires: %{name}-noX = %{version}
# We need the noX package first, as it contains vlc-cache-gen
Requires(post): %{name}-noX
@@ -337,8 +341,8 @@ codecs that are not available in the stock openSUSE distribution.
%package vdpau
Summary: Additional vdpau codecs for the VLC media player
Group: Productivity/Multimedia/Video/Players
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
# We require the unrestricted libavcodec - same ABI version we linked
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
Requires: %{name}-codecs = %{version}
Requires: %{name}-noX = %{version}
# We need the noX package first, as it contains vlc-cache-gen
@@ -358,11 +362,7 @@ Requires: %{name}-noX = %{version}-%{release}
# We need the noX package first, as it contains vlc-cache-gen
Requires(post): %{name}-noX
Conflicts: %{conflicts}-qt
%if 0%{?suse_version} >= 1310
Supplements: packageand(%{name}-noX:libqt5)
%else
Supplements: packageand(%{name}-noX:libqt4)
%endif
%description qt
This subpackage provides a Qt interface for VLC and selects it by
@@ -375,6 +375,8 @@ default when `vlc` is invoked from an X session.
%if 0%{?suse_version} > 1320
%patch100 -p1
%endif
%patch101 -p1
%patch102 -p1
### And LUA 5.3.1 has some more API changes
if pkg-config --atleast-version 5.3.1 lua; then
@@ -596,7 +598,7 @@ done
%endif
%{_libdir}/vlc/plugins/text_renderer/libfreetype_plugin.so
%{_libdir}/vlc/plugins/text_renderer/libsvg_plugin.so
%if 0%{?suse_version} >= 1140 && 0%{?suse_version} != 1315 || 0%{?BUILD_ORIG}
%if 0%{?suse_version} != 1315 || 0%{?BUILD_ORIG}
%{_libdir}/vlc/plugins/video_chroma/libswscale_plugin.so
%endif
%if 0%{?is_opensuse}