diff options
author | Steve Dibb <beandog@gentoo.org> | 2011-12-02 20:32:19 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2011-12-02 20:32:19 +0000 |
commit | bdef3decc61aa91250a77136c89d391a78c8ad5a (patch) | |
tree | 384e323e2cfeddb28831126e22e3863dc7cd0daa /media-video/makemkv | |
parent | Add MakeMKV-EULA for media-video/makemkv (diff) | |
download | gentoo-2-bdef3decc61aa91250a77136c89d391a78c8ad5a.tar.gz gentoo-2-bdef3decc61aa91250a77136c89d391a78c8ad5a.tar.bz2 gentoo-2-bdef3decc61aa91250a77136c89d391a78c8ad5a.zip |
Initial commit to portage tree, bug 280347
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'media-video/makemkv')
-rw-r--r-- | media-video/makemkv/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.6.16.ebuild | 65 | ||||
-rw-r--r-- | media-video/makemkv/metadata.xml | 8 |
3 files changed, 83 insertions, 0 deletions
diff --git a/media-video/makemkv/ChangeLog b/media-video/makemkv/ChangeLog new file mode 100644 index 000000000000..0f8425bd2d63 --- /dev/null +++ b/media-video/makemkv/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-video/makemkv +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.1 2011/12/02 20:32:19 beandog Exp $ + +*makemkv-1.6.16 (02 Dec 2011) + + 02 Dec 2011; Steve Dibb <beandog@gentoo.org> +makemkv-1.6.16.ebuild, + +metadata.xml: + Initial commit to portage tree, bug 280347 + diff --git a/media-video/makemkv/makemkv-1.6.16.ebuild b/media-video/makemkv/makemkv-1.6.16.ebuild new file mode 100644 index 000000000000..253343b4fa30 --- /dev/null +++ b/media-video/makemkv/makemkv-1.6.16.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2011 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.1 2011/12/02 20:32:19 beandog Exp $ + +EAPI=3 + +RESTRICT="mirror" + +inherit multilib eutils + +MY_P="makemkv_v${PV}_oss" +MY_PB="makemkv_v${PV}_bin" + +DESCRIPTION="Tool for converting Blu-Ray, HD-DVD and DVD videos to matroska." +HOMEPAGE="http://www.makemkv.com" +SRC_URI="http://www.makemkv.com/download/makemkv_v${PV}_oss.tar.gz + http://www.makemkv.com/download/makemkv_v${PV}_bin.tar.gz" + +LICENSE="MakeMKV-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/qt-gui + dev-libs/openssl + media-libs/mesa + x11-libs/qt-dbus" +src_prepare() { + 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 + dolib.so out/libmakemkv.so.1 + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} + into /usr + dobin out/makemkv + + 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 + elif use amd64; then + dobin amd64/makemkvcon + 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" +} diff --git a/media-video/makemkv/metadata.xml b/media-video/makemkv/metadata.xml new file mode 100644 index 000000000000..0371cdf8ae02 --- /dev/null +++ b/media-video/makemkv/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>beandog@gentoo.org</email> +<name>Steve Dibb</name> +</maintainer> +</pkgmetadata> |