pkgsrc/multimedia/mkvtoolnix/Makefile

71 lines
2.1 KiB
Makefile
Raw Normal View History

2011-01-01 14:18:36 +01:00
# $NetBSD: Makefile,v 1.28 2011/01/01 13:19:37 obache Exp $
DISTNAME= mkvtoolnix-4.3.0
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.bunkus.org/videotools/mkvtoolnix/
COMMENT= Set of tools to create, alter and inspect Matroska files
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
2011-01-01 14:18:36 +01:00
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}
CONFIGURE_ARGS+= --with-boost_regex=boost_regex
CONFIGURE_ARGS+= --with-boost-filesystem=boost_filesystem
PKG_OPTIONS_VAR= PKG_OPTIONS.mkvtoolnix
PKG_SUPPORTED_OPTIONS= mkvtoolnix-gui
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gui
.if !empty(PKG_OPTIONS:Mmkvtoolnix-gui)
PLIST.gui= yes
CONFIGURE_ARGS+= --enable-gui
CONFIGURE_ARGS+= --enable-wxwidgets
. include "../../x11/wxGTK28/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gui
CONFIGURE_ARGS+= --disable-wxwidgets
.endif
Updated to version 0.9.6 Changes: - mkvextract: bug fix: The track extraction was creating the output file twice if the Matroska file contained a copy of the track headers. This resulted in the first extracted file being overwritten at the end of extraction. - mmg: bug fix: If the file title is read from an input file, not modified by the user and that input file is removed again then the file title will be unset. - mkvmerge: enhancement: Converted the raw FLAC reader to use another interface to the FLAC libraries. This results in a speedup of up to 50%. Thanks to Josh Coalson for telling me about its existence. - mkvmerge: new feature: Added two warnings. One about invalid track IDs that were used on the command line but that don't correspond to an available track in a file and one if no track will be copied from a source file. Both warnings hint at bad command line arguments. - mkvmerge: Only write the segment duration as a 64bit float if there is no video track present. This way users won't have to update their DirectShow filter/apps for most files. Only audio-only files need this precision anyway. - mkvmerge: Changed the Ogg/OGM reader to use the stream number and not its serial number as the track ID (meaning the track IDs will be 0, 1, 2... etc. instead of the random numbers oggenc uses as the serial numbers). - mkvmerge: new feature: The CUE sheet parser now accepts INDEX lines with indices from 00 up to 99 and implements the Red Book specification for audio CDs that way. Patch by Vegard Pettersen <vegard_p at broadpark adot no>. - mkvmerge, mkvextract: bug fix: ASS was handled like SSA which is not correct in each case, especially when extracting it. - mkvextract: bug fix: The WAV writer was not endian safe. - mkvmerge: bug fix: The charset was not set correctly on Solaris. - mkvmerge: bug fix: mkvmerge crashed when reading Matroska files that contain an empty tag list. - mkvmerge: bug fix: Some Matroska files that e.g. have had their timecodes offset with the Matroska Stream Editor or other means may contain timecodes that caused mkvmerge to print a warning about "timecode < last_timecode". A new fix implements a workaround and a warning message with a proper explanation for this case. - mkvmerge: bug fix: Older Matroska files containing chapters caused mkvmerge to abort muxing. - mkvmerge: bug fix: mkvmerge was only copying the last tag of a list of tags applying to a track from a Matroska file. - mkvmerge: bug fix: mkvmerge will show a nice warning if the entries in a SRT have non-continuous timestamps. It'll also sort the entries by their start timestamp instead of throwing the generic "timecode < previous timecode" warning. - mmg: bug fix: The 'Matroska file analysis' window that occurs when reading chapters from a Matroska file did not disappear if it was minimized when the process finished. - mkvmerge: new feature: Added a new parameter --aspect-ratio-factor. - mkvinfo: bug fix: Strings from chapters and tags were shown in UTF-8 instead of the local charset. This bug was introduced around 2004-08-28. - mkvmerge: bug fix: Not all chapter elements were copied correctly from a source Matroska file. - mkvextract: Sped up the extraction of attachments, chapters, cuesheets and tags by using the seek head information and not parsing the full file each time. - mkvmerge: bug fix: The Matroska reader was not handling very big cluster timecodes correctly. Those can occur when the timecode scale factor is very small. - mkvmerge: bug fix: Empty clusters in Matroska files no longer make mkvmerge think that file has been read completely. - mkvmerge: new feature: Added support for MP2 (and maybe MP3) audio in MP4 containers. - mkvmerge: new feature: The chapter and tag parsers accept XML element attributes instead of sub-elements for those sub-elements that only contain data. Example for a "simple tag": <Simple Name="ARTIST" String="Tori Amos"/> - mkvmerge: bug fix: The automatic MIME type detection based on the file name extension was using the file name extension as the MIME type. - mkvmerge, mkvinfo: new feature: Added the four new PixelCrop elements. - mkvmerge, mkvextract, mkvinfo: new feature: Added 'TargetTypeValue' as a supported tagging element. - mkvmerge, mkvextract, mkvinfo: Complete rewrite of the chapter and tag parsing and output functions. Additions will be much easier now. - mkvmerge, mkvextract, mkvinfo: feature removed: Dropped support for the very old and deprecated tagging system. No one used it anyway. - mkvmerge: new feature: Allow the use of two-letter ISO639-1 country codes in for the '--language' parameter. Those will be converted to the corresponding ISO639-2 language code automatically. - mkvmerge, mkvinfo, mkvextract: new feature: Added support for the 'TargetType' tag element - mkvmerge: bug fix: The MP3 handling was broken on weird and rare occasions when reading MP3 from a Matroska file. - mkvmerge: bug fix: Removed a bogus warning about an attachment's MIME type having been given more than once.
2004-10-14 19:13:27 +02:00
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ruby drake
do-install:
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ruby drake install
BUILDLINK_DEPMETHOD.${RUBY_BASE}= build
.include "../../lang/ruby/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/liblzo/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
Updated to version 0.8.8. Changes: 0.8.8: ====== - mkvtoolnix now depends on libebml 0.7.0 and libmatroska 0.7.0. - mkvinfo: bug fix: mkvinfo was forcing libmatroska not to handle unknown elements and crashed on those. - mmg: new feature: When adding Matroska files the video track's display dimensions are displayed as well. - mmg: bug fix: On non-Windows systems some combinations of wxWindows and GTK caused continuous 100% CPU usage after a special call to wxExecute. - mkvmerge: new feature: Implemented reading AAC from AVIs. - mkvmerge: bug fix: The Flac packetizer was accessing uninitialized memory resulting in a crash on Windows. - mkvemrge: bug fix: Fixed the handling of RealMedia files with 'multirate' tracks (again). - mkvmerge: bug fix: On some rare occasions chapters were not written correctly when splitting was active. - avilib: bug fix: Fixed compilation on big endian systems. 0.8.7: ====== - mkvinfo: new feature: Added a terse output format via '-s'. - mkvmerge: new feature: If using MPEG4 video and no aspect ratio or display dimensions are given mkvmerge will extract the aspect ratio information from the stream and automatically set the display dimensions accordingly. - mkvmerge: bug fix: Using audio sync on AC3 tracks read from Matroska files did not work. - mkvextract: new feature: Added extraction of RealAudio and RealVideo tracks to RealMedia files. - mmg: new feature: Added a 'job queue'. The current settings can be added as a new job, and all pending jobs can be started for batch processing without user interaction.
2004-05-05 17:57:47 +02:00
.include "../../devel/libebml/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../multimedia/libmatroska/buildlink3.mk"
2004-04-13 01:15:01 +02:00
.include "../../multimedia/libogg/buildlink3.mk"
Update to version 1.7.0 Changes: - mkvmerge: enhancement: Added support for MIME type detection via libmagic (patch by Robert Millan with heavy modifications by myself). - mkvmerge: bug fix: Theora headers were not handled correctly. - mkvmerge: bug fix: The WavPack reader was broken on 64bit systems (e.g. AMD64). - mkvmerge: bug fix: The Theora timecode handling was broken, and Ogg/Theora files were not identified correctly (they showed up as "unknown" in mmg). - mmg: enhancement: The 'adjust timecodes' function accepts timecodes like 'XXXXXunit' with 'unit' being 'ms', 'us', 'ns' or 's'. - mkvmerge: enhancement: mkvmerge will no longer refuse to concatenate files with differing Codec Private contents and only issue a warning in such cases. - mkvmerge: bug fix: Quicktime/MP4 reader: Added support for version 1 media headers ('mdhd' atom) with 64bit fields. Fixed the duration of the last packet passed downstream. Fixed overflow issues during re-scaling from the Quicktime/MP4's time scale to nano seconds used by mkvmerge. - mkvmerge: bug fix: Muxing wasn't working Windows 9x/ME because mkvmerge was trying to use Unicode file access functions when determining which directories to create. Fixes Anthill bug #177. - mkvmerge: new feature: Added support for the "Delay:" feature and for negative timecodes in VobSub IDX files. - mmg: new feature: If mmg is set to automatically fill in the output file name then it will clear the output file name once all input files have been removed. - mmg: bug fix: Fixed a crash that occured if the user removed an attachment and clicked somewhere in the empty space in the attachment list. Occured only on Windows. - mmg: bug fix: Re-added Chinese to the list of popular languages (those are listed first in the language drop down boxes). - mkvmerge: bug fix: The last change to the ISO 639 language handling broke the VobSub reader so that it reported the wrong language codes. This also caused mmg to not display the correct language after adding a VobSub file.
2006-10-08 07:22:19 +02:00
.include "../../sysutils/file/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"