Page 1 of 1

Install MakeMKV V1.9.1 For Linux Gentoo from source

Posted: Sat Jan 31, 2015 10:17 pm
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

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

Posted: Mon Feb 16, 2015 6:39 pm
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!