media-video/makemkv superseded by Portage

This commit is contained in:
2017-03-31 16:21:52 -07:00
parent 8274d4aac5
commit 18422147fd
7 changed files with 0 additions and 267 deletions

View File

@@ -1,8 +0,0 @@
AUX makemkv-makefile.patch 508 SHA256 83fef28f512108ab8c34c0275028d45708e2b92f2b92e6ef6d1e8e3adaf84666 SHA512 f31001460bde106ed21ea4fd5c844d0d5a6376d9e912500b4102324980942d8f3cdb5288dc2bedb9a285144f6a285ff5aff8827d587f3dc5b7b86acad39293cd WHIRLPOOL 22f044be0ce9aa3089c49ad1dee1403816369bf48448145aa9fac269f723a616857c63d025b275045453c4cc24e9b631219d0fa789742c6830be75a5d6dec673
AUX makemkv-path.patch 373 SHA256 e282fb2c74fb98ea642a2294fd01cff6c15edb1b87ed8f48752679ffde2d305c SHA512 d9c26a4663f09f290a722c2d6473809fe063742a87f21ee94786a24c23399e2e899feba169ccd4e224d5593db74494142b5654b133014ccdc6369cbeb6690fc8 WHIRLPOOL f9efcb2fb1014819ea4c8ae89fc572ae7a0e68cc289d54186a8618e9c5736aa0ca750448b7adf7cb67851115e557da115d8c08c290dddb5413ef83242149456d
AUX makemkv-qt4.patch 651 SHA256 673e52a127f05c10ba9931f7273bec5ba3a042e3de1bfb116ac99436ba1ae1fc SHA512 90e21ee735a0031dd6597b1739e3fff3e894443aec590808530a565a214d6b043152d828eacfbd077c9f0bcd28d6b9081bb11dd2f1e3f268990d492195556837 WHIRLPOOL fb9e0f67d0eebbdc7f3f31d4a0f6701370f74dfe9e02ff9d41f6e1f281b38f1323620020a02a0a01349d1eff7204cba74fb0a8e019291b3a7f790c117433b7a1
AUX makemkv-qt5.patch 687 SHA256 88d39caa35fac78e327d2d3d66343d79b30be69fd4b8f412d99e61adbe3ff988 SHA512 cebd8086b58a9414f7b667e2bb5945101aba84b67337dc701cdb0eb973251468abd538053fae2384e385761d8538368ce1efb01e6da032172911e559076088ed WHIRLPOOL e86a9aa55f993ffe6e58ede11ae14d5bc076598b6bea1b6f2f686069f03364712520c401900685fa19a603002514d339e995ac75a39487e6ed4162b502ca810e
DIST makemkv-bin-1.10.3.tar.gz 8296526 SHA256 5c860fabd58e5d923c1e0f4c336751a9ba61a7874de320169a3988cda33d6cfb SHA512 93cca2516b51794af87dc997aee98e1fa99f75933e49b9ca4eb1bc3896464f3a2de251ddaa430a751f0233493ecc5948e39daaffe4b5b0d884ce47a38c27647f WHIRLPOOL 978cc0cd2eacdc495a39d5b070c7dfe48f2e88ac8644c39e5025c76b702af211c2420cf4204c3fcb5d0d656e704f3d1341c59f66a337c0701fa15adfaaf6e9dc
DIST makemkv-oss-1.10.3.tar.gz 4419732 SHA256 b89069294c27b298d35be86353baf9c3da8d7e18b6bce53d4ad2ee3a46785760 SHA512 f380aaccd930659f80d937699f82bf39a51631fe67161f81adc7a3380d28ecc107c2921d82c42a7995a9eabdbbf78d289384dca09e84855044eef4cea9c2f0c9 WHIRLPOOL 272b25f17ad221dd408f921221390566ec97e6a7e7a1729731ba5d75ff2c097919d46235f1b271db1b2be037053b3c05629690a696fe8e9723f4abe8fe203cd9
EBUILD makemkv-1.10.3.ebuild 3733 SHA256 ff3f50a015b4d5586d08ba0a509ca5eca5b583b096b6859838d225e8725172b0 SHA512 396773d9063f1699b1d4db3cd8c841fb9e4e5f584dbaf2c3eb654f3d22e9a88614a926c1e9b3311b6367f9cea30e6647b2d50a2bba44d7f42ceb82acee0a10b3 WHIRLPOOL 3630e927310be199a934f3afa9d0a5173e6dc51ffa683dd4a9df9c09af39ba727b67ac8c6d00cd5c8fe468497e240c8a7df929ea434134c658e1e6d8e6a6724d
MISC metadata.xml 1221 SHA256 19e142b9a9c08384f526c0bf2175aa9443a31c8082f8fe6804dc5011421db4c8 SHA512 697327658b9d1dff99431417d48d9184377c56eacdaf61d98f22a1f7df1e596ee34971f6f75f13cd3842ccb49a21bd2f70592acee8269ae9c130261f72d6a92b WHIRLPOOL 9231c2da5d1d02def5eff7b9609f470720710ea9fb6d2c807226a7488b84f9baa000215761ae71acb88306d59c9429a5bd6ec761bfe1c0918baadd6dc5886083

View File

@@ -1,18 +0,0 @@
--- makemkv-oss-1.9.3/Makefile.in.orig 2015-06-02 13:34:00.000000000 +0200
+++ makemkv-oss-1.9.3/Makefile.in 2015-06-04 12:32:29.752291023 +0200
@@ -47,7 +47,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
@@ -91,5 +91,5 @@
tmp/image_data.o : makemkvgui/bin/image_data.bin
mkdir -p tmp
- $(LD) -r -b binary -o $@ $<
+ $(LD) -r -b binary -z noexecstack -o $@ $<

View File

@@ -1,13 +0,0 @@
--- makemkv-oss-1.8.10/makemkvgui/src/api_linux.cpp.orig 2014-04-13 14:01:36.000000000 +0100
+++ makemkv-oss-1.8.10/makemkvgui/src/api_linux.cpp 2014-05-08 00:09:52.863784998 +0100
@@ -36,9 +36,7 @@
}
static const char* const app_locations[]={
- "/bin",
- "/usr/bin",
- "/usr/local/bin",
+ "/opt/bin",
NULL };
const char* const* ApGetAppLocations()

View File

@@ -1,34 +0,0 @@
--- makemkv-oss-1.9.8/configure.orig 2015-12-20 16:22:19.000000000 +0000
+++ makemkv-oss-1.9.8/configure 2015-12-26 23:59:44.601387071 +0000
@@ -5048,6 +5048,7 @@
if test "$enable_gui" != "no"; then
+: '
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt5" >&5
$as_echo_n "checking for qt5... " >&6; }
@@ -5105,6 +5106,7 @@
fi
# Put the nasty error message in config.log where it belongs
echo "$qt5_PKG_ERRORS" >&5
+'
@@ -5271,6 +5273,7 @@
fi
+: '
else
qt5_CFLAGS=$pkg_cv_qt5_CFLAGS
qt5_LIBS=$pkg_cv_qt5_LIBS
@@ -5283,6 +5286,7 @@
QT_MOC="$qt5_host_bins/moc";
fi
+'
QT_INC=$QT_INC

View File

@@ -1,28 +0,0 @@
--- makemkv-oss-1.9.8/configure.orig 2015-12-20 16:22:19.000000000 +0000
+++ makemkv-oss-1.9.8/configure 2015-12-27 00:05:18.659860655 +0000
@@ -5108,6 +5108,7 @@
+: '
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt4" >&5
$as_echo_n "checking for qt4... " >&6; }
@@ -5257,7 +5258,9 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
+'
as_fn_error $? "Qt library (version 5 or 4) is required to build GUI" "$LINENO" 5
+: '
else
qt4_CFLAGS=$pkg_cv_qt4_CFLAGS
@@ -5270,6 +5273,7 @@
QT_MOC=`$PKG_CONFIG --variable moc_location "QtCore" 2>/dev/null`;
fi
+'
else
qt5_CFLAGS=$pkg_cv_qt5_CFLAGS

View File

@@ -1,141 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
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"
REQUIRED_USE="?? ( qt4 qt5 )"
QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
RDEPEND="
sys-libs/glibc[multilib?]
dev-libs/expat
dev-libs/openssl:0
sys-libs/zlib
qt4? (
dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtgui:4
)
qt5? (
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= )
"
DEPEND="${RDEPEND}"
S=${WORKDIR}/makemkv-oss-${PV}
src_prepare() {
epatch "${FILESDIR}"/${PN}-{makefile,path}.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 qt4; then
epatch "${FILESDIR}"/${PN}-qt4.patch
elif use qt5; then
epatch "${FILESDIR}"/${PN}-qt5.patch
fi
}
src_configure() {
# See bug #439380.
replace-flags -O* -Os
if use qt4 || use qt5; then
econf --enable-gui
else
econf --disable-gui
fi
}
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}
into /opt
if use qt4 || use qt5; 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
# 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/"
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; }

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chewi@gentoo.org</email>
<name>James Le Cuirot</name>
</maintainer>
<longdescription>
MakeMKV is your one-click solution to convert video that you own
into free and patents-unencumbered format that can be played
everywhere. MakeMKV is a format converter, otherwise called
transcoder. It converts the video clips from proprietary (and
usually encrypted) disc into a set of MKV files, preserving most
information but not changing it in any way. The MKV format can
store multiple video/audio tracks with all meta-information and
preserve chapters. There are many players that can play MKV
files nearly on all platforms, and there are tools to convert
MKV files to many formats, including DVD and Blu-ray discs.
Additionally MakeMKV can instantly stream decrypted video
without intermediate conversion to wide range of players, so you
may watch Blu-ray and DVD discs with your favorite player on
your favorite OS or on your favorite device.
</longdescription>
</pkgmetadata>