multimedia/vlc: Updated for version 3.0.9.2

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2020-04-16 22:51:23 +10:00 committed by Willy Sudiarto Raharjo
parent 7867092a0b
commit 3a848dc660
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 34 additions and 4 deletions

View file

@ -0,0 +1,13 @@
--- modules/access/dvdnav.c.orig 2020-04-07 23:35:05.000000000 +1000
+++ modules/access/dvdnav.c 2020-04-16 22:32:34.175000000 +1000
@@ -59,6 +59,10 @@
#include <dvdnav/dvdnav.h>
+/* libdvdnav-5.0.3 doesn't define DVDNAV_VERSION */
+#ifndef DVDNAV_VERSION
+#define DVDNAV_VERSION (50003)
+#endif
/* Expose without patching headers */
dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *, uint64_t, int32_t);

View file

@ -0,0 +1,15 @@
--- modules/access/dvdread.c.orig 2020-03-28 23:39:33.000000000 +1000
+++ modules/access/dvdread.c 2020-04-16 22:10:43.065000000 +1000
@@ -55,6 +55,12 @@
#include <unistd.h>
#include <dvdread/dvd_reader.h>
+#ifndef DVDREAD_VERSION_CODE
+#define DVDREAD_VERSION_CODE(major, minor, micro) \
+ (((major) * 10000) + \
+ ((minor) * 100) + \
+ ((micro) * 1))
+#endif
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>

View file

@ -28,7 +28,7 @@
# -----------------------------------------------------------------------------
PRGNAM=vlc
VERSION=${VERSION:-3.0.8}
VERSION=${VERSION:-3.0.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -81,6 +81,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
patch -p0 < $CWD/patch-dvdread-503.diff
patch -p0 < $CWD/patch-dvdnav-503.diff
patch -p0 < $CWD/patch-projectM-fontpath.diff
patch -p0 < $CWD/patch_vlc_cache_gen.diff

View file

@ -1,8 +1,8 @@
PRGNAM="vlc"
VERSION="3.0.8"
VERSION="3.0.9.2"
HOMEPAGE="https://www.videolan.org/vlc/"
DOWNLOAD="https://get.videolan.org/vlc/3.0.8/vlc-3.0.8.tar.xz"
MD5SUM="744442ec0c145453ea1d257914c8072e"
DOWNLOAD="https://get.videolan.org/vlc/3.0.9.2/vlc-3.0.9.2.tar.xz"
MD5SUM="bdedd425a7d41dc0664b1e65286c523c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libass libdc1394 libdvbpsi libmpeg2 libupnp lua portaudio twolame opus ffmpeg libwebp gsm libtar libkate faac libdca libmatroska libshout speex avahi projectM jack libsidplay2 zvbi faad2 libavc1394 libmodplug musepack-tools vcdimager dirac gnome-vfs live555 qt5 rtmpdump libdvdcss fluidsynth schroedinger libminizip chromaprint x264 x265 libbluray libnfs protobuf"