diff options
author | 2012-02-10 13:34:48 +0000 | |
---|---|---|
committer | 2012-02-10 13:34:48 +0000 | |
commit | a2db675072fbcfad8fe399560f538ea79aedba66 (patch) | |
tree | 08c41df2dd74e2f44883462715fb05b4af9639a4 /media-video | |
parent | set revision properly (diff) | |
download | je_fro-a2db675072fbcfad8fe399560f538ea79aedba66.tar.gz je_fro-a2db675072fbcfad8fe399560f538ea79aedba66.tar.bz2 je_fro-a2db675072fbcfad8fe399560f538ea79aedba66.zip |
new version for testing
svn path=/; revision=324
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/makemkv/Manifest | 6 | ||||
-rw-r--r-- | media-video/makemkv/files/makemkv-1.7.2-makefile.linux.patch | 20 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.7.2.ebuild | 73 |
3 files changed, 99 insertions, 0 deletions
diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest new file mode 100644 index 0000000..a44c844 --- /dev/null +++ b/media-video/makemkv/Manifest @@ -0,0 +1,6 @@ +AUX makemkv-1.7.2-makefile.linux.patch 654 RMD160 464dccd8aa87f7e54534e3534f921d3cff5feebb SHA1 859bd6b205346c6802dc73dc7acd9642ce81a77a SHA256 99bb83537e2be8bab736086faaa0c06c0c8e6274b5816bbc772eab1d672433cc +DIST makemkv_v1.7.2_bin.tar.gz 5990443 RMD160 8ffc43809ee3508fecd3bc0f6b48010a97812a86 SHA1 73f4d24fe0fe39cc1ff0ede6d5d10b84c640a172 SHA256 68f612b64f05d04987f9f4190d80be3d3a43f51313bac98d1bcedb8ed7ea0b05 +DIST makemkv_v1.7.2_oss.tar.gz 471666 RMD160 ceac252e38e45360296be65d0cb81c09f02ae6f0 SHA1 3e49d0e4ef6a133831d4c4570e75575ac95bd63c SHA256 a2ae09da7347bd4cfc4ebfe1a82d853a719991d2a2ee47f5c59051ccb269f290 +EBUILD makemkv-1.7.2.ebuild 2249 RMD160 35373ee71428f9d6ae6d4e6b9214ba534b8bc336 SHA1 adee702c8a69817c1e3d8a2d36002f24589df844 SHA256 c7bf487d265f18d74fbdced549f5a57687160fd738b353721390eafa20601357 +MISC ChangeLog 290 RMD160 6c63f8fd81af37bac4c65f44345123ed76cb3701 SHA1 b6c134947b89267e5f5d13625246ac305f9598bd SHA256 db7c04d2bc4c62f7bc9c0024b9bc6c54241371c8e98df9dc2a0d789fc1f4f0df +MISC metadata.xml 281 RMD160 8d2f06c351e0b0756ea539eb32e2faa8dec4b64a SHA1 9ee2c10cfadb609245eff08b108f809b1d0f1046 SHA256 d91256704dd7de0642182be6f861a9cdce239252bcd7567364dca852ef907b35 diff --git a/media-video/makemkv/files/makemkv-1.7.2-makefile.linux.patch b/media-video/makemkv/files/makemkv-1.7.2-makefile.linux.patch new file mode 100644 index 0000000..4a545af --- /dev/null +++ b/media-video/makemkv/files/makemkv-1.7.2-makefile.linux.patch @@ -0,0 +1,20 @@ +--- makemkv_v1.7.2_oss/makefile.linux.orig 2012-02-10 07:22:18.373318016 -0600 ++++ makemkv_v1.7.2_oss/makefile.linux 2012-02-10 07:26:06.179324161 -0600 +@@ -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.2.ebuild b/media-video/makemkv/makemkv-1.7.2.ebuild new file mode 100644 index 0000000..7a899ad --- /dev/null +++ b/media-video/makemkv/makemkv-1.7.2.ebuild @@ -0,0 +1,73 @@ +# 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.6.16.ebuild,v 1.5 2011/12/03 00:44:41 beandog Exp $ + +EAPI=3 + +RESTRICT="mirror" + +inherit multilib eutils + +MY_P="makemkv_v${PV}_oss" +MY_PB="makemkv_v${PV}_bin" + +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="MakeMKV-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/qt-gui:4 + dev-libs/openssl:0 + media-libs/mesa + x11-libs/qt-dbus:4 + sys-libs/zlib" +RDEPEND="${DEPEND}" + +QA_PREBUILT="opt/bin/makemkvcon" + +src_prepare() { + epatch "${FILESDIR}/${P}-makefile.linux.patch" + cd "${MY_P}" +} + +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 || die "dolib.so out/libdriveio.so.0 died" + dolib.so out/libmakemkv.so.1 || die "dolib.so out/libmakemkv.so.1 died" + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} || die "dosym libdriveio.so.0 died " + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so || die "dosym libdriveio.so.0 died " + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} || die "dosym libmakemkv.so.1 died" + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so || die "dosym libmakemkv.so.1 died" + into /opt + dobin out/makemkv || die "dobin makemkv died" + + 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 || die "dobin makemkvcon died" + elif use amd64; then + dobin amd64/makemkvcon || die "dobin makemkvcon died" + 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" +} |