multimedia/makemkv: Updated for version 1.9.9.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
T3slider 2016-02-01 18:30:20 +07:00 committed by Willy Sudiarto Raharjo
parent f38fd7af1c
commit a7fa57da73
3 changed files with 34 additions and 6 deletions

View file

@ -0,0 +1,23 @@
diff -ur a/libmakemkv/src/libmkv.cpp b/libmakemkv/src/libmkv.cpp
--- a/libmakemkv/src/libmkv.cpp 2016-01-15 06:39:10.000000000 -0500
+++ b/libmakemkv/src/libmkv.cpp 2016-01-31 17:14:32.761225345 -0500
@@ -18,6 +18,9 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS 1
+#endif
#include <libmkv/libmkv.h>
#include <libmkv/internal.h>
#include <libmkv/ebmlwrite.h>
@@ -27,9 +30,6 @@
#include <lgpl/world.h>
#include <vector>
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS 1
-#endif
#include <inttypes.h>
#define TIMECODE_SCALE 1000000

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=makemkv
VERSION=${VERSION:-1.9.7}
VERSION=${VERSION:-1.9.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -86,6 +86,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# inttypes.h gets included (by libebml, I think) before
# __STDC_FORMAT_MACROS is set. Make sure this gets set before inttypes.h
# gets loaded
patch -p1 < $CWD/inttypes.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View file

@ -1,10 +1,10 @@
PRGNAM="makemkv"
VERSION="1.9.7"
VERSION="1.9.9"
HOMEPAGE="http://www.makemkv.com/"
DOWNLOAD="http://www.makemkv.com/download/makemkv-oss-1.9.7.tar.gz \
http://www.makemkv.com/download/makemkv-bin-1.9.7.tar.gz"
MD5SUM="2c0b0d31d1e1fb8576db024c7f02399c \
52bd49e4667284ce27cbec6a5d8b8877"
DOWNLOAD="http://www.makemkv.com/download/makemkv-oss-1.9.9.tar.gz \
http://www.makemkv.com/download/makemkv-bin-1.9.9.tar.gz"
MD5SUM="5bdfdb4fd5e5136787ecfa8856f485c8 \
22ae44280ad88d87d9150743d167f4e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"