pkgsrc/multimedia/mkvtoolnix/Makefile
adam 8c8a6923f0 mkvtoolnix: updated to 38.0.0
Version 38.0.0 "The Silent Type":

New features and enhancements
* mkvextract: chapters, tags & cue sheets will now be written to standard
  output if no file name is given, same as if `-` is given as the file name.
* MKVToolNix GUI: job queue: added a new setting in the preferences' "job
  queue & job status" section that, when enabled, will cause the GUI to remove
  all output files created by jobs that are either aborted by the user or that
  end in an error.

Bug fixes
* all programs: macOS: fixed file access if the file name (including all path
  components) contains any Unicode character where NFC (Normalization Form
  Canonical Composed) and NFD (Normalization Form Canonical Decomposed)
  differ, e.g. German Umlauts.
* mkvmerge: when splitting by chapters the user can now split by chapters
  coming from one of the appended files, too.
* mkvmerge: AAC reader: fixed reading codec parameters (channels, sample rate)
  if a file starts with garbage that includes valid-but-bogus AAC
  headers.
* MKVToolNix GUI: Hebrew was added to the list of often-used languages so that
  it can be selected by default again.
* MKVToolNix GUI: when updating the GUI's settings from v37.0.0 or older, the
  GUI checks if the list of often-used languages equals the built-in list from
  v36.0.0. If it does, it will be updated to the built-in list changed in
  v37.0.0.

Build system changes
* Boost's Operators header library is now required.
2019-10-06 16:37:36 +00:00

65 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.137 2019/10/06 16:37:36 adam Exp $
DISTNAME= mkvtoolnix-38.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-filesystem=boost_filesystem
CONFIGURE_ARGS+= --with-boost_regex=boost_regex
CONFIGURE_ARGS+= --with-boost-system=boost_system
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}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE}
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 "../../textproc/fmtlib/buildlink3.mk"
.include "../../textproc/pugixml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"