From 7cf73ac1cbe0d710bfdb32c587d0ac943bfaf856 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 6 Jul 2022 23:14:16 +0100 Subject: media-video/makemkv: Bump to 1.17.0, add unofficial man page Thanks to Steve Dibb for the man page. Signed-off-by: James Le Cuirot --- media-video/makemkv/Manifest | 4 +- media-video/makemkv/files/makemkvcon.1 | 242 ++++++++++++++++++++++++++++++ media-video/makemkv/makemkv-1.16.7.ebuild | 126 ---------------- media-video/makemkv/makemkv-1.17.0.ebuild | 129 ++++++++++++++++ 4 files changed, 373 insertions(+), 128 deletions(-) create mode 100644 media-video/makemkv/files/makemkvcon.1 delete mode 100644 media-video/makemkv/makemkv-1.16.7.ebuild create mode 100644 media-video/makemkv/makemkv-1.17.0.ebuild (limited to 'media-video/makemkv') diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest index e74db0a7a5a3..864814751179 100644 --- a/media-video/makemkv/Manifest +++ b/media-video/makemkv/Manifest @@ -1,2 +1,2 @@ -DIST makemkv-bin-1.16.7.tar.gz 16130689 BLAKE2B 6535cbeb65d0166c5093920f2064065f4d7a3ea0232878dfeda76f5ea53dad68e2da10894dcbeaab706c93b733f32e9c316a07a9365f43943a1f0710a48af83f SHA512 8233affac002a4ec9b0d37746371d2f582f5ebbb18621bb4801442bab2f8b79616b7f641893b896c350a8a7e8f09368b8b4acae58a6ab32a591926d98b808be1 -DIST makemkv-oss-1.16.7.tar.gz 6541953 BLAKE2B 28273db7300532b1ce2ab63629aa5ceb90059e4e02ea22e6f2764e727946fe6e6dbc45e16c743bf239e3bdfe015e447e662d0c5e838ada8564d0e251721a6bcc SHA512 6e8159b344caa70103369585f5a2f12dcfb6e5d6f65fb19466dab97dbf690cecaa1f08f6501342007966c23a08aa13f625eca078e270c8bb651d9b896a5977ff +DIST makemkv-bin-1.17.0.tar.gz 16332197 BLAKE2B 9a51f7802c54ad7cfba5678ea1caf45d5099f9479fe1c6bdb4be05fe29d738b69d780c747e69147ef0eed85d9bc1174e0a959642039276ede9fe0a693d377b85 SHA512 f60ad2279e738e91dbe9d716a64102212b00bc32819907ebf4da8ea2127d74bb577dee25f3efb16da6393b1e29d3a2a09498dec93fc70940175471f0a4744939 +DIST makemkv-oss-1.17.0.tar.gz 6631571 BLAKE2B fd4c383deb26a948079005671e59d3bc3230612b7b405ee8587684922175a94beee4f4ba2ab7e4d0052ca09f6fdabaca4ef008a5a711d77c7e861dc879df3120 SHA512 895c0edd429e934d72f851a6cbbfe6df183e246e65a2899945e77917c612e7ee04251c4a22f94f2d7df547ce58ddded4fd451497791c56fe473b1d201aaa52e6 diff --git a/media-video/makemkv/files/makemkvcon.1 b/media-video/makemkv/files/makemkvcon.1 new file mode 100644 index 000000000000..0abeaa5387e0 --- /dev/null +++ b/media-video/makemkv/files/makemkvcon.1 @@ -0,0 +1,242 @@ +'\" t +.\" Title: makemkvcon +.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] +.\" Generator: DocBook XSL Stylesheets v1.79.1 +.\" Date: 05/20/2020 +.\" Manual: \ \& +.\" Source: \ \& +.\" Language: English +.\" +.TH "MAKEMKVCON" "1" "05/20/2020" "\ \&" "\ \&" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +makemkvcon \- MakeMKV console application +.SH "SYNOPSIS" +.sp +\fBmakemkvcon\fR [\fIOPTIONS\fR] [\fIPARAMETERS\fR] +.SH "DESCRIPTION" +.sp +Command\-line options for MakeMKV\&. +.sp +Configuration options and setup keys are located in ~/\&.MakeMKV/ +.SH "OPTIONS" +.sp +General options: +.PP +\fB\-\-messages=\fR\fIFILE\fR +.RS 4 +Output all messgaes to a file\&. Special file names: stdout, stderr, null\&. Default is to stdout\&. +.RE +.PP +\fB\-\-progress=\fR\fIFILE\fR +.RS 4 +Output all progress messages to a file\&. Special file names: stdout, stderr, null\&. Use +\fB\-same\fR +to use +\fB\-\-messages\fR +argument\&. Default is no output\&. +.RE +.PP +\fB\-\-debug\fR[=\fIFILE\fR] +.RS 4 +Enables debug messages\&. Optionally saves to output file\&. +.RE +.PP +\fB\-\-directio=[true|false]\fR +.RS 4 +Enables or disables direct disc access\&. +.RE +.PP +\fB\-\-noscan\fR +.RS 4 +Don\(cqt access any media during disc scan and do not check for media insertion and removal\&. Helpful when other applications are already accessing discs in other drives\&. +.RE +.PP +\fB\-\-cache=\fR\fISIZE\fR +.RS 4 +Specifies size of read cache in megabytes\&. By default program uses a huge amount of memory\&. About 128 MB is recommended for streaming and backup, 512MB for DVD conversion and 1024MB for Blu\-ray conversion\&. +.RE +.PP +\fB\-r, \-\-robot\fR +.RS 4 +Enables automation mode\&. Program will output more information in a format that is easier to parse\&. All output is line\-based and output is flushed on line end\&. All strings are quoted, all control characters and quotes are backlash\-escaped\&. If you automate this program it is highly recommended to use this option\&. Some options make reference to apdefs\&.h file that can be found in MakeMKV open\-source package, included with version for Linux\&. These values will not change in future versions\&. +.RE +.sp +Backup options: +.PP +\fB\-\-decrypt\fR +.RS 4 +Decrypt stream files during backup\&. Default: no decryption\&. +.RE +.PP +\fB\-\-minlength\fR=\fISECONDS\fR +.RS 4 +Specify minimum title length\&. Default: program preferences\&. +.RE +.SH "COMMANDS" +.sp +\fBbackup\fR Backup disc\&. +.sp +\fBinfo\fR Display information about a disc\&. +.sp +\fBmkv\fR Copy titles from disc\&. +.sp +\fBf\fR Run universal firmware tool\&. +.SH "PARAMETERS" +.PP +\fBsource iso:\fR\fIFILENAME\fR +.RS 4 +Open ISO image\&. +.RE +.PP +\fBsource file:\fR\fIDIRECTORY\fR +.RS 4 +Open files in directory\&. +.RE +.PP +\fBsource disc:\fR\fIDISC ID\fR +.RS 4 +Open disc with ID\&. +.RE +.PP +\fBsource dev:\fR\fIDEVICE\fR +.RS 4 +Open disc with device name\&. +.RE +.SH "EXAMPLES" +.sp +Copy all titles from first disc and save as MKV files into current directory: +.sp +.if n \{\ +.RS 4 +.\} +.nf +makemkvcon mkv disc:0 all \&. +.fi +.if n \{\ +.RE +.\} +.sp +List all available drives: +.sp +.if n \{\ +.RS 4 +.\} +.nf +makemkvcon \-r \-\-cache=1 info disc:9999 +.fi +.if n \{\ +.RE +.\} +.sp +Backup first disc decrypting all video files in automation mode with progress output: +.sp +.if n \{\ +.RS 4 +.\} +.nf +makemkvcon backup \-\-decrypt \-\-cache=16 \-\-noscan \-r \-\-progress=\-same disc:0 \&. +.fi +.if n \{\ +.RE +.\} +.SH "MESSAGE FORMATS" +.sp +\fBMessage output\fR +.sp +MSG:code,flags,count,message,format,param0,param1,\&... +.sp +code \- unique message code, should be used to identify particular string in language\-neutral way\&. +.sp +flags \- message flags, see AP_UIMSG_xxx flags in apdefs\&.h +.sp +count \- number of parameters +.sp +message \- raw message string suitable for output +.sp +format \- format string used for message\&. This string is localized and subject to change, unlike message code\&. +.sp +paramX \- parameter for message +.sp +\fBCurrent and total progress title\fR +.sp +PRGC:code,id,name +.sp +PRGT:code,id,name +.sp +code \- unique message code +.sp +id \- operation sub\-id +.sp +name \- name string +.sp +\fBProgress bar values for current and total progress\fR +.sp +PRGV:current,total,max +.sp +current \- current progress value +.sp +total \- total progress value +.sp +max \- maximum possible value for a progress bar, constant +.sp +\fBDrive scan messages\fR +.sp +DRV:index,visible,enabled,flags,drive name,disc name +.sp +index \- drive index +.sp +visible \- set to 1 if drive is present +.sp +enabled \- set to 1 if drive is accessible +.sp +flags \- media flags, see AP_DskFsFlagXXX in apdefs\&.h +.sp +drive name \- drive name string +.sp +disc name \- disc name string +.sp +\fBDisc information output messages\fR +.sp +TCOUT:count +.sp +count \- titles count +.sp +\fBDisc, title and stream information\fR +.sp +CINFO:id,code,value +.sp +TINFO:id,code,value +.sp +SINFO:id,code,value +.sp +id \- attribute id, see AP_ItemAttributeId in apdefs\&.h +.sp +code \- message code if attribute value is a constant string +.sp +value \- attribute value +.SH "RESOURCES" +.sp +Console usage: https://www\&.makemkv\&.com/developers/usage\&.txt +.sp +MakeMKV for Linux forum: https://www\&.makemkv\&.com/forum/viewforum\&.php?f=3 +.sp +Main web site: https://www\&.makemkv\&.com/ diff --git a/media-video/makemkv/makemkv-1.16.7.ebuild b/media-video/makemkv/makemkv-1.16.7.ebuild deleted file mode 100644 index 23a32955e746..000000000000 --- a/media-video/makemkv/makemkv-1.16.7.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic linux-info xdg - -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="GPL-2 LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+gui +java" -RESTRICT="bindist mirror" - -QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec" - -DEPEND=" - dev-libs/expat - dev-libs/openssl:0=[-bindist(-)] - >=media-video/ffmpeg-1.0.0:0= - sys-libs/glibc - sys-libs/zlib - gui? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) -" -RDEPEND=" - ${DEPEND} - net-misc/wget - java? ( >=virtual/jre-1.8 ) -" -BDEPEND=" - virtual/pkgconfig - gui? ( dev-qt/qtcore:5 ) -" - -CONFIG_CHECK="~CHR_DEV_SG" -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-path.patch - "${FILESDIR}"/${PN}-flags.patch -) - -src_prepare() { - default - - if ! use java; then - rm -v "${WORKDIR}/${MY_PB}"/src/share/blues.* || die - fi -} - -src_configure() { - # See bug #439380. - replace-flags -O* -Os - - econf \ - --enable-debug \ - --disable-noec \ - $(use_enable gui) \ - $(use_enable gui qt5) -} - -src_install() { - local myarch - case "${ARCH}" in - arm) myarch=armel ;; - x86) myarch=i386 ;; - *) myarch=${ARCH} ;; - esac - - 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/"${myarch}"/makemkvcon - - # additional tool is actually part of makemkvcon - dosym makemkvcon /usr/bin/sdftool - - # install profiles and locales - insinto /usr/share/MakeMKV - doins src/share/* -} - -pkg_postinst() { - xdg_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 "https://www.makemkv.com/forum/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" -} diff --git a/media-video/makemkv/makemkv-1.17.0.ebuild b/media-video/makemkv/makemkv-1.17.0.ebuild new file mode 100644 index 000000000000..7bb22f94b4f1 --- /dev/null +++ b/media-video/makemkv/makemkv-1.17.0.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic linux-info xdg + +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="GPL-2 LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+gui +java" +RESTRICT="bindist mirror" + +QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec" + +DEPEND=" + dev-libs/expat + dev-libs/openssl:0=[-bindist(-)] + >=media-video/ffmpeg-1.0.0:0= + sys-libs/glibc + sys-libs/zlib + gui? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" +RDEPEND=" + ${DEPEND} + net-misc/wget + java? ( >=virtual/jre-1.8 ) +" +BDEPEND=" + virtual/pkgconfig + gui? ( dev-qt/qtcore:5 ) +" + +CONFIG_CHECK="~CHR_DEV_SG" +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-path.patch + "${FILESDIR}"/${PN}-flags.patch +) + +src_prepare() { + default + + if ! use java; then + rm -v "${WORKDIR}/${MY_PB}"/src/share/blues.* || die + fi +} + +src_configure() { + # See bug #439380. + replace-flags -O* -Os + + econf \ + --enable-debug \ + --disable-noec \ + $(use_enable gui) \ + $(use_enable gui qt5) +} + +src_install() { + local myarch + case "${ARCH}" in + arm) myarch=armel ;; + x86) myarch=i386 ;; + *) myarch=${ARCH} ;; + esac + + 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/"${myarch}"/makemkvcon + + # additional tool is actually part of makemkvcon + dosym makemkvcon /usr/bin/sdftool + + # install profiles and locales + insinto /usr/share/MakeMKV + doins src/share/* + + # install unofficial man page + doman "${FILESDIR}"/makemkvcon.1 +} + +pkg_postinst() { + xdg_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 "https://www.makemkv.com/forum/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" +} -- cgit v1.2.3-65-gdbad