summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-11-05 18:01:48 +0000
committeradam <adam@pkgsrc.org>2019-11-05 18:01:48 +0000
commitaafd6dbaf9a568480a3cedabdfd20c2b5a9f4c67 (patch)
tree43e035a365b2b5ca165fcdba281f00e375b7d7a3 /multimedia
parent1921fd61118347daee42ed7a1dad096a3dd3fb8b (diff)
downloadpkgsrc-aafd6dbaf9a568480a3cedabdfd20c2b5a9f4c67.tar.gz
mkvtoolnix: updated to 39.0.0
Version 39.0.0 "In The Waiting Line": New features and enhancements * mkvmerge: Blu-ray: when reading an MPLS playlist mkvmerge will look up and use chapter names from the Blu-ray's "track/chapter names" meta data if it exists. * mkvmerge: MP4 reader: if present, cover art images (the `meta.udta.ilist.covr` atom) will be converted into attachments. * MKVToolNix GUI: multiplexer: when adding a playlist from a Blu-ray disc, the disc library meta data will be parsed, and the biggest thumbnail, if present, will be added as a new attachment with name `cover.jpg` (extension depends on thumbnail's extension). * MKVToolNix GUI: multiplexer: when adding a playlist from a Blu-ray disc, the title from the disc library meta data will be set as the new file title if the disc library meta data contains one & no title has been set yet. * MKVToolNix GUI: multiplexer: the automatically generated destination file name will now be based on the file title if one is set at that point. This works in conjunction with the title being said from the Blu-ray disc library meta data. * MKVToolNix GUI: chapter editor: when reading chapters from an MPLS playlist the GUI will look up and use chapter names from the Blu-ray's "track/chapter names" meta data if it exists. Part of the implementation of 2486. * MKVToolNix GUI: Windows: added a dark mode that's enabled when Windows 10's dark mode is turned on. * translations: added a Bulgarian translation of the programs & the man pages by Симеон Цветков (see `AUTHORS`). Bug fixes * mkvmerge: attachments without a file name won't be ignored anymore. * MKVToolNix GUI: header editor: attachments with an empty name element will be shown as `<unnamed>` as originally intended. * Linux AppImage: the AppImage will no longer change directories before running the desired executable allow the use of relative file names. Build system changes * MKVToolNix now requires a C++ compiler that supports the following features of the C++17 standard: "`[[maybe_unused]]` attribute", "nested namespace definition", "structured bindings". For the GNU Compiler Collection (gcc) this means v7 or newer; for clang it means v4 or newer. * Boost 1.60.0 or newer is now required.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkvtoolnix/Makefile6
-rw-r--r--multimedia/mkvtoolnix/PLIST8
-rw-r--r--multimedia/mkvtoolnix/distinfo12
-rw-r--r--multimedia/mkvtoolnix/patches/patch-Rakefile23
4 files changed, 28 insertions, 21 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index 7c2885417bc..1e3a1ebc0bf 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.137 2019/10/06 16:37:36 adam Exp $
+# $NetBSD: Makefile,v 1.138 2019/11/05 18:01:48 adam Exp $
-DISTNAME= mkvtoolnix-38.0.0
+DISTNAME= mkvtoolnix-39.0.0
CATEGORIES= multimedia
MASTER_SITES= https://mkvtoolnix.download/sources/
EXTRACT_SUFX= .tar.xz
@@ -14,7 +14,7 @@ BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
BUILD_DEPENDS+= po4a-[0-9]*:../../textproc/po4a
BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++17
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
GNU_CONFIGURE= yes
diff --git a/multimedia/mkvtoolnix/PLIST b/multimedia/mkvtoolnix/PLIST
index 11f09d4414a..b4f41b1bd4b 100644
--- a/multimedia/mkvtoolnix/PLIST
+++ b/multimedia/mkvtoolnix/PLIST
@@ -1,8 +1,13 @@
-@comment $NetBSD: PLIST,v 1.8 2017/09/17 12:00:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/11/05 18:01:48 adam Exp $
bin/mkvextract
bin/mkvinfo
bin/mkvmerge
bin/mkvpropedit
+man/bg/man1/mkvextract.1
+man/bg/man1/mkvinfo.1
+man/bg/man1/mkvmerge.1
+man/bg/man1/mkvpropedit.1
+man/bg/man1/mkvtoolnix-gui.1
man/ca/man1/mkvextract.1
man/ca/man1/mkvinfo.1
man/ca/man1/mkvmerge.1
@@ -43,6 +48,7 @@ man/zh_CN/man1/mkvextract.1
man/zh_CN/man1/mkvinfo.1
man/zh_CN/man1/mkvmerge.1
man/zh_CN/man1/mkvpropedit.1
+share/locale/bg/LC_MESSAGES/mkvtoolnix.mo
share/locale/ca/LC_MESSAGES/mkvtoolnix.mo
share/locale/cs/LC_MESSAGES/mkvtoolnix.mo
share/locale/de/LC_MESSAGES/mkvtoolnix.mo
diff --git a/multimedia/mkvtoolnix/distinfo b/multimedia/mkvtoolnix/distinfo
index 17ca906d7ba..fb50c15e072 100644
--- a/multimedia/mkvtoolnix/distinfo
+++ b/multimedia/mkvtoolnix/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.70 2019/10/06 16:37:36 adam Exp $
+$NetBSD: distinfo,v 1.71 2019/11/05 18:01:48 adam Exp $
-SHA1 (mkvtoolnix-38.0.0.tar.xz) = bbc037763309797bbb2eef6a0c6871b43410aa13
-RMD160 (mkvtoolnix-38.0.0.tar.xz) = f9b3f7e7a5bcef6778307db4f1ecc736f4c9e72f
-SHA512 (mkvtoolnix-38.0.0.tar.xz) = ae8794884fc86e9f4f61fd4b0a2e00cc3c007450ab784441540787a26522488f851e6c87e950c10f24e85d880668a2da1bf1b55df7f450b588dcad0da12f8728
-Size (mkvtoolnix-38.0.0.tar.xz) = 7348600 bytes
-SHA1 (patch-Rakefile) = b9404cfd3121e962a60bad86668c1160511a8b0f
+SHA1 (mkvtoolnix-39.0.0.tar.xz) = dd758bdae629de8c871497da83b2abaffc444032
+RMD160 (mkvtoolnix-39.0.0.tar.xz) = 662814a9d91b942b3e421dbc717407ea8718574b
+SHA512 (mkvtoolnix-39.0.0.tar.xz) = fd024e2d74e7bb162b744991e9fd2b1346af0c1a213278dc646ccd52e95fccffee84eff3fd00bf16650e97b360831e20c934083ab9f7d669241e34ef3a1a403d
+Size (mkvtoolnix-39.0.0.tar.xz) = 7505480 bytes
+SHA1 (patch-Rakefile) = 94c0a9ae0443f652a87f91cec195fe0d7afb61ac
SHA1 (patch-src_common_locale.cpp) = 46ba293fb0dee8af0e6e6fbe17c725a509101109
diff --git a/multimedia/mkvtoolnix/patches/patch-Rakefile b/multimedia/mkvtoolnix/patches/patch-Rakefile
index 20c3c1a1e3f..dca35b4030b 100644
--- a/multimedia/mkvtoolnix/patches/patch-Rakefile
+++ b/multimedia/mkvtoolnix/patches/patch-Rakefile
@@ -1,22 +1,23 @@
-$NetBSD: patch-Rakefile,v 1.4 2019/04/16 07:21:49 adam Exp $
+$NetBSD: patch-Rakefile,v 1.5 2019/11/05 18:01:48 adam Exp $
-Leave pkgsrc to handle security features.
+Leave pkgsrc to handle security features and optimization.
---- Rakefile.orig 2019-04-14 22:05:01.000000000 +0000
+--- Rakefile.orig 2019-11-04 20:54:12.000000000 +0000
+++ Rakefile
-@@ -130,7 +130,6 @@ def setup_globals
+@@ -128,8 +128,6 @@ def setup_globals
cflags_common += " #{c(:WNO_INCONSISTENT_MISSING_OVERRIDE)} #{c(:WNO_POTENTIALLY_EVALUATED_EXPRESSION)}"
cflags_common += " #{c(:OPTIMIZATION_CFLAGS)} -D_FILE_OFFSET_BITS=64"
cflags_common += " -DMTX_LOCALE_DIR=\\\"#{c(:localedir)}\\\" -DMTX_PKG_DATA_DIR=\\\"#{c(:pkgdatadir)}\\\" -DMTX_DOC_DIR=\\\"#{c(:docdir)}\\\""
-- cflags_common += stack_protector
- cflags_common += " -fsanitize=undefined" if c?(:UBSAN)
- cflags_common += " -fsanitize=address -fno-omit-frame-pointer" if c?(:ADDRSAN)
- cflags_common += " -Ilib/libebml -Ilib/libmatroska" if c?(:EBML_MATROSKA_INTERNAL)
-@@ -158,7 +157,6 @@ def setup_globals
+- cflags_common += determine_stack_protector_flags
+- cflags_common += determine_optimization_cflags
+ cflags_common += " -g3 -DDEBUG" if c?(:USE_DEBUG)
+ cflags_common += " -pg" if c?(:USE_PROFILING)
+ cflags_common += " -fsanitize=undefined" if c?(:USE_UBSAN)
+@@ -160,7 +158,6 @@ def setup_globals
cxxflags += " #{c(:QT_CFLAGS)} #{c(:BOOST_CPPFLAGS)} #{c(:USER_CXXFLAGS)}"
ldflags = ""
-- ldflags += stack_protector
+- ldflags += determine_stack_protector_flags
+ ldflags += " -pg" if c?(:USE_PROFILING)
ldflags += " -fuse-ld=lld" if is_clang? && !c(:LLVM_LLD).empty?
ldflags += " -Llib/libebml/src -Llib/libmatroska/src" if c?(:EBML_MATROSKA_INTERNAL)
- ldflags += " -Llib/fmt/src" if c?(:FMT_INTERNAL)