pkgsrc/multimedia/mkvtoolnix/Makefile
adam 71f1daa248 mkvtoolnix: updated to 28.0.0
Version 28.0.0 "Voice In My Head":

New features and enhancements
* mkvmerge: AV1 parser: updated the code for the finalized AV1 bitstream
  specification.
* mkvmerge: AV1 packetizer: updated the code for the finalized AV1-in-Matroska
  & WebM mapping specification.
* mkvmerge: AV1 support: the `--engage enable_av1` option has been removed
  again.
* mkvmerge: MP4 reader: added support for AV1.
* mkvmerge: DTS: implemented dialog normalization gain removal for extension
  substreams.
* mkvmerge, mkvextract: simple text subtitles: added a workaround for simple
  text subtitle tracks that don't contain a duration.
* mkvextract: added support for extracting AV1 to IVF.
* mkvextract: IVF extractor (AV1, VP8, VP9): precise values will be used for
  the frame rate numerator & denominator header fields for certain well-known
  values of the track's default duration.
* mkvmerge: VP9: mkvmerge will now create codec private data according to the
  VP9 codec mapping described in the WebM specifications.
* MKVToolNix GUI: automatic scaling for high DPI displays is activated if the
  GUI is compiled with Qt ≥ 5.6.0.
* MKVToolNix GUI: added a menu item ("Help" → "System information") for
  displaying information about the system MKVToolNix is running on in order to
  make debugging easier.
* MKVToolNix GUI: multiplexer, header editor: the user can enter a list of
  predefined track names in the preferences. She can later select from them in
  "track name" combo box.

Bug fixes
* mkvmerge: JSON identification: fixed a bug when removing invalid UTF-8 data
  from strings before they're output as JSON.
* mkvmerge: MP4/QuickTime reader: fixed handling of PCM audio with FourCC
  `in24`.
* mkvmerge: MPEG transport stream reader, teletext subtitles: the decision
  whether or not to keep frames around in order to potentially merge them with
  the following frame is made sooner. That avoids problems if there are large
  gaps between teletext subtitle frames which could lead to frames being
  interleaved too late.
* mkvextract: IVF extractor (AV1, VP8, VP8): the frame rate header fields
  weren't clamped to 16 bits properly causing wrong frame rates to be written
  in certain situations.
* mkvpropedit, MKVToolNix GUI's header editor: fixed file corruption when a
  one-byte space must be covered with a new EBML void element but all
  surrounding elements have a "size length" field that's eight bytes long
  already.
2018-10-23 06:32:05 +00:00

69 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.115 2018/10/23 06:32:05 adam Exp $
DISTNAME= mkvtoolnix-28.0.0
CATEGORIES= multimedia
MASTER_SITES= https://mkvtoolnix.download/sources/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://mkvtoolnix.download/
COMMENT= Set of tools to create, alter and inspect Matroska files
LICENSE= gnu-gpl-v2
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_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-optimization
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_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
LDFLAGS.DragonFly= -lboost_system
LDFLAGS.SunOS+= -lintl
INSTALL_ENV+= SHELL=${SH:Q}
.if !empty(MAKE_JOBS)
DRAKE_ARGS= -j${MAKE_JOBS}
.else
DRAKE_ARGS= # empty
.endif
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE} ${DRAKE_ARGS}
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${RAKE} install
.include "options.mk"
.include "../../lang/ruby/rubyversion.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_ABI_DEPENDS.libebml+= libebml>=1.3.5
.include "../../devel/libebml/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../multimedia/libmatroska/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../textproc/cmark/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"