diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2013-08-20 18:36:34 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2013-08-20 18:36:34 +0000 |
commit | 8f10bfbc3676a01720f741c25948511af6796a79 (patch) | |
tree | 275b2e6fa3a20c94e1697cc5fe68d64e27d9cdc7 /media-video | |
parent | dekeyword (diff) | |
download | je_fro-8f10bfbc3676a01720f741c25948511af6796a79.tar.gz je_fro-8f10bfbc3676a01720f741c25948511af6796a79.tar.bz2 je_fro-8f10bfbc3676a01720f741c25948511af6796a79.zip |
bump
svn path=/; revision=348
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/makemkv/Manifest | 3 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.8.4.ebuild | 102 |
2 files changed, 105 insertions, 0 deletions
diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest new file mode 100644 index 0000000..913df12 --- /dev/null +++ b/media-video/makemkv/Manifest @@ -0,0 +1,3 @@ +DIST makemkv-bin-1.8.4.tar.gz 6425078 SHA256 81fa6b95895bd18cf115e3035bd66f0e7198f13c64638b2cc355a1fc741c8786 SHA512 32141d0b173e5e975f5cfcefd280abe558062dc0e2526ee6e76ebec8ac35dc44a22be5e97edc334529265f8c6ec8075da55da63947b311cdc314634bd87a053c WHIRLPOOL 06c0761faad755af6e82fe9c2482c3f6e79782e17e91e4bd3ed2875a9373b087e9b36ab6126df6ef47a1761386363cf20816bedccd2a2b89d66a986e0fe700a6 +DIST makemkv-oss-1.8.4.tar.gz 4151533 SHA256 e01183e8aedf75a576e7feb033da4d23ef93ce3531394585aa5c3e9b69abe524 SHA512 db199037c50e9fd81b13c7fa2f6d9a0ebb5d435681fdd917c446cd5d404424db314655f03eeb7398f3f00fdd72ac5e9e06390691efac8a39ce29d2784c21ff09 WHIRLPOOL f3b0f1fc767a27efafd42cdf5193cfd7f31ac2f9095249774a62a49e40cb732f9f32df8774bd4aa23037906208ad2fc48194979c63cb6ed407a9b5dd9ec6bb4b +EBUILD makemkv-1.8.4.ebuild 2813 SHA256 b0f005daa8d5bf0754a91fcaa797a40c7727700360961d0b6ab40d0e05733223 SHA512 5410d1cbe1b6a7a04c425fd75df4d5b46c14851fef815b8c3596f7adc3d70ade50684738f052caf8e63c2de444ee59ab02cba9a6e90708e10205f243bfa009ae WHIRLPOOL 69c3bf53e9f92f9540dcf8b16fb0913279f37f36397aaba4b3b0142a0439a3605c57e725757d3fea40091dbf592d72f71cdeeaa1a5b90757473436778a835fd1 diff --git a/media-video/makemkv/makemkv-1.8.4.ebuild b/media-video/makemkv/makemkv-1.8.4.ebuild new file mode 100644 index 0000000..1d0cdeb --- /dev/null +++ b/media-video/makemkv/makemkv-1.8.4.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.3.ebuild,v 1.1 2013/06/22 02:17:04 mattm Exp $ + +EAPI=4 +inherit eutils gnome2-utils multilib flag-o-matic + +MY_P=makemkv-oss-${PV} +MY_PB=makemkv-bin-${PV} + +DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container" +HOMEPAGE="http://www.makemkv.com/" +SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz + http://www.makemkv.com/download/${MY_PB}.tar.gz" + +LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib" + +QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec" +RESTRICT="mirror" + +RDEPEND="dev-libs/expat + dev-libs/openssl:0 + sys-libs/zlib + virtual/opengl + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.linux.patch +} + +src_configure() { + replace-flags -O* -Os +} + +src_compile() { + emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux +} + +src_install() { + # install oss package + dolib.so out/libdriveio.so.0 + dolib.so out/libmakemkv.so.1 + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so + into /opt + dobin out/makemkv + + local res + for res in 16 22 32 64 128; do + newicon -s ${res} makemkvgui/share/icons/${res}x${res}/makemkv.png ${PN}.png + done + + make_desktop_entry ${PN} MakeMKV ${PN} 'Qt;AudioVideo;Video' + + # install bin package + pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null + if use x86; then + dobin i386/{makemkvcon,mmdtsdec} + elif use amd64; then + dobin amd64/makemkvcon + use multilib && dobin i386/mmdtsdec + fi + popd >/dev/null + + # install license and default profile + pushd "${WORKDIR}"/${MY_PB}/src/share >/dev/null + insinto /usr/share/MakeMKV + doins *.{gz,xml} + popd >/dev/null +} + +pkg_preinst() { gnome2_icon_savelist; } + +pkg_postinst() { + gnome2_icon_cache_update + + 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" + elog "" + elog "Note that beta license may have an expiration date and you will" + elog "need to check for newer licenses/releases. " + elog "" + elog "If this is a new install, remember to copy the default profile" + elog "to the config directory:" + elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/" +} + +pkg_postrm() { gnome2_icon_cache_update; } |