Skip to content

Commit

Permalink
Create install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chukfinley authored Sep 29, 2023
1 parent 70701cf commit 00948ed
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
echo "Installing apt packages"
sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev git ffmpeg wget
mkdir makemkv
cd makemkv
echo "Downloading Makemkv"
wget https://www.makemkv.com/download/makemkv-bin-1.17.5.tar.gz
wget https://www.makemkv.com/download/makemkv-oss-1.17.5.tar.gz
tar xvf makemkv-bin-1.17.5.tar.gz
tar xvf makemkv-oss-1.17.5.tar.gz
echo "Installing makemkv-oss"
cd makemkv-oss-1.17.5
sed -i "s/av_mallocz_array/av_calloc/g" libffabi/src/ffabi.c
./configure
make
sudo make install
cd ..
cd makemkv-bin-1.17.5
echo "Installing makemkv-bin"
make
sudo make install
echo "Cleaing up"
cd ../..
rm -rf makemkv

if which makemkv >/dev/null 2>&1; then
echo "Installed successfully"
else
echo "Installation Faild"
fi
echo "Done"

0 comments on commit 00948ed

Please # to comment.