summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-12-02 17:13:41 +0000
committeradam <adam@pkgsrc.org>2018-12-02 17:13:41 +0000
commit16596ee5fb2989f3ec12872a00dbc680075c3c61 (patch)
treee535b8b51a34f6c939a9e1c3d6c6103bd48d6bbd /multimedia
parent972e90c0288e5f01e7055897e5634a3bca1656af (diff)
downloadpkgsrc-16596ee5fb2989f3ec12872a00dbc680075c3c61.tar.gz
mkvtoolnix: updated to 29.0.0
Version 29.0.0 "Like It Or Not" Important notes * The string formatting library used was switched from boost::format to [fmt](http://fmtlib.net/). See the section "Build system changes" for details. New features and enhancements * MKVToolNix GUI: added an option in the preferences for disabling automatic scaling for high DPI displays. * MKVToolNix GUI: the GUI will now prevent the system from going to sleep while the job queue is running. This feature is implemented for macOS, Windows and Linux/Unix systems where the org.freedesktop.login1.Manager D-Bus interface is available. Bug fixes * mkvmerge: chapter generation: the start timestamps of chapters generated in intervals was wrong for files whose smallest video timestamp was bigger than 0. * mkvmerge: MP4 reader: fixed handling of atoms whose size exceeds the parent atom's size. * mkvmerge, MKVToolNix GUI's chapter editor: the chapter name template will now also be used when reading Ogg-style chapter files with empty chapter names. * mkvextract: AAC: mkvextract will now write the program config element (PCE) before the first AAC raw data packet if the PCE is present in the AudioSpecificConfig structure in the Codec Private Matroska element. The PCE carries vital information about the number of channels and is required in certain cases. * mkvpropedit, MKVToolNix GUI's header editor: in situations when a one-byte space must be covered by a new EBML void element the following element must be moved up instead. If that moved element is a cluster, the corresponding cue entries will now be updated to reflect the cluster's new position. * MKVToolNix GUI: Windows: the application manifest is now included properly so that Windows actually recognizes it. Build system changes * Qt's D-Bus implementation is now required for building on systems other than macOS and Windows, * The boost::format library is not used anymore. * The [fmt library](http://fmtlib.net/) is now required. Versions 3 and newer are supported. As not all Linux distributions include packages for the library, its release 5.2.1 comes bundled with MKVToolNix. The configure script will check for a system version of the library and use it if present and recent enough. Otherwise it will fall back to the bundled version and link that statically.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkvtoolnix/Makefile11
-rw-r--r--multimedia/mkvtoolnix/distinfo13
-rw-r--r--multimedia/mkvtoolnix/patches/patch-Rakefile14
-rw-r--r--multimedia/mkvtoolnix/patches/patch-build-config.in8
4 files changed, 31 insertions, 15 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index e2d312933ea..d38b051e596 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.118 2018/11/12 03:52:38 ryoon Exp $
+# $NetBSD: Makefile,v 1.119 2018/12/02 17:13:41 adam Exp $
-DISTNAME= mkvtoolnix-28.2.0
-PKGREVISION= 1
+DISTNAME= mkvtoolnix-29.0.0
CATEGORIES= multimedia
MASTER_SITES= https://mkvtoolnix.download/sources/
EXTRACT_SUFX= .tar.xz
@@ -24,9 +23,9 @@ CONFIGURE_ARGS+= --disable-precompiled-headers
CONFIGURE_ARGS+= --disable-update-check
CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}/lib
CONFIGURE_ARGS+= --with-boost-date-time=boost_date_time
+CONFIGURE_ARGS+= --with-boost-filesystem=boost_filesystem
CONFIGURE_ARGS+= --with-boost_regex=boost_regex
CONFIGURE_ARGS+= --with-boost-system=boost_system
-CONFIGURE_ARGS+= --with-boost-filesystem=boost_filesystem
CONFIGURE_ARGS+= --with-docbook-xsl-root=${PREFIX}/share/xsl/docbook
REPLACE_LOCALEDIR_PATTERNS= build-config.in
@@ -37,7 +36,7 @@ LDFLAGS.SunOS+= -lintl
INSTALL_ENV+= SHELL=${SH:Q}
.if !empty(MAKE_JOBS)
-DRAKE_ARGS= -j${MAKE_JOBS}
+DRAKE_ARGS= -v -j${MAKE_JOBS}
.else
DRAKE_ARGS= # empty
.endif
@@ -67,4 +66,6 @@ BUILDLINK_ABI_DEPENDS.libebml+= libebml>=1.3.5
.include "../../sysutils/file/buildlink3.mk"
.include "../../textproc/cmark/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../textproc/pugixml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/mkvtoolnix/distinfo b/multimedia/mkvtoolnix/distinfo
index 171ed123852..ce7ba7be9ea 100644
--- a/multimedia/mkvtoolnix/distinfo
+++ b/multimedia/mkvtoolnix/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.56 2018/10/26 18:09:39 maya Exp $
+$NetBSD: distinfo,v 1.57 2018/12/02 17:13:41 adam Exp $
-SHA1 (mkvtoolnix-28.2.0.tar.xz) = e54ee2ccc241ca3d21d7cc61daa934c51da798f0
-RMD160 (mkvtoolnix-28.2.0.tar.xz) = 903e89f5110e9eb472dbe3e16b6b7c369f2026e2
-SHA512 (mkvtoolnix-28.2.0.tar.xz) = 89c9890673a1755d203878b7cc656b44a0835bcb71f96f1f5d0f94b9bf651b95efb93c16601480f7c3c8abec16a5d655238705d84b54549ba094445236ab1efd
-Size (mkvtoolnix-28.2.0.tar.xz) = 6546844 bytes
-SHA1 (patch-build-config.in) = 89c67720f7886741dcabbbed88cfbfd31bf4ccc7
+SHA1 (mkvtoolnix-29.0.0.tar.xz) = c794cc9e37dc24207051c21eb8e7f4a2deef7cb6
+RMD160 (mkvtoolnix-29.0.0.tar.xz) = 174006d8e7aab417335c60bd168dc8698842689c
+SHA512 (mkvtoolnix-29.0.0.tar.xz) = bfb5e31fdd43dbb1c3a54a9b82af414abd43f8edad1cc87e5118f8c1781185470152163fda828303c58db97df27c8037b7fa64e2077c69e3204d5080f0248dae
+Size (mkvtoolnix-29.0.0.tar.xz) = 7051380 bytes
+SHA1 (patch-Rakefile) = bac8a1e581725e329079ab0acccd83795d707594
+SHA1 (patch-build-config.in) = a9072de691ee3e011b472280dd276a67f1799fac
diff --git a/multimedia/mkvtoolnix/patches/patch-Rakefile b/multimedia/mkvtoolnix/patches/patch-Rakefile
new file mode 100644
index 00000000000..eee2edf424b
--- /dev/null
+++ b/multimedia/mkvtoolnix/patches/patch-Rakefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-Rakefile,v 1.1 2018/12/02 17:13:41 adam Exp $
+
+Fix linking on macOS.
+
+--- Rakefile.orig 2018-12-02 17:00:02.000000000 +0000
++++ Rakefile
+@@ -1111,6 +1111,7 @@ if $build_mkvtoolnix_gui
+ libraries($common_libs, :qt).
+ libraries("-mwindows", :powrprof, :if => $building_for[:windows]).
+ libraries("-framework IOKit", :if => $building_for[:macos]).
++ libraries("-framework CoreFoundation", :if => $building_for[:macos]).
+ libraries($custom_libs).
+ create
+ end
diff --git a/multimedia/mkvtoolnix/patches/patch-build-config.in b/multimedia/mkvtoolnix/patches/patch-build-config.in
index d32ac7a1ccf..5f42a1fdc7f 100644
--- a/multimedia/mkvtoolnix/patches/patch-build-config.in
+++ b/multimedia/mkvtoolnix/patches/patch-build-config.in
@@ -1,13 +1,13 @@
-$NetBSD: patch-build-config.in,v 1.1 2018/02/02 10:04:40 jperkin Exp $
+$NetBSD: patch-build-config.in,v 1.2 2018/12/02 17:13:41 adam Exp $
Leave pkgsrc to handle security features.
---- build-config.in.orig 2018-01-15 17:56:15.000000000 +0000
+--- build-config.in.orig 2018-12-01 11:15:36.000000000 +0000
+++ build-config.in
-@@ -91,7 +91,7 @@ MATROSKA_LIBS = @MATROSKA_LIBS@
- EGREP = @EGREP@
+@@ -97,7 +97,7 @@ EGREP = @EGREP@
EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
+ FMT_INTERNAL = @FMT_INTERNAL@
-FSTACK_PROTECTOR = @FSTACK_PROTECTOR@
+FSTACK_PROTECTOR =
GOOGLE_BENCHMARK = @GOOGLE_BENCHMARK@