Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/makemkv/files/, media-video/makemkv/
Date: Wed, 06 Jul 2022 22:14:59
Message-Id: 1657145656.7cf73ac1cbe0d710bfdb32c587d0ac943bfaf856.chewi@gentoo
1 commit: 7cf73ac1cbe0d710bfdb32c587d0ac943bfaf856
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 6 22:14:16 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 6 22:14:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cf73ac1
7
8 media-video/makemkv: Bump to 1.17.0, add unofficial man page
9
10 Thanks to Steve Dibb for the man page.
11
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 media-video/makemkv/Manifest | 4 +-
15 media-video/makemkv/files/makemkvcon.1 | 242 +++++++++++++++++++++
16 ...makemkv-1.16.7.ebuild => makemkv-1.17.0.ebuild} | 5 +-
17 3 files changed, 248 insertions(+), 3 deletions(-)
18
19 diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest
20 index e74db0a7a5a3..864814751179 100644
21 --- a/media-video/makemkv/Manifest
22 +++ b/media-video/makemkv/Manifest
23 @@ -1,2 +1,2 @@
24 -DIST makemkv-bin-1.16.7.tar.gz 16130689 BLAKE2B 6535cbeb65d0166c5093920f2064065f4d7a3ea0232878dfeda76f5ea53dad68e2da10894dcbeaab706c93b733f32e9c316a07a9365f43943a1f0710a48af83f SHA512 8233affac002a4ec9b0d37746371d2f582f5ebbb18621bb4801442bab2f8b79616b7f641893b896c350a8a7e8f09368b8b4acae58a6ab32a591926d98b808be1
25 -DIST makemkv-oss-1.16.7.tar.gz 6541953 BLAKE2B 28273db7300532b1ce2ab63629aa5ceb90059e4e02ea22e6f2764e727946fe6e6dbc45e16c743bf239e3bdfe015e447e662d0c5e838ada8564d0e251721a6bcc SHA512 6e8159b344caa70103369585f5a2f12dcfb6e5d6f65fb19466dab97dbf690cecaa1f08f6501342007966c23a08aa13f625eca078e270c8bb651d9b896a5977ff
26 +DIST makemkv-bin-1.17.0.tar.gz 16332197 BLAKE2B 9a51f7802c54ad7cfba5678ea1caf45d5099f9479fe1c6bdb4be05fe29d738b69d780c747e69147ef0eed85d9bc1174e0a959642039276ede9fe0a693d377b85 SHA512 f60ad2279e738e91dbe9d716a64102212b00bc32819907ebf4da8ea2127d74bb577dee25f3efb16da6393b1e29d3a2a09498dec93fc70940175471f0a4744939
27 +DIST makemkv-oss-1.17.0.tar.gz 6631571 BLAKE2B fd4c383deb26a948079005671e59d3bc3230612b7b405ee8587684922175a94beee4f4ba2ab7e4d0052ca09f6fdabaca4ef008a5a711d77c7e861dc879df3120 SHA512 895c0edd429e934d72f851a6cbbfe6df183e246e65a2899945e77917c612e7ee04251c4a22f94f2d7df547ce58ddded4fd451497791c56fe473b1d201aaa52e6
28
29 diff --git a/media-video/makemkv/files/makemkvcon.1 b/media-video/makemkv/files/makemkvcon.1
30 new file mode 100644
31 index 000000000000..0abeaa5387e0
32 --- /dev/null
33 +++ b/media-video/makemkv/files/makemkvcon.1
34 @@ -0,0 +1,242 @@
35 +'\" t
36 +.\" Title: makemkvcon
37 +.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
38 +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
39 +.\" Date: 05/20/2020
40 +.\" Manual: \ \&
41 +.\" Source: \ \&
42 +.\" Language: English
43 +.\"
44 +.TH "MAKEMKVCON" "1" "05/20/2020" "\ \&" "\ \&"
45 +.\" -----------------------------------------------------------------
46 +.\" * Define some portability stuff
47 +.\" -----------------------------------------------------------------
48 +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 +.\" http://bugs.debian.org/507673
50 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
51 +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 +.ie \n(.g .ds Aq \(aq
53 +.el .ds Aq '
54 +.\" -----------------------------------------------------------------
55 +.\" * set default formatting
56 +.\" -----------------------------------------------------------------
57 +.\" disable hyphenation
58 +.nh
59 +.\" disable justification (adjust text to left margin only)
60 +.ad l
61 +.\" -----------------------------------------------------------------
62 +.\" * MAIN CONTENT STARTS HERE *
63 +.\" -----------------------------------------------------------------
64 +.SH "NAME"
65 +makemkvcon \- MakeMKV console application
66 +.SH "SYNOPSIS"
67 +.sp
68 +\fBmakemkvcon\fR [\fIOPTIONS\fR] <backup|info|mkv> [\fIPARAMETERS\fR]
69 +.SH "DESCRIPTION"
70 +.sp
71 +Command\-line options for MakeMKV\&.
72 +.sp
73 +Configuration options and setup keys are located in ~/\&.MakeMKV/
74 +.SH "OPTIONS"
75 +.sp
76 +General options:
77 +.PP
78 +\fB\-\-messages=\fR\fIFILE\fR
79 +.RS 4
80 +Output all messgaes to a file\&. Special file names: stdout, stderr, null\&. Default is to stdout\&.
81 +.RE
82 +.PP
83 +\fB\-\-progress=\fR\fIFILE\fR
84 +.RS 4
85 +Output all progress messages to a file\&. Special file names: stdout, stderr, null\&. Use
86 +\fB\-same\fR
87 +to use
88 +\fB\-\-messages\fR
89 +argument\&. Default is no output\&.
90 +.RE
91 +.PP
92 +\fB\-\-debug\fR[=\fIFILE\fR]
93 +.RS 4
94 +Enables debug messages\&. Optionally saves to output file\&.
95 +.RE
96 +.PP
97 +\fB\-\-directio=[true|false]\fR
98 +.RS 4
99 +Enables or disables direct disc access\&.
100 +.RE
101 +.PP
102 +\fB\-\-noscan\fR
103 +.RS 4
104 +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\&.
105 +.RE
106 +.PP
107 +\fB\-\-cache=\fR\fISIZE\fR
108 +.RS 4
109 +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\&.
110 +.RE
111 +.PP
112 +\fB\-r, \-\-robot\fR
113 +.RS 4
114 +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\&.
115 +.RE
116 +.sp
117 +Backup options:
118 +.PP
119 +\fB\-\-decrypt\fR
120 +.RS 4
121 +Decrypt stream files during backup\&. Default: no decryption\&.
122 +.RE
123 +.PP
124 +\fB\-\-minlength\fR=\fISECONDS\fR
125 +.RS 4
126 +Specify minimum title length\&. Default: program preferences\&.
127 +.RE
128 +.SH "COMMANDS"
129 +.sp
130 +\fBbackup\fR Backup disc\&.
131 +.sp
132 +\fBinfo\fR Display information about a disc\&.
133 +.sp
134 +\fBmkv\fR Copy titles from disc\&.
135 +.sp
136 +\fBf\fR Run universal firmware tool\&.
137 +.SH "PARAMETERS"
138 +.PP
139 +\fBsource iso:\fR\fIFILENAME\fR
140 +.RS 4
141 +Open ISO image\&.
142 +.RE
143 +.PP
144 +\fBsource file:\fR\fIDIRECTORY\fR
145 +.RS 4
146 +Open files in directory\&.
147 +.RE
148 +.PP
149 +\fBsource disc:\fR\fIDISC ID\fR
150 +.RS 4
151 +Open disc with ID\&.
152 +.RE
153 +.PP
154 +\fBsource dev:\fR\fIDEVICE\fR
155 +.RS 4
156 +Open disc with device name\&.
157 +.RE
158 +.SH "EXAMPLES"
159 +.sp
160 +Copy all titles from first disc and save as MKV files into current directory:
161 +.sp
162 +.if n \{\
163 +.RS 4
164 +.\}
165 +.nf
166 +makemkvcon mkv disc:0 all \&.
167 +.fi
168 +.if n \{\
169 +.RE
170 +.\}
171 +.sp
172 +List all available drives:
173 +.sp
174 +.if n \{\
175 +.RS 4
176 +.\}
177 +.nf
178 +makemkvcon \-r \-\-cache=1 info disc:9999
179 +.fi
180 +.if n \{\
181 +.RE
182 +.\}
183 +.sp
184 +Backup first disc decrypting all video files in automation mode with progress output:
185 +.sp
186 +.if n \{\
187 +.RS 4
188 +.\}
189 +.nf
190 +makemkvcon backup \-\-decrypt \-\-cache=16 \-\-noscan \-r \-\-progress=\-same disc:0 \&.
191 +.fi
192 +.if n \{\
193 +.RE
194 +.\}
195 +.SH "MESSAGE FORMATS"
196 +.sp
197 +\fBMessage output\fR
198 +.sp
199 +MSG:code,flags,count,message,format,param0,param1,\&...
200 +.sp
201 +code \- unique message code, should be used to identify particular string in language\-neutral way\&.
202 +.sp
203 +flags \- message flags, see AP_UIMSG_xxx flags in apdefs\&.h
204 +.sp
205 +count \- number of parameters
206 +.sp
207 +message \- raw message string suitable for output
208 +.sp
209 +format \- format string used for message\&. This string is localized and subject to change, unlike message code\&.
210 +.sp
211 +paramX \- parameter for message
212 +.sp
213 +\fBCurrent and total progress title\fR
214 +.sp
215 +PRGC:code,id,name
216 +.sp
217 +PRGT:code,id,name
218 +.sp
219 +code \- unique message code
220 +.sp
221 +id \- operation sub\-id
222 +.sp
223 +name \- name string
224 +.sp
225 +\fBProgress bar values for current and total progress\fR
226 +.sp
227 +PRGV:current,total,max
228 +.sp
229 +current \- current progress value
230 +.sp
231 +total \- total progress value
232 +.sp
233 +max \- maximum possible value for a progress bar, constant
234 +.sp
235 +\fBDrive scan messages\fR
236 +.sp
237 +DRV:index,visible,enabled,flags,drive name,disc name
238 +.sp
239 +index \- drive index
240 +.sp
241 +visible \- set to 1 if drive is present
242 +.sp
243 +enabled \- set to 1 if drive is accessible
244 +.sp
245 +flags \- media flags, see AP_DskFsFlagXXX in apdefs\&.h
246 +.sp
247 +drive name \- drive name string
248 +.sp
249 +disc name \- disc name string
250 +.sp
251 +\fBDisc information output messages\fR
252 +.sp
253 +TCOUT:count
254 +.sp
255 +count \- titles count
256 +.sp
257 +\fBDisc, title and stream information\fR
258 +.sp
259 +CINFO:id,code,value
260 +.sp
261 +TINFO:id,code,value
262 +.sp
263 +SINFO:id,code,value
264 +.sp
265 +id \- attribute id, see AP_ItemAttributeId in apdefs\&.h
266 +.sp
267 +code \- message code if attribute value is a constant string
268 +.sp
269 +value \- attribute value
270 +.SH "RESOURCES"
271 +.sp
272 +Console usage: https://www\&.makemkv\&.com/developers/usage\&.txt
273 +.sp
274 +MakeMKV for Linux forum: https://www\&.makemkv\&.com/forum/viewforum\&.php?f=3
275 +.sp
276 +Main web site: https://www\&.makemkv\&.com/
277
278 diff --git a/media-video/makemkv/makemkv-1.16.7.ebuild b/media-video/makemkv/makemkv-1.17.0.ebuild
279 similarity index 96%
280 rename from media-video/makemkv/makemkv-1.16.7.ebuild
281 rename to media-video/makemkv/makemkv-1.17.0.ebuild
282 index 23a32955e746..7bb22f94b4f1 100644
283 --- a/media-video/makemkv/makemkv-1.16.7.ebuild
284 +++ b/media-video/makemkv/makemkv-1.17.0.ebuild
285 @@ -1,4 +1,4 @@
286 -# Copyright 1999-2021 Gentoo Authors
287 +# Copyright 1999-2022 Gentoo Authors
288 # Distributed under the terms of the GNU General Public License v2
289
290 EAPI=8
291 @@ -100,6 +100,9 @@ src_install() {
292 # install profiles and locales
293 insinto /usr/share/MakeMKV
294 doins src/share/*
295 +
296 + # install unofficial man page
297 + doman "${FILESDIR}"/makemkvcon.1
298 }
299
300 pkg_postinst() {