summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-11-09 21:12:18 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-11-09 21:12:18 +0000
commit9213f20c5b6691ab869ce7f78f4f27b2b03e4fac (patch)
treee9e2ce009fa798781afcba867e0260b2b95e0191 /media-video/makemkv
parentdev-python/stormpath: remove last-rited package (diff)
downloadgentoo-9213f20c5b6691ab869ce7f78f4f27b2b03e4fac.tar.gz
gentoo-9213f20c5b6691ab869ce7f78f4f27b2b03e4fac.tar.bz2
gentoo-9213f20c5b6691ab869ce7f78f4f27b2b03e4fac.zip
media-video/makemkv: Version bump to 1.14.1
1.14.0 was a lemon. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-video/makemkv')
-rw-r--r--media-video/makemkv/Manifest2
-rw-r--r--media-video/makemkv/makemkv-1.14.1.ebuild102
2 files changed, 104 insertions, 0 deletions
diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest
index b0004886f209..35c8ecdbd20c 100644
--- a/media-video/makemkv/Manifest
+++ b/media-video/makemkv/Manifest
@@ -1,2 +1,4 @@
DIST makemkv-bin-1.14.0.tar.gz 9307621 BLAKE2B 7ed476d9e1400ce71fd9ec05aa7c63ceae8b94f2c72548b07aa43a243ab7c2badea4b25d3d89da0046924a33f8de20e1a0650a0c9f4e6db81f47aecebbbbdbef SHA512 5ebf10f43622680dad377b3219149e27789edd61e662d69f4a80f14109090fcd933a5c1b63593a3a9ad98a8abfe077225679d679da0dcf74e4365100d67ef2ea
+DIST makemkv-bin-1.14.1.tar.gz 9313691 BLAKE2B cbbb830c20a35d943e8b99bfb05c05942b817b29c986afa441458dfeac5b544caf8256c5ccf361168a3079852cb914e8c2cd4435c37536b9bace1c707bbaa269 SHA512 a3e2f1a41cc430d37d7252e15e5cf04a5c754e1ecb9b4d9e7fd3a3bb6b721d2b4d1d86d55e068d44df0e40912e6bf7a0ebf527b11d2cba07604fc29f5b69943f
DIST makemkv-oss-1.14.0.tar.gz 4384023 BLAKE2B 006e488c2669fee273df6ccb86b012023d7c91aef2b2490c0a505caa6b31d9e7320e8243db530b087da8066b95b933ec880c5bc80d2e120065b69abe4d51e650 SHA512 88ba4bc48c45ab1ed00a9f6cd641699d8256a06953316a51192d644bc8b552e3c32fe71123921503f79d108249b30ac622d3d83cc0eb00ddf1ea991b0ed9b3d6
+DIST makemkv-oss-1.14.1.tar.gz 4384005 BLAKE2B 56ec40d46b0d807b552b87e44b129ea982ac5c0cfe4baf4e49a32ebefedd5be9bad8edc69cc5f81a06960e8d6a24ce37fc4f0c914dda32320af3242c3b6fe589 SHA512 4d0bf778d2efd417d058b6db339dc47363b3e179734ec51fc5ebd1fe35d4040aac06ca6387a77362dca8598e8eb5d4db6be16aeea00dc7a3655bf36be26998e5
diff --git a/media-video/makemkv/makemkv-1.14.1.ebuild b/media-video/makemkv/makemkv-1.14.1.ebuild
new file mode 100644
index 000000000000..e1f60862f3dd
--- /dev/null
+++ b/media-video/makemkv/makemkv-1.14.1.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
+}