summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-11-06 23:25:19 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-11-06 23:25:19 +0000
commit576f94baf218fd67fd6a74e9115d907f9bf220fc (patch)
tree225e8bd12616f13b39e1d4d8be76d3dfc67f852f /media-video
parentdev-util/gdbus-codegen: stable 2.56.2-r1 for sparc, bug #670024 (diff)
downloadgentoo-576f94baf218fd67fd6a74e9115d907f9bf220fc.tar.gz
gentoo-576f94baf218fd67fd6a74e9115d907f9bf220fc.tar.bz2
gentoo-576f94baf218fd67fd6a74e9115d907f9bf220fc.zip
media-video/makemkv: Version bump to 1.14.0
Signed-off-by: James Le Cuirot <chewi@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-video')
-rw-r--r--media-video/makemkv/Manifest2
-rw-r--r--media-video/makemkv/makemkv-1.14.0.ebuild102
2 files changed, 104 insertions, 0 deletions
diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest
index c71ed4d6bf86..5362f707075d 100644
--- a/media-video/makemkv/Manifest
+++ b/media-video/makemkv/Manifest
@@ -1,2 +1,4 @@
DIST makemkv-bin-1.12.3.tar.gz 9252749 BLAKE2B b81503e6bb98dbf0f61cf7918ab614972032106fc44c79d698df8fc3ebf73b4c07f74e6208cacc1756dc6a5b06a6ada663d0529f9f35bf7f0c658e18b07cb6ac SHA512 79d73c8a3dcc4028a79b8aef8c228e6519ef8df7178cdbacd85ae24b8c6078a43651e34bb32c0ff83027ea2def998fefc938676ca6d83645d2b52fc36d65df9b
+DIST makemkv-bin-1.14.0.tar.gz 9307621 BLAKE2B 7ed476d9e1400ce71fd9ec05aa7c63ceae8b94f2c72548b07aa43a243ab7c2badea4b25d3d89da0046924a33f8de20e1a0650a0c9f4e6db81f47aecebbbbdbef SHA512 5ebf10f43622680dad377b3219149e27789edd61e662d69f4a80f14109090fcd933a5c1b63593a3a9ad98a8abfe077225679d679da0dcf74e4365100d67ef2ea
DIST makemkv-oss-1.12.3.tar.gz 4379072 BLAKE2B 3fded704fbb8f5c4fac944cac028fe8b7d7c9e86402475d84638db0052480d7694c170c5babb0422f756920f0f5b191031e555fce0dfdde8b9ee63be1d57c195 SHA512 cfb4f61333751038120b94e3854afa471e9007af36b47cb0a681c3615a7f66e0462ee601c711cd9ea7cb51cc6e0ff38662a62b78e0e47735b8c19b2da272f892
+DIST makemkv-oss-1.14.0.tar.gz 4384023 BLAKE2B 006e488c2669fee273df6ccb86b012023d7c91aef2b2490c0a505caa6b31d9e7320e8243db530b087da8066b95b933ec880c5bc80d2e120065b69abe4d51e650 SHA512 88ba4bc48c45ab1ed00a9f6cd641699d8256a06953316a51192d644bc8b552e3c32fe71123921503f79d108249b30ac622d3d83cc0eb00ddf1ea991b0ed9b3d6
diff --git a/media-video/makemkv/makemkv-1.14.0.ebuild b/media-video/makemkv/makemkv-1.14.0.ebuild
new file mode 100644
index 000000000000..e1f60862f3dd
--- /dev/null
+++ b/media-video/makemkv/makemkv-1.14.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic gnome2-utils linux-info
+
+MY_P=makemkv-oss-${PV}
+MY_PB=makemkv-bin-${PV}
+
+DESCRIPTION="Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs"
+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="+gui libav"
+
+QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
+
+DEPEND="
+ sys-libs/glibc
+ dev-libs/expat
+ dev-libs/openssl:0[-bindist(-)]
+ sys-libs/zlib
+ gui? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+ !libav? ( >=media-video/ffmpeg-1.0.0:0= )
+ libav? ( >=media-video/libav-0.8.9:0= )
+"
+RDEPEND="${DEPEND}
+ net-misc/wget"
+
+CONFIG_CHECK="~CHR_DEV_SG"
+S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/${PN}-path.patch )
+
+src_configure() {
+ # See bug #439380.
+ replace-flags -O* -Os
+
+ econf \
+ --enable-debug \
+ --disable-noec \
+ --disable-qt4 \
+ $(use_enable gui) \
+ $(use_enable gui qt5)
+}
+
+src_install() {
+ default
+
+ # add missing symlinks for QA
+ 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}
+
+ cd "${WORKDIR}"/${MY_PB} || die
+
+ # install prebuilt bin
+ dobin bin/$(usex x86 i386 ${ARCH})/makemkvcon
+
+ # install profiles and locales
+ insinto /usr/share/MakeMKV
+ doins src/share/*
+}
+
+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 "We previously said to copy default.mmcp.xml to ~/.MakeMKV/. This"
+ elog "is no longer necessary and you should delete it from there to"
+ elog "avoid warning messages."
+ elog ""
+ elog "MakeMKV can also act as a drop-in replacement for libaacs and"
+ elog "libbdplus, allowing transparent decryption of a wider range of"
+ elog "titles under players like VLC and mplayer. To enable this, set"
+ elog "the following variables when launching the player:"
+ elog "LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}