added ebuild for latest makemkv
This commit is contained in:
parent
ff70e2ae75
commit
4ff35f55d1
2 changed files with 64 additions and 0 deletions
3
media-video/makemkv/Manifest
Normal file
3
media-video/makemkv/Manifest
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
DIST makemkv_v1.6.8_bin.tar.gz 5769208 RMD160 e88757ebcad6e0776aeec8181d483f5fa5aecee1 SHA1 9be805580510d75bd60b409c4a9baeeb0a90458e SHA256 9ba7303587867d8fedaf0f61f1b1931646dffcb5ba8276e99023bd565dc1aed8
|
||||||
|
DIST makemkv_v1.6.8_oss.tar.gz 446136 RMD160 76c0113bd9d1db24b596651b534b57d21c67ddc6 SHA1 c57ea324961a400b8e7fcea29360d34523e10fe4 SHA256 0c0782e43860888d1018de67471a5c6c568a10040a9f0c0109169c8c81fa8cc2
|
||||||
|
EBUILD makemkv-1.6.8.ebuild 1532 RMD160 14b3d11a5887d1fb1c6fabb400a864a14c283bac SHA1 ab16bc981603750a0933cb6d706fe0437b959105 SHA256 578deec43ee48fc38c51d5921ac79045cc77d66b4c0b290b4c8bfac6be6a0adf
|
61
media-video/makemkv/makemkv-1.6.8.ebuild
Normal file
61
media-video/makemkv/makemkv-1.6.8.ebuild
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=2
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
inherit multilib eutils
|
||||||
|
|
||||||
|
MY_P="makemkv_v${PV}_oss"
|
||||||
|
MY_PB="makemkv_v${PV}_bin"
|
||||||
|
|
||||||
|
DESCRIPTION="Tool for converting Blu-Ray, HD-DVD and DVD videos to matroska."
|
||||||
|
HOMEPAGE="http://www.makemkv.com"
|
||||||
|
SRC_URI="http://www.makemkv.com/download/makemkv_v${PV}_oss.tar.gz
|
||||||
|
http://www.makemkv.com/download/makemkv_v${PV}_bin.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="makemkv-EULA"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="x11-libs/qt-gui:4
|
||||||
|
dev-libs/openssl
|
||||||
|
media-libs/mesa"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd "${MY_P}"
|
||||||
|
emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux || die "make failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# install oss package
|
||||||
|
cd "${MY_P}"
|
||||||
|
dolib.so out/libdriveio.so.0
|
||||||
|
dolib.so out/libmakemkv.so.1
|
||||||
|
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
|
||||||
|
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
|
||||||
|
into /usr
|
||||||
|
dobin out/makemkv
|
||||||
|
|
||||||
|
newicon makemkvgui/src/img/128/mkv_icon.png ${PN}.png
|
||||||
|
make_desktop_entry ${PN} "MakeMKV" ${PN} "Qt;AudioVideo;Video"
|
||||||
|
|
||||||
|
# install bin package
|
||||||
|
cd "../${MY_PB}/bin"
|
||||||
|
if use x86; then
|
||||||
|
dobin i386/makemkvcon
|
||||||
|
elif use amd64; then
|
||||||
|
dobin amd64/makemkvcon
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "While MakeMKV is in beta mode, upstream has provided a license"
|
||||||
|
elog "to use if you do not want to purchase one."
|
||||||
|
elog ""
|
||||||
|
elog "See this forum thread for more information, including the key:"
|
||||||
|
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
|
||||||
|
}
|
Loading…
Reference in a new issue