From 27500c284b6343f0b7129a801d0c1e5a6fe046e9 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sun, 15 Dec 2013 05:45:59 +1100 Subject: [PATCH] build-makemkv.sh supports v1.8.7 --- build-makemkv.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build-makemkv.sh b/build-makemkv.sh index 55461d6..a612f3f 100755 --- a/build-makemkv.sh +++ b/build-makemkv.sh @@ -34,8 +34,16 @@ pushd "${build_dir}/unpack-oss/" wget "${makemkv_oss_url}" tar zxf "$(basename "${makemkv_oss_url}")" cd "${makemkv_oss_dir}/" -make -f makefile.linux -cp out/libdriveio.so.0 out/libmakemkv.so.1 "${install_dir}/lib/" +if [ -f makefile.linux ]; then + # v1.8.6 and older + make -f makefile.linux +else + # v1.8.7 and newer + ./configure + make +fi +rm out/*.full +cp out/lib* "${install_dir}/lib/" cp out/makemkv "${install_dir}/bin/" popd -- 2.39.2