diff options
author | Matthew Marlowe <mattm@gentoo.org> | 2014-08-19 20:46:04 +0000 |
---|---|---|
committer | Matthew Marlowe <mattm@gentoo.org> | 2014-08-19 20:46:04 +0000 |
commit | a2e0f4dbe7103f4004443d2a39f46756f9a8ae7a (patch) | |
tree | f06e76cad46cb433ab3a67a0677b44488a335d76 /media-video | |
parent | Keyword ~ppc ~ppc64, bug #498466 (diff) | |
download | gentoo-2-a2e0f4dbe7103f4004443d2a39f46756f9a8ae7a.tar.gz gentoo-2-a2e0f4dbe7103f4004443d2a39f46756f9a8ae7a.tar.bz2 gentoo-2-a2e0f4dbe7103f4004443d2a39f46756f9a8ae7a.zip |
Bump for new version 1.8.12
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 786037A7)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/makemkv/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/makemkv/files/makemkv-1.8.12-makefile.linux.patch | 11 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.8.11.ebuild | 6 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.8.12.ebuild | 108 |
4 files changed, 130 insertions, 4 deletions
diff --git a/media-video/makemkv/ChangeLog b/media-video/makemkv/ChangeLog index adaabd77c7a0..375ff1c2be4a 100644 --- a/media-video/makemkv/ChangeLog +++ b/media-video/makemkv/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/makemkv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.41 2014/06/25 19:14:18 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.42 2014/08/19 20:46:04 mattm Exp $ + +*makemkv-1.8.12 (19 Aug 2014) + + 19 Aug 2014; Matthew Marlowe <mattm@gentoo.org> + +files/makemkv-1.8.12-makefile.linux.patch, +makemkv-1.8.12.ebuild, + makemkv-1.8.11.ebuild: + Bump for new version 1.8.12 *makemkv-1.8.11 (25 Jun 2014) diff --git a/media-video/makemkv/files/makemkv-1.8.12-makefile.linux.patch b/media-video/makemkv/files/makemkv-1.8.12-makefile.linux.patch new file mode 100644 index 000000000000..518287acd0df --- /dev/null +++ b/media-video/makemkv/files/makemkv-1.8.12-makefile.linux.patch @@ -0,0 +1,11 @@ +--- makemkv-oss-1.8.12/Makefile.in.orig 2014-04-25 09:25:24.558767575 -0600 ++++ makemkv-oss-1.8.12/Makefile.in 2014-04-25 09:25:44.930534931 -0600 +@@ -50,7 +50,7 @@ + endif + + 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.8.11.ebuild b/media-video/makemkv/makemkv-1.8.11.ebuild index 4652234ba5dc..bb377918cd49 100644 --- a/media-video/makemkv/makemkv-1.8.11.ebuild +++ b/media-video/makemkv/makemkv-1.8.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.11.ebuild,v 1.1 2014/06/25 19:14:18 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.11.ebuild,v 1.2 2014/08/19 20:46:04 mattm Exp $ EAPI=5 inherit eutils gnome2-utils multilib flag-o-matic @@ -10,8 +10,8 @@ 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" +SRC_URI="http://www.makemkv.com/download/old/${MY_P}.tar.gz + http://www.makemkv.com/download/old/${MY_PB}.tar.gz" LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl" SLOT="0" diff --git a/media-video/makemkv/makemkv-1.8.12.ebuild b/media-video/makemkv/makemkv-1.8.12.ebuild new file mode 100644 index 000000000000..de92e2c42c54 --- /dev/null +++ b/media-video/makemkv/makemkv-1.8.12.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.12.ebuild,v 1.1 2014/08/19 20:46:04 mattm Exp $ + +EAPI=5 +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" + +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 + || ( >=media-video/ffmpeg-1.0.0 >=media-video/libav-0.8.9 ) + amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/makemkv-oss-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.linux.patch +} + +src_configure() { + replace-flags -O* -Os + if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then + econf + fi +} + +src_compile() { + emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "Make failed!" +} + +src_install() { + # install oss package + dolib.so out/libdriveio.so.0 + dolib.so out/libmakemkv.so.1 + dolib.so out/libmmbd.so.0 + 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 + dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so + dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so.0.${PV} + 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; } |