Install MakeMKV V1.9.1 For Linux Gentoo from source

The place to discuss linux version of MakeMKV
Post Reply
christophe_y2k
Posts: 3
Joined: Sat Jan 31, 2015 10:10 pm

Install MakeMKV V1.9.1 For Linux Gentoo from source

Post by christophe_y2k »

# mkdir /usr/share/makemkv
# cd /usr/share/makemkv
# wget http://www.makemkv.com/download/makemkv ... 9.1.tar.gz
# wget http://www.makemkv.com/download/makemkv ... 9.1.tar.gz
# tar -zxvf makemkv-bin-1.9.1.tar.gz
# tar -zxvf makemkv-oss-1.9.1.tar.gz
# cd makemkv-bin-1.9.1
# make
# make install
# cd ..
# cd makemkv-oss-1.9.1
# ./configure
# make
# make install
dawgg
Posts: 8
Joined: Wed Jan 29, 2014 1:42 pm

Re: Install MakeMKV V1.9.1 For Linux Gentoo from source

Post by dawgg »

these are generic build instructions - it is much more consistent and easier if you let portage do that for you.
cd into the directory containing the makemkv-ebuilds directly inside the portage-directory (/usr/portage/media-video/makemkv/: your ebuild will be deleted on next emerge --sync) or to your portage-overlay (PORTDIR_OVERLAY/somedir: your ebuild will remain there).
then copy the latest ebuild to one with the new makemkv-version-number and the related patchfile also:

Code: Select all

cp makemkv-1.8.13-r1.ebuild makemkv-1.9.1.ebuild
cp files/makemkv-1.8.13-makefile.linux.patch files/makemkv-1.9.1-makefile.linux.patch
ebuild makemkv-1.9.1.ebuild digest (this will also download the sourcefiles)
emerge -av makemkv
if something goes wrong with the patch you can delete/comment out the three lines applying the patchfile in the src_prepare()-function in the 1.9.1-ebuild (at yout own risk, of course, but i've done it successfully a couple of times), eg

Code: Select all

#src_prepare() {
#   epatch "${FILESDIR}"/${P}-makefile.linux.patch
#}
after you've done this you have to recreate the manifest:

Code: Select all

ebuild makemkv-1.9.1.ebuild digest
emerge and enjoy!
Post Reply