SHA256
1
0
forked from pool/vlc

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

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=d9d367c3304a377c8b793512b067e88d
This commit is contained in:
OBS User buildservice-autocommit
2019-02-24 16:02:29 +00:00
committed by Git OBS Bridge
parent 3085717194
commit 76ca0778e7
4 changed files with 121 additions and 5 deletions

View File

@@ -47,12 +47,16 @@ Patch0: vlc.a52.patch
Patch1: vlc-allow-deprecated-fribidi.patch
# PATCH-FIX-UPSTREAM vlc-lua-5.3.patch dimstar@opensuse.org -- Replace lua_optlong with lua_optinteger
Patch2: vlc-lua-5.3.patch
# PATCH-FIX-UPSTREAM fix-build-with-fdk-2.0.patch -- Fix building vlc with libfdk-aac v2
Patch3: fix-build-with-fdk-2.0.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
# PATCH-FIX-UPSTREAM 0001-codec-vpx-Detect-libvpx-1.8.0.patch -- Fix building vlc with libvpx 1.8.0
Patch103: 0001-codec-vpx-Detect-libvpx-1.8.0.patch
BuildRequires: Mesa-devel
BuildRequires: SDL-devel >= 1.2.10
BuildRequires: aalib-devel
@@ -291,8 +295,8 @@ installed as a dependency.
%package lang
# FIXME: consider using %%lang_package macro
Summary: Translations for package %{name}
Group: System/Localization
# We do not want to require vlc, which is GUI based, but only vlc-noX
Group: System/Localization
Requires: %{name}-noX = %{version}
Supplements: packageand(bundle-lang-other:%{name}-noX)
Provides: %{name}-lang-all = %{version}
@@ -326,8 +330,8 @@ This package adds jack support to vlc via plugins.
%if 0%{?BUILD_ORIG}
%package codecs
Summary: Additional codecs for the VLC media player
Group: Productivity/Multimedia/Video/Players
# We require the unrestricted libavcodec - same ABI version we linked
Group: Productivity/Multimedia/Video/Players
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
@@ -340,8 +344,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
# We require the unrestricted libavcodec - same ABI version we linked
Group: Productivity/Multimedia/Video/Players
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
Requires: %{name}-codecs = %{version}
Requires: %{name}-noX = %{version}
@@ -361,8 +365,8 @@ Group: Productivity/Multimedia/Video/Players
Requires: %{name}-noX = %{version}-%{release}
# We need the noX package first, as it contains vlc-cache-gen
Requires(post): %{name}-noX
Conflicts: %{conflicts}-qt
Supplements: packageand(%{name}-noX:libqt5)
Conflicts: %{conflicts}-qt
%description qt
This subpackage provides a Qt interface for VLC and selects it by
@@ -372,11 +376,13 @@ default when `vlc` is invoked from an X session.
%setup -q
%patch0 -p1
%patch1 -p1
%patch3 -p1
%if 0%{?suse_version} > 1320
%patch100 -p1
%endif
%patch101 -p1
%patch102 -p1
%patch103 -p1
### And LUA 5.3.1 has some more API changes
if pkg-config --atleast-version 5.3.1 lua; then
@@ -1105,6 +1111,7 @@ done
%{_libdir}/vlc/plugins/codec/libfdkaac_plugin.so
%{_libdir}/vlc/plugins/codec/libfaad_plugin.so
%{_libdir}/vlc/plugins/codec/libx264_plugin.so
%{_libdir}/vlc/plugins/codec/libx26410b_plugin.so
%{_libdir}/vlc/plugins/codec/libx265_plugin.so
%{_libdir}/vlc/plugins/video_filter/libpostproc_plugin.so