diff options
author | Matthew Marlowe <mattm@gentoo.org> | 2013-02-22 03:19:51 +0000 |
---|---|---|
committer | Matthew Marlowe <mattm@gentoo.org> | 2013-02-22 03:19:51 +0000 |
commit | 2bcc9059b4db31fbd3fb349a0ba3efd9734cd963 (patch) | |
tree | 4e4482fbb379e911028e4c0ce17d8455885689b4 /media-video/makemkv | |
parent | Fix Bug #457674 in zabbix 2.0.5, unnecessary application of zabbix 6074 patch. (diff) | |
download | gentoo-2-2bcc9059b4db31fbd3fb349a0ba3efd9734cd963.tar.gz gentoo-2-2bcc9059b4db31fbd3fb349a0ba3efd9734cd963.tar.bz2 gentoo-2-2bcc9059b4db31fbd3fb349a0ba3efd9734cd963.zip |
Bump for makemkv 1.8.0, temporarily package masked during testing, hope to eventually close out bug #439380
(Portage version: 2.1.11.51/cvs/Linux x86_64, signed Manifest commit with key 786037A7)
Diffstat (limited to 'media-video/makemkv')
-rw-r--r-- | media-video/makemkv/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.8.0.ebuild | 98 |
2 files changed, 106 insertions, 2 deletions
diff --git a/media-video/makemkv/ChangeLog b/media-video/makemkv/ChangeLog index 3f94186e88e0..97a910dfeacd 100644 --- a/media-video/makemkv/ChangeLog +++ b/media-video/makemkv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/makemkv -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.13 2012/11/25 18:02:25 mattm Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.14 2013/02/22 03:19:51 mattm Exp $ + +*makemkv-1.8.0 (22 Feb 2013) + + 22 Feb 2013; Matthew Marlowe <mattm@gentoo.org> +makemkv-1.8.0.ebuild: + Bump for makemkv 1.8.0, temporarily package masked during testing, hope to + eventually close out bug #439380 *makemkv-1.7.8 (25 Nov 2012) diff --git a/media-video/makemkv/makemkv-1.8.0.ebuild b/media-video/makemkv/makemkv-1.8.0.ebuild new file mode 100644 index 000000000000..237dda4cf391 --- /dev/null +++ b/media-video/makemkv/makemkv-1.8.0.ebuild @@ -0,0 +1,98 @@ +# 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.0.ebuild,v 1.1 2013/02/22 03:19:51 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="" +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; } |