SHA256
1
0
forked from pool/vlc

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

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=a54032add2acf63dcb515e606a10f631
This commit is contained in:
OBS User buildservice-autocommit 2018-05-06 12:57:00 +00:00 committed by Git OBS Bridge
parent 2447b0112d
commit 656545e3d1
6 changed files with 104 additions and 51 deletions

View File

@ -1,44 +0,0 @@
Index: vlc-3.0.1/modules/arm_neon/asm.S
===================================================================
--- /dev/null
+++ vlc-3.0.1/modules/arm_neon/asm.S
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2018 Janne Grunau <janne-libav@jannau.net>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifdef __APPLE__
+# define EXTERN_ASM _
+#else
+# define EXTERN_ASM
+#endif
+
+#if defined(__APPLE__) || defined(_WIN32)
+# define HAVE_AS_ARCH_DIRECTIVE 0
+# define HAVE_AS_FPU_DIRECTIVE 0
+#else
+# define HAVE_AS_ARCH_DIRECTIVE 1
+# define HAVE_AS_FPU_DIRECTIVE 1
+#endif
+
+.macro function name
+ .globl EXTERN_ASM\name
+#ifdef __ELF__
+ .type EXTERN_ASM\name, %function
+#endif
+EXTERN_ASM\name:
+.endm

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce700cdfb49d721b75581ee727e98cc60dae97407ccec0f82124d5e9a1cb1301
size 25174040

3
vlc-3.0.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efe8c889b69bffba9662140bdcf434d9d36edc5dbb0e300fcce4553c354ea198
size 25175492

13
vlc-lua-5.3.patch Normal file
View File

@ -0,0 +1,13 @@
Index: vlc-3.0.2/modules/lua/libs/io.c
===================================================================
--- vlc-3.0.2.orig/modules/lua/libs/io.c
+++ vlc-3.0.2/modules/lua/libs/io.c
@@ -139,7 +139,7 @@ static int vlclua_io_file_seek( lua_Stat
const char* psz_mode = luaL_optstring( L, 2, NULL );
if ( psz_mode != NULL )
{
- long i_offset = luaL_optlong( L, 3, 0 );
+ long i_offset = (long) luaL_optinteger(L, 3, 0);
int i_mode;
if ( !strcmp( psz_mode, "set" ) )
i_mode = SEEK_SET;

View File

@ -1,3 +1,87 @@
-------------------------------------------------------------------
Mon Apr 30 11:01:03 UTC 2018 - dimstar@opensuse.org
- Update to version 3.0.2:
+ Core:
* Fix snapshotting with subtitles when using hardware acceleration
* Fix green/missing line/column when the picture dimensions are odd
+ Decoders:
* Important improvements in hardware decoding for macOS, notably faster,
supporting more samples and removing crashes/deadlocks
* Improve compatibility for DxVA2 and D3D11 decoding, fix crashes when seeking
and fix blacklisting of broken drivers
* Fix SSA subtitles forced alignment
* Fix E-AC-3 stuttering
* Fix MIDI playback on macOS
* Add playback support for ProRes 4444 XQ
+ Demux:
* Fix wrong colors in some AVI files
* Fix IFO files playback to start DVDs
* Fix a crash with missing/invalid MPEG SDT
* Update VP8/9/10 ISOBMFF bindings and improve HDR for those cases
* Fix TTML inside MP4
* Improve MP4 read of color information
* Fix flac seeking and improve flac parsing
* Improve mkv opening & seeking speed
* Fix display of chapters with no name defined
* Miscellaneous MKV crash fixes
* Fix crash with multi-region DVDs
* Fix audio being muted on DVD chapter change
* Fix audio being muted when seeking in a BluRay disc
+ Access: Avoid a crash/assert in FTP after seeking
+ Audio output:
* Fix mmdevice default audio device handling
* Fix "reset audio volume" being forcefully deactivated
* Allow a default device to be used by VLC
* Only warn once about misconfiguration for AUhal devices on macOS
* Improve resampling and latency computation for CoreAudio
* Passthrough is now disabled by default
+ Audio filters:
* Fix audio stutter after unpausing with headphones
* Fix silence when dolby-surround was mis-selected in preferences
+ Video output:
* Fix OpenGL crashes or bad display with semi-planar chromas
* Fix OpenGL interop (zero-copy) disabled for tvOS
* Major rewrite of the iOS video output to fix numerous crashes
* Important improvements of the D3D11 video output to use less memory
and less GPU for HDR tone-mapping
* Fix crop on vertical videos with Direct3D11
* Fix Direct3D9 filters settings not being applied properly
* Fix transform filters with hardware decoding
* Fix snapshot and filters with HEVC hardware decoding
* Fix a buffer overrun during GPU/CPU image copy
* Fix glitches on DVD menus with Direct3D11
* Fix non-HDR content playback on HDR screens with Direct3D11
* Fix YUV full range displayed incorrectly in Direct3D11
* Fix miscellaneous crashes in Direct3D11
* Fix potential black screen with 10bits videos on Direct3D11
+ Qt:
* Fix last folder used in open dialogs
* Allow to customize the seek jump when using the mousewheel
* Fix fullscreen controller positionment on multiscreen setups
* Fix pasted URLs not being trimmed
* Fix jump size not being configurable
* Fix missing time labels updates
* Fix playback speed slider not accepting 1.0x value
* Fix raw input dump
* Fix window size after a fullscreen playback
+ Misc:
* Fix lua rc & oldrc interfaces host specification
* Fix crashes when searching for renderers
* Relocate localedir for Linux (improves snap i18n support)
* Fix VDPAU GLX usage on Linux
* Improve support for NetBSD
* Fix MSI script for Windows
* Fix libvlc_media_list not going to next media
* Fix character encoding on win32 consoles
* Miscellaneous chromecast improvements
* Fix missing OSD navigation feedback
* Various VLSub improvements
* lua: Fix scripts not being loaded on some filesystems
* lua: Add vlc.io APIs to handle UTF-8 paths
- Drop arm-neon-asm.patch: fixed upstream.
- Add vlc-lua-5.3.patch: fix build with LUA 5.3.
-------------------------------------------------------------------
Tue Mar 27 09:27:58 UTC 2018 - dimstar@opensuse.org

View File

@ -31,7 +31,7 @@
# VNC support - the module is not really usable in most cases tested so far (e.g. against qemu-kvm -vnc :xx)
%bcond_with vnc
Name: vlc
Version: 3.0.1
Version: 3.0.2
Release: 0
Summary: Graphical media player
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@ -45,8 +45,8 @@ Source2: %{name}-rpmlintrc
Patch0: vlc.a52.patch
# PATCH-FIX-UPSTREAM vlc-allow-deprecated-fribidi.patch dimstar@opensuse.org -- Allow usage of deprecated fribidi functions
Patch1: vlc-allow-deprecated-fribidi.patch
# PATCH-FIX-UPSTREAM add forgotten file
Patch2: arm-neon-asm.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-FEATURE-OPENSUSE vlc-projectM-qt5.patch -- Build against projectM-qt5; openSUSE provides projectM as -qt and -qt5 variant
Patch100: vlc-projectM-qt5.patch
BuildRequires: Mesa-devel
@ -359,7 +359,6 @@ default when `vlc` is invoked from an X session.
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%if 0%{?suse_version} > 1320
%patch100 -p1
%endif
@ -368,6 +367,7 @@ default when `vlc` is invoked from an X session.
if pkg-config --atleast-version 5.3.1 lua; then
sed -i 's/luaL_checkint(/(int)luaL_checkinteger(/' \
modules/lua/{demux,libs/{configuration,dialog,net,osd,playlist,stream,variables,volume}}.c
%patch2 -p1
fi
# We do not rely on contrib but make use of system libraries