[Slackbuilds-users] MakeMKV update

T3slider t3slider at gmail.com
Mon Feb 1 01:15:53 UTC 2016


I wouldn't normally submit an update when submissions are closed but as
it is the sources have moved (as they always do in version changes for
MakeMKV) so it would need to be adjusted for when 14.2 is released
anyway.

I have attached 2 patches, one that just points to the moved sources for
1.9.7 and another that updates to 1.9.9. You can choose whichever one
you want, though obviously when submissions re-open I would end up
submitting the updated version anyway.

Thanks,
T3slider
-------------- next part --------------
diff -ur a/makemkv.info b/makemkv.info
--- a/makemkv.info	2015-10-09 22:19:48.000000000 -0400
+++ b/makemkv.info	2016-01-31 20:03:55.198005720 -0500
@@ -1,8 +1,8 @@
 PRGNAM="makemkv"
 VERSION="1.9.7"
 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"
+DOWNLOAD="http://www.makemkv.com/download/old/makemkv-oss-1.9.7.tar.gz \
+          http://www.makemkv.com/download/old/makemkv-bin-1.9.7.tar.gz"
 MD5SUM="2c0b0d31d1e1fb8576db024c7f02399c \
         52bd49e4667284ce27cbec6a5d8b8877"
 DOWNLOAD_x86_64=""
-------------- next part --------------
diff --git a/inttypes.patch b/inttypes.patch
new file mode 100644
index 0000000..cd99f0e
--- /dev/null
+++ b/inttypes.patch
@@ -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
diff --git a/makemkv.SlackBuild b/makemkv.SlackBuild
index c679d96..beb63c0 100755
--- a/makemkv.SlackBuild
+++ b/makemkv.SlackBuild
@@ -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 \
diff --git a/makemkv.info b/makemkv.info
index 5037075..ac61c7c 100644
--- a/makemkv.info
+++ b/makemkv.info
@@ -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"


More information about the SlackBuilds-users mailing list