From 9fc4b9ce86e3fbb4b611c6b6d77af3cc1b28b27e Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 26 Sep 2016 23:24:14 +0100 Subject: media-video/makemkv: Version bump to 1.10.2, closes bug #595174 Package-Manager: portage-2.3.1 --- media-video/makemkv/Manifest | 4 +- media-video/makemkv/makemkv-1.10.1.ebuild | 145 ------------------------------ media-video/makemkv/makemkv-1.10.2.ebuild | 145 ++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 147 deletions(-) delete mode 100644 media-video/makemkv/makemkv-1.10.1.ebuild create mode 100644 media-video/makemkv/makemkv-1.10.2.ebuild (limited to 'media-video') diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest index 71ed4c22d98a..6c7b18bf0739 100644 --- a/media-video/makemkv/Manifest +++ b/media-video/makemkv/Manifest @@ -1,2 +1,2 @@ -DIST makemkv-bin-1.10.1.tar.gz 7977684 SHA256 c0ff103a02275bb7f7b608e17777982313f922abeaaeed45ce3f8676d815da9d SHA512 c2a3dbc85ba77d1363cc5e7c66de2864bb0e8b3a74bf95fc91e7cbbcb3b2e67a1437112e5e403c01b72ab576ceab432283ff967a080470c372d6b0158e3682e2 WHIRLPOOL 77173e55c94fce216d8d31fe0aaf28a8bc2f0431f713453bc4d248e554d1270bad62ba64ca3ffc55dfa0bab882e9382c206d77c74e59fd1293d5f694711ca048 -DIST makemkv-oss-1.10.1.tar.gz 4419738 SHA256 0b4f85f43d5ea58086f6a998dbd060b4ef189c56964c8e19ac397d2485ab965f SHA512 027681ac20ecd5193f788f9429a895eaa2135c44ba5e65b806087ea4c101179c42793cb743f6fd4f1d567bf0e6edf0e9b2b211cedb31a83ba6df6d79bc4ea585 WHIRLPOOL 4e2d6757abc18d1db43c6c303af6900e5765b06ad43f9b1a4294b70620823284ce3fcf09f64898dd57f5c716235f6254efee347f65e5370cd6453455ce831d88 +DIST makemkv-bin-1.10.2.tar.gz 8006523 SHA256 b75faf68f613a79a39db7295c9080c051eacfd7fc721682e1d6cd1648bbb1437 SHA512 70abe0769d5c49813adc1e5fb40a723c0b55e60754370fb58bb6bbfee4c36d15a290ac480492fe0c7cf71cf4784d87640ac64dadc9241ce70dcb77d434e01c2e WHIRLPOOL fdf4cb9cc34704ef76fa910bf64b6f885789dee096c0942d0d3ea411bcaedbb50cb296f0ecbc72d232eab5065cb6810bf1210d28762a96461dc6a708e0352f53 +DIST makemkv-oss-1.10.2.tar.gz 4419723 SHA256 ebce597603f934d5a288067ebee8f35b07f4e6dfc48a00b1b2a9063ad83c65ad SHA512 0a4e7018f83ee076cca1e343feefc53567cdf6e7e2791fe74b78bf01f4caf8613ff428543e3c7baa381cbd18af66899c71bb9c0be9c7d69110e10e968374b60a WHIRLPOOL 2851587838d42d44350c6557220aa5f0a938243c01e6dd81220788c7630e4a7d02c18b18555efab8e71af8961c85d7fde8902ea29007b540adb522a01978b349 diff --git a/media-video/makemkv/makemkv-1.10.1.ebuild b/media-video/makemkv/makemkv-1.10.1.ebuild deleted file mode 100644 index d2a5e6ee72d0..000000000000 --- a/media-video/makemkv/makemkv-1.10.1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils gnome2-utils multilib flag-o-matic - -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="libav multilib qt4 qt5" - -QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec" - -DEPEND=" - sys-libs/glibc[multilib?] - dev-libs/expat - dev-libs/openssl:0 - sys-libs/zlib - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) - !qt5? ( qt4? ( - dev-qt/qtcore:4 - dev-qt/qtdbus:4 - dev-qt/qtgui:4 - ) ) - !libav? ( >=media-video/ffmpeg-1.0.0:0= ) - libav? ( >=media-video/libav-0.8.9:0= ) -" -RDEPEND="${DEPEND} - net-misc/wget" - -S="${WORKDIR}/makemkv-oss-${PV}" - -src_prepare() { - PATCHES+=( "${FILESDIR}"/${PN}-{makefile,path,sysmacros}.patch ) - - # Qt5 always trumps Qt4 if it is available. There are no configure - # options or variables to control this and there is no publicly - # available configure.ac either. - if use qt5; then - PATCHES+=( "${FILESDIR}"/${PN}-qt5.patch ) - elif use qt4; then - PATCHES+=( "${FILESDIR}"/${PN}-qt4.patch ) - fi - - default -} - -src_configure() { - # See bug #439380. - replace-flags -O* -Os - - local econf_args=() - - if use qt5 || use qt4; then - econf_args+=( '--enable-gui' ) - else - econf_args+=( '--disable-gui' ) - fi - - econf "${econf_args[@]}" -} - -src_compile() { - emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -} - -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} - - if use qt5 || use qt4; then - 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' - fi - - cd "${WORKDIR}"/${MY_PB} || die - - # install prebuilt bins - if use x86; then - dobin bin/i386/{makemkvcon,mmdtsdec} - elif use amd64; then - dobin bin/amd64/makemkvcon - use multilib && dobin bin/i386/mmdtsdec - fi - - # install profiles and locales - insinto /usr/share/MakeMKV - doins src/share/*.{mo.gz,xml} -} - -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 "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; } diff --git a/media-video/makemkv/makemkv-1.10.2.ebuild b/media-video/makemkv/makemkv-1.10.2.ebuild new file mode 100644 index 000000000000..d2a5e6ee72d0 --- /dev/null +++ b/media-video/makemkv/makemkv-1.10.2.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils gnome2-utils multilib flag-o-matic + +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="libav multilib qt4 qt5" + +QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec" + +DEPEND=" + sys-libs/glibc[multilib?] + dev-libs/expat + dev-libs/openssl:0 + sys-libs/zlib + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) + !qt5? ( qt4? ( + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + ) ) + !libav? ( >=media-video/ffmpeg-1.0.0:0= ) + libav? ( >=media-video/libav-0.8.9:0= ) +" +RDEPEND="${DEPEND} + net-misc/wget" + +S="${WORKDIR}/makemkv-oss-${PV}" + +src_prepare() { + PATCHES+=( "${FILESDIR}"/${PN}-{makefile,path,sysmacros}.patch ) + + # Qt5 always trumps Qt4 if it is available. There are no configure + # options or variables to control this and there is no publicly + # available configure.ac either. + if use qt5; then + PATCHES+=( "${FILESDIR}"/${PN}-qt5.patch ) + elif use qt4; then + PATCHES+=( "${FILESDIR}"/${PN}-qt4.patch ) + fi + + default +} + +src_configure() { + # See bug #439380. + replace-flags -O* -Os + + local econf_args=() + + if use qt5 || use qt4; then + econf_args+=( '--enable-gui' ) + else + econf_args+=( '--disable-gui' ) + fi + + econf "${econf_args[@]}" +} + +src_compile() { + emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" +} + +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} + + if use qt5 || use qt4; then + 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' + fi + + cd "${WORKDIR}"/${MY_PB} || die + + # install prebuilt bins + if use x86; then + dobin bin/i386/{makemkvcon,mmdtsdec} + elif use amd64; then + dobin bin/amd64/makemkvcon + use multilib && dobin bin/i386/mmdtsdec + fi + + # install profiles and locales + insinto /usr/share/MakeMKV + doins src/share/*.{mo.gz,xml} +} + +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 "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; } -- cgit v1.2.3-65-gdbad