summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2013-02-07 04:28:02 +0100
committereroen <eroen@occam.eroen.eu>2013-02-07 04:28:02 +0100
commit53419a5d79fba609f271ea4e256b96d18c84cdeb (patch)
tree38d73fc810ddb290d0379795488b201852d0ba7b /media-video
parentxf86-input-wacom-9999: removed keywords (diff)
downloaderoen-53419a5d79fba609f271ea4e256b96d18c84cdeb.tar.gz
eroen-53419a5d79fba609f271ea4e256b96d18c84cdeb.tar.bz2
eroen-53419a5d79fba609f271ea4e256b96d18c84cdeb.zip
makemkv-1.7.10: copied from -1.7.8 in portage
Diffstat (limited to 'media-video')
-rw-r--r--media-video/makemkv/Manifest5
-rw-r--r--media-video/makemkv/files/makemkv-1.7.10-makefile.linux.patch20
-rw-r--r--media-video/makemkv/makemkv-1.7.10.ebuild99
-rw-r--r--media-video/makemkv/metadata.xml9
4 files changed, 133 insertions, 0 deletions
diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest
new file mode 100644
index 0000000..3c152f6
--- /dev/null
+++ b/media-video/makemkv/Manifest
@@ -0,0 +1,5 @@
+AUX makemkv-1.7.10-makefile.linux.patch 580 SHA256 afcd8a8f87ef3b1ffdbc4da54bc9fcee50df57a15b0d3ccf48061a738425589d SHA512 e9feca180b4599580e36a83970f04101d964a554d1cf3c5906037057208602c1a518671bc187f8960154098925002a789067c03593b870657130780e75e1ee40 WHIRLPOOL 62e41964effb8d7394dd9c6550923596424cdd93d42392accd0549c31ee64985b8a930720a3c2f7a3f5e647ce2b0aa80da79cef50a235b536e9915ef63b788bf
+DIST makemkv-bin-1.7.10.tar.gz 6818046 SHA256 b40bd0dbe70b6e7176823d3c88caa8a29b95340b6b271a187434d14715353001 SHA512 5712c2ef64598ec8bf28cd8f719ac3ef09305b23346d367007fc11b3e10195e0019f7355f6b0366965d5ecc1fbc2da39265207fb85647a9aa87ac9ece5bbc4db WHIRLPOOL ae5772813342688a5999e3effd563da3b093640c3337992cfd7e898a498ec8643fb75f6166e2452ca5ccd04fee7304e1e2752c78b80fb49ae6e2e87b49ee5e67
+DIST makemkv-oss-1.7.10.tar.gz 493920 SHA256 df108850525049ca7b74d84f4dc2d643eb962c008bca9450c9fd976db0500c09 SHA512 9e1757110f975d6562d9d929217de8032ed1d00375706d2e6ef27f9c4080650184e704b603fbaa9328e4e8de70c1b800e4f2c4773876c540b628ee08970231f9 WHIRLPOOL 460e99c79d7b46faa77254b86dfcd95581cc499827ee9acab44ac0f82294070f0b13c15189c04a202b02e8cc682ef56d4f31a28d5cff49de5e1a7d2b695084eb
+EBUILD makemkv-1.7.10.ebuild 2757 SHA256 e9d4b16d55afabc7317a1d08a5d3ee013b8e16ae3c467d8ae4d15c884f6fde47 SHA512 a82a0999a03b023b2ff0ff88fb72a306604e153b512a5d01b169491a60604147156c30478d2d17fe47df4758b90a8428cd230dd1d7563aaa45fda65ed8818d87 WHIRLPOOL c988191e482941fffd09b9224131c75d6d9226d8dbd935ef1f39ce3de1239eb7ba8dd06a71f717b84892e1ba85515d4169e311279187a8fcf25ce85f737be34f
+MISC metadata.xml 260 SHA256 fa1167a5441cabeb411561da356fac4524c470df05240c1f3d38034afb76ead5 SHA512 1a2e8743a75f495fb6bfaf731b3d6e3d2b39f9b20119c2bcd9edef13434d31bf46b56652ce77c5c3e5fb86e21a65ff3a3a5429fb74f8166cc7f4b5bbd84eb146 WHIRLPOOL 412c81eb8ce82f93a682b7ca8a9f566e6a8df4c22bcbb7863bf17a8e69ffd90dcb8fe338b5eb021f02a2fac140a56063d235bb07b73b644f288a203cff1e9316
diff --git a/media-video/makemkv/files/makemkv-1.7.10-makefile.linux.patch b/media-video/makemkv/files/makemkv-1.7.10-makefile.linux.patch
new file mode 100644
index 0000000..d3476b4
--- /dev/null
+++ b/media-video/makemkv/files/makemkv-1.7.10-makefile.linux.patch
@@ -0,0 +1,20 @@
+--- makemkv-oss-1.7.8/makefile.linux.orig
++++ makemkv-oss-1.7.8/makefile.linux
+@@ -8,7 +8,7 @@
+ MOC=moc
+ endif
+
+-CXXOPTS=-Os -D_GNU_SOURCE -D_linux_
++CXXOPTS=-D_GNU_SOURCE -D_linux_
+
+ BUILDINFO_ARCH_NAME=$(shell $(GCC) -dumpmachine)
+ BUILDINFO_BUILD_DATE=$(shell date)
+@@ -38,7 +38,7 @@
+ install -D -m 644 makemkvgui/src/img/128/mkv_icon.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/makemkv.png
+
+ out/%: out/%.full
+- objcopy --strip-all --strip-debug --strip-unneeded --discard-all $< $@
++ objcopy --discard-all $< $@
+
+ out/libdriveio.so.0.full:
+ mkdir -p out
diff --git a/media-video/makemkv/makemkv-1.7.10.ebuild b/media-video/makemkv/makemkv-1.7.10.ebuild
new file mode 100644
index 0000000..ca4bd5e
--- /dev/null
+++ b/media-video/makemkv/makemkv-1.7.10.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.8.ebuild,v 1.1 2012/11/25 18:02:25 mattm Exp $
+
+EAPI=4
+inherit eutils gnome2-utils multilib
+
+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
+ x11-libs/qt-core:4
+ x11-libs/qt-dbus:4
+ x11-libs/qt-gui:4
+ amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.linux.patch
+}
+
+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/src/img/${res}/mkv_icon.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; }
diff --git a/media-video/makemkv/metadata.xml b/media-video/makemkv/metadata.xml
new file mode 100644
index 0000000..2f49c27
--- /dev/null
+++ b/media-video/makemkv/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mattm@gentoo.org</email>
+ <name>Matthew Marlowe</name>
+ </maintainer>
+ <herd>video</herd>
+</pkgmetadata>