mplayer: Update to 1.4
pkgsrc changes:
* Set autosync = 30 by default to fix choppy video with NetBSD's new
audio system.
* Remove PulseAudio and legacy sound servers (nas, esd) as defaults.
Consistent with mpv.
* Add an alsa option and enable it by default on Linux.
* Disable all codecs by default and just use ffmpeg instead.
Allows distribution restrictions based on patents to be removed.
Tested with a variety of common file formats.
Consistent with other packages (e.g. FreeBSD Ports).
While here, upgrade to ffmpeg4.
Upstream changes:
1.4: "SubCounter" April 18, 2019
Decoders, demuxers, streams:
* More pixel formats are supported for VP9, RSCC, Screenpresso
* pvr:// support for the Hauppauge HD PVR model 1212
* Speed up detection of mpg format while streaming (limit probe to 4 MB)
* demuxer: fall back to audio pts if all others are unavailable (#1928)
* raw video: add support for < 8bpp RGB, support for paletted raw video,
fix fliped raw video in non-avi containers
* increase -lavdopts threads limit to 32
* warn for badly interleaved files, and make -ni more aggressive
* support GBR pixel formats for HEVC
* FFmpeg audio decoders: g721, g732
* FFmpeg video decoders: more Matrox mpeg2 formats (M702-3-4-5), Truemotion
RT, Matrox Uncompressed SD/HD, BitJazz SheerVideo, YUY2 Lossless Codec
Apple Pixlet, ScreenPressor, FM Screen Capture Codec
* FFmpeg IFF video/image decoders: ANIM, ILBM, PBM, RGB8, RGBN
Fixes:
* fix more issues reported by Coverity
* expand error checking, and fix many memleaks
* fix -subcp enca: with external ASS subtitles (#2281)
* fix reading of bitmap fonts
* fix -subdelay applied inverted
* some fixes for video filter bmovl (#2304, #2308)
* fix timing of first and last frame (#2315)
Other:
* MPlayer can link against OpenSSL instead of GnuTLS for https support
(Warning: the resulting binary can not be redistributed)
* OSD: NV12/NV21 support
* video output xv: NV12/NV21 support
* video outputs for OSX: fix a few issues with newer OSX versions
GUI:
* No limitation on the number of entries in a font description file
* Dramatic speedup of scanning font description files
* Playback improvements for cue sheet playlists
* Implementation of audio playback utilizing ReplayGain data
* New symbol character 'g' and new dynamic label variable $g
* Skins can leave current volume unchanged at startup
* New configuration file: gui.gain
* Modern new icons for the (default) menu, the file selector,
the playlist and the message boxes
* Rearrangement of some items of the (default) menu
* Fix of broken evLoadAudioFile, evLoadSubtitle and evDropSubtitle
* Skin support for 8-bit PNGs with palette
2019-06-04 15:39:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.72 2019/06/04 13:39:38 nia Exp $
|
2004-01-26 13:11:15 +01:00
|
|
|
|
2009-10-19 00:22:10 +02:00
|
|
|
PKGNAME= mencoder-${MPLAYER_VERSION}
|
2008-02-05 18:00:35 +01:00
|
|
|
|
2004-01-26 13:11:15 +01:00
|
|
|
COMMENT= Simple movie encoder for MPlayer-playable movies
|
|
|
|
|
2015-04-23 20:27:11 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
2004-01-26 13:11:15 +01:00
|
|
|
.include "../../multimedia/mplayer-share/Makefile.common"
|
|
|
|
|
2010-09-20 00:23:32 +02:00
|
|
|
# Fix build under Mac OS X, please see here for details:
|
|
|
|
# http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-May/061515.html
|
2016-02-25 16:49:43 +01:00
|
|
|
LDFLAGS.Darwin+= -framework Carbon
|
2010-09-20 00:23:32 +02:00
|
|
|
|
2004-01-26 13:11:15 +01:00
|
|
|
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
|
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= mencoder
|
2004-01-26 13:11:15 +01:00
|
|
|
|
2009-08-09 21:24:58 +02:00
|
|
|
MANCOMPRESSED_IF_MANZ= YES
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2004-01-26 13:11:15 +01:00
|
|
|
|
|
|
|
do-install:
|
2007-12-15 16:54:49 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${DESTDIR}${PREFIX}/bin
|
2004-01-26 13:11:15 +01:00
|
|
|
if [ X"${MANZ}" = X"" ]; then \
|
2007-12-15 16:54:49 +01:00
|
|
|
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \
|
2004-01-26 13:11:15 +01:00
|
|
|
else \
|
2007-12-15 16:54:49 +01:00
|
|
|
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \
|
2004-01-26 13:11:15 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.depends"
|
|
|
|
|
2011-12-17 11:16:20 +01:00
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2004-01-26 13:11:15 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.cflags"
|