[packages/mplayer] - up to 2017-10-22
arekm
arekm at pld-linux.org
Sun Oct 22 11:14:50 CEST 2017
commit 42649b969c81fd4c89807ff299e1e6ad3b46ccfc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Oct 22 11:14:43 2017 +0200
- up to 2017-10-22
mplayer-openjpeg.patch | 6 +++---
mplayer.spec | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/mplayer.spec b/mplayer.spec
index 64fccbd..77bd130 100644
--- a/mplayer.spec
+++ b/mplayer.spec
@@ -111,7 +111,7 @@
%endif
# date from directory inside of tarball (like mplayer-export-2014-04-29)
-%define snap 2017-07-09
+%define snap 2017-10-22
%define ssnap %(echo %{snap} | tr -d -)
%define rel 1
Summary: MPlayer - THE Movie Player for UN*X
@@ -132,9 +132,9 @@ License: GPL
Group: Applications/Multimedia
# Source0: http://mplayerhq.hu/MPlayer/releases/MPlayer-%{version}.tar.xz
Source0: ftp://ftp.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
-# Source0-md5: d5d7bb7176682afccd64ef855ae65e8d
+# Source0-md5: 22761a792a834f82a87ff7f0a4c7a154
Source1: http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
-# Source1-md5: 20eb6a5caa8fd874e90033b54fc39ac0
+# Source1-md5: 2007a7aa18484b5531f2dc6302023dbc
Source3: ftp://ftp1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
# Source3-md5: 7b47904a925cf58ea546ca15f3df160c
Source5: g%{name}.desktop
@@ -249,7 +249,7 @@ BuildRequires: linux-libc-headers >= 7:2.6.22
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: ncurses-devel
%{?with_amr:BuildRequires: opencore-amr-devel}
-%{?with_openjpeg:BuildRequires: openjpeg-devel}
+%{?with_openjpeg:BuildRequires: openjpeg2-devel}
BuildRequires: opus-devel
BuildRequires: pkgconfig
%{?with_pulseaudio:BuildRequires: pulseaudio-devel >= 0.9}
diff --git a/mplayer-openjpeg.patch b/mplayer-openjpeg.patch
index af668a6..faa20ed 100644
--- a/mplayer-openjpeg.patch
+++ b/mplayer-openjpeg.patch
@@ -5,14 +5,14 @@
if test "$libopenjpeg" = auto ; then
libopenjpeg=no
- define_statement_check OPJ_STATIC openjpeg.h 'opj_dparameters_t dec_params; opj_set_default_decoder_parameters(&dec_params);opj_decode_with_info(0,0,0)' -lopenjpeg && libopenjpeg=yes
-+ define_statement_check OPJ_STATIC openjpeg.h 'opj_dparameters_t dec_params; opj_set_default_decoder_parameters(&dec_params);opj_decode_with_info(0,0,0)' $(pkg-config --cflags --libs libopenjpeg) && libopenjpeg=yes
++ define_statement_check OPJ_STATIC openjpeg.h 'opj_dparameters_t dec_params; opj_set_default_decoder_parameters(&dec_params);opj_decode_with_info(0,0,0)' $(pkg-config --cflags --libs libopenjpeg2) && libopenjpeg=yes
fi
echores "$libopenjpeg"
if test "$libopenjpeg" = yes ; then
def_libopenjpeg='#define CONFIG_LIBOPENJPEG 1'
- extra_ldflags="$extra_ldflags -lopenjpeg"
-+ extra_cflags="$extra_cflags $(pkg-config --cflags libopenjpeg)"
-+ extra_ldflags="$extra_ldflags $(pkg-config --libs libopenjpeg)"
++ extra_cflags="$extra_cflags $(pkg-config --cflags libopenjpeg2)"
++ extra_ldflags="$extra_ldflags $(pkg-config --libs libopenjpeg2)"
libavdecoders="$libavdecoders LIBOPENJPEG_DECODER"
libavencoders="$libavencoders LIBOPENJPEG_ENCODER"
codecmodules="OpenJPEG $codecmodules"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mplayer.git/commitdiff/42649b969c81fd4c89807ff299e1e6ad3b46ccfc
More information about the pld-cvs-commit
mailing list