pkgsrc/multimedia/mencoder/Makefile

37 lines
1.1 KiB
Makefile
Raw Normal View History

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 $
PKGNAME= mencoder-${MPLAYER_VERSION}
COMMENT= Simple movie encoder for MPlayer-playable movies
2015-04-23 20:27:11 +02:00
USE_TOOLS+= pkg-config
.include "../../multimedia/mplayer-share/Makefile.common"
# 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
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
BUILD_TARGET= mencoder
2009-08-09 21:24:58 +02:00
MANCOMPRESSED_IF_MANZ= YES
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${DESTDIR}${PREFIX}/bin
if [ X"${MANZ}" = X"" ]; then \
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \
else \
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \
fi
.include "../../multimedia/mplayer-share/Makefile.depends"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
.include "../../multimedia/mplayer-share/Makefile.cflags"