pkgsrc/multimedia/gmplayer/Makefile

86 lines
2.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.56 2006/11/29 15:52:33 joerg Exp $
#
# NOTE: if you are updating both mplayer and gmplayer, you must ensure
# that *both* distinfo files contain the correct, up-to-date files and
# checksums.
#
# NOTE: patches are shared between mplayer and gmplayer!
#
PKGNAME= gmplayer-${MPLAYER_PKG_VERSION}
SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \
http://www2.mplayerhq.hu/MPlayer/skins/ \
ftp://ftp1.mplayerhq.hu/MPlayer/skins/ \
ftp://ftp2.mplayerhq.hu/MPlayer/skins/ \
http://ftp5.mplayerhq.hu/MPlayer/skins/ \
ftp://ftp5.mplayerhq.hu/MPlayer/skins/ \
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/mplayer/ \
${MASTER_SITE_LOCAL:=mplayer/}
.include "../../multimedia/mplayer-share/Makefile.common"
COMMENT= Software only MPEG-1/2/4 video decoder with a GTK+ interface
SKINS += AlienMind-1.2${EXTRACT_SUFX} \
Blue-1.6${EXTRACT_SUFX} \
Update to 1.0pre4: MPlayer 1.0pre4: "YAML Counter" Security: * HTTP parser remote heap overflow vulnerability fixed [already fixed in package previously] * Real RTSP remote buffer overflow vulnerability fixed * buffer overflow in the Matroska demuxer * potentially exploitable buffer overflow in CDDB TOC code DOCS: * new Copyright file covers files from other projects and their licenses * new DOCS/tech/translations.txt explains how to properly translate MPlayer * new Japanese console message translation * Polish translation finished * Italian man page translation * DVD ripping guide * telecine/interlacing guide * video out driver section added to the man page * XML build system rewritten - now supports building individual languages * miscellaneous updates all over the place Ports: * better PA-RISC detection * support for VAX (tested on VAXstation 4000/VLC) -- really, believe me! * optimizing for specific MIPS CPUs under IRIX * AMD64 detection under BSDs * fbdev driver updated for Linux 2.6 * support for ELF only OpenBSD * optimizing for PPC 970 (aka G5) * SDL support fixed on MinGW * VIDIX working under Windows XP/2000 (native dhahelper) * builds out of the box under GNU Hurd * SSE optimizations enabled under MinGW * SSE support under OpenBSD * AltiVec support under NetBSD * GCC 3.4 support (due to changed behaviour in ASM code snippets) Demuxers: * Matroska containing RealVideo works better * fixed random segfaults in VIVO * endianess fixes in CDDA * UYVY support in tvi/v4l2 * tvi/bsdbt848 now working under FreeBSD 5.2-CURRENT * tvi/bsdbt848 audio part working under NetBSD * LIVE.COM demuxer updated to conform with latest libraries * new, independent, C implementation of the Matroska demuxer * fix for rare Real files * more robust Real demuxer (can resync after errors) * support for AAC inside Real * MPEG Aspect code 4 fixed * support for selecting subtitle streams with -slang inside Ogg * wrapper demuxer for FFMpeg's libavformat (Nut is playable this way) * much improved seeking in Ogg * Nullsoft streaming video (NSV) demuxer * AVI OpenDML read and write support Streaming: * smil playlist parser * support for URL redirection * support for seeking in HTTP streams * updated LIVE.COM streaming code * fallback to live.com RTSP after Real RTSP * suggests -playlist if normal streaming fails * many improvements and bug fixes in the streaming code Decoders: * compilation failure without zlib in vd/lcl fixed * removed obsoleted decoders (which were moved to libavcodec), affected: vd/8bps, vd/msrle, vd/msvideo1, vd/rpza, vd/smc * workaround for buggy codecs in ad/acm (support for Sharp G.726) * fixed chroma-swapping in Hauppauge Macroblock decoder * AltiVec optimized resampler in liba52 * support for VP5 and VP6 DLL decoders * support for Alparysoft lossless video codec (through DLLs) * support for Lead MCMW wavelet video codec (through DLLs) * HE-AAC working through libfaad * removed libmpflac in favor of FFmpeg's FLAC implementation * liba52 dynamic range compression support Filters: * vf_bmovl bugfixes * vf_filmdint now handles 15fps NTSC input * huge updates and speedup on vf_pullup * big updates to vf_ilpack (proper interpolation and MMX optimizations) * vf_zrmjpeg: fast MJPEG encoder using libavcodec for Zoran * interlaced scaling support in vf_scale * vf_kerndeint: adaptive deinterlacer * vf_rgbtest: rgb test pattern generator for developers * vf_qp: qp change filter * vf_noformat: the same as vf_format but with reversed meaning * AltiVec optimized SWScaler * vf_phase: phase shift fields * vf_divtc: duplicate frame removal from deinterlaced telecined video Drivers: * ao/esd behaves better over network now * support for Radeon 9200/9600/9600 Pro/9700 in VIDIX * -mixer support for alsa9 * fixed OSS audio grabber module with hardware not supporting 44khz * native ALSA 1.x support (not through 0.9 emulation) * better multibuffer support in VIDIX nVidia driver * pan & scan support in VIDIX nVidia driver * support for more cards in VIDIX nVidia driver * vo_libcaca: color ASCII art output driver * vo_quartz: native MacOS X/Quartz video output * support for VIDIX when ATI FireGLX drivers are used FFmpeg/libavcodec: * H.263 AIC and MQ encoding support * fixed low delay decoding * fixed H.263+ encoding without UMV * lots of CBR improvements * MB type and QP visualization * lots of code cleanup * intra & inter dequantization split -> speedup * fixed stereo IMA ADPCM encoding * VBV delay setting support (MPEG2 CBR) * improved RV20 decoder (most known errors eliminated) * interlaced DCT * interlaced motion estimation * interlaced MPEG2 encoding * 4MV encoding fixes * initial interlaced MPEG4 encoding * improved visual quality in SVQ3 decoder * fixed never-before-tested embedded string decoder in SVQ1 * optimized quantization (including the trellis way) * Sierra VMD video decoder * MMX and SSE2 optimized H263 denoiser * better SVCD compliance (encoder side) * MMX and MMX2 optimized interlaced DCT decision * various cleanup, memleak and segfault fixes * optimized (2x faster) the MPEG layer 3 decoder * grayscale coded MJPEG decoding support * avimszh and avizlib decoders * "packed" XviD decoding * fixed some bugs in RV20 B-frames decoding * closed GOP encoding * SSE2 optimized FDCT * support for quantizer noise shaping * support for EA ADPCM and SMJPEG IMA ADPCM * QT RLE decoder * OBMC fixes * FLAC decoder * better support for DivX5 * MMX and SSE2 optimized VP3/Theora decoding * support for Theora alpha3 * many H.264 improvements * more robust MJPEG startcode search mechanism * better WMV8 decoding * native Sparc VIS optimizations * native G.726 codec Others: * -codecs-file option for specifying alternative codecs.conf file * fixed some minor bugs in the GUI * prevent sig11 when $HOME is not set * fix some command line handling corruptions * Swedish and Polish yes/no options in config files * support binding F11 and F12 keys * TOOLS/divx2svcd updated * stricter thread code in Win32 loader (works under NetBSD) * PJS subtitle support (was: dunnowhat) * TOOLS/avifix: simple tool to fix chunk sizes in AVI files * proper extraheader handling when libavcodec is used in MEncoder * AVI OpenDML read and write support * AVI VPRP (video property) read and write support * fixed long standing lame quality option off-by-one bug in MEncoder * MPL2 subtitle support * less verbosity in Win32 loader and other places
2004-04-28 17:54:46 +02:00
BlueHeart-1.5${EXTRACT_SUFX} \
CornerMP-1.2${EXTRACT_SUFX} \
CornerMP-aqua-1.4${EXTRACT_SUFX} \
Update to 1.0pre4: MPlayer 1.0pre4: "YAML Counter" Security: * HTTP parser remote heap overflow vulnerability fixed [already fixed in package previously] * Real RTSP remote buffer overflow vulnerability fixed * buffer overflow in the Matroska demuxer * potentially exploitable buffer overflow in CDDB TOC code DOCS: * new Copyright file covers files from other projects and their licenses * new DOCS/tech/translations.txt explains how to properly translate MPlayer * new Japanese console message translation * Polish translation finished * Italian man page translation * DVD ripping guide * telecine/interlacing guide * video out driver section added to the man page * XML build system rewritten - now supports building individual languages * miscellaneous updates all over the place Ports: * better PA-RISC detection * support for VAX (tested on VAXstation 4000/VLC) -- really, believe me! * optimizing for specific MIPS CPUs under IRIX * AMD64 detection under BSDs * fbdev driver updated for Linux 2.6 * support for ELF only OpenBSD * optimizing for PPC 970 (aka G5) * SDL support fixed on MinGW * VIDIX working under Windows XP/2000 (native dhahelper) * builds out of the box under GNU Hurd * SSE optimizations enabled under MinGW * SSE support under OpenBSD * AltiVec support under NetBSD * GCC 3.4 support (due to changed behaviour in ASM code snippets) Demuxers: * Matroska containing RealVideo works better * fixed random segfaults in VIVO * endianess fixes in CDDA * UYVY support in tvi/v4l2 * tvi/bsdbt848 now working under FreeBSD 5.2-CURRENT * tvi/bsdbt848 audio part working under NetBSD * LIVE.COM demuxer updated to conform with latest libraries * new, independent, C implementation of the Matroska demuxer * fix for rare Real files * more robust Real demuxer (can resync after errors) * support for AAC inside Real * MPEG Aspect code 4 fixed * support for selecting subtitle streams with -slang inside Ogg * wrapper demuxer for FFMpeg's libavformat (Nut is playable this way) * much improved seeking in Ogg * Nullsoft streaming video (NSV) demuxer * AVI OpenDML read and write support Streaming: * smil playlist parser * support for URL redirection * support for seeking in HTTP streams * updated LIVE.COM streaming code * fallback to live.com RTSP after Real RTSP * suggests -playlist if normal streaming fails * many improvements and bug fixes in the streaming code Decoders: * compilation failure without zlib in vd/lcl fixed * removed obsoleted decoders (which were moved to libavcodec), affected: vd/8bps, vd/msrle, vd/msvideo1, vd/rpza, vd/smc * workaround for buggy codecs in ad/acm (support for Sharp G.726) * fixed chroma-swapping in Hauppauge Macroblock decoder * AltiVec optimized resampler in liba52 * support for VP5 and VP6 DLL decoders * support for Alparysoft lossless video codec (through DLLs) * support for Lead MCMW wavelet video codec (through DLLs) * HE-AAC working through libfaad * removed libmpflac in favor of FFmpeg's FLAC implementation * liba52 dynamic range compression support Filters: * vf_bmovl bugfixes * vf_filmdint now handles 15fps NTSC input * huge updates and speedup on vf_pullup * big updates to vf_ilpack (proper interpolation and MMX optimizations) * vf_zrmjpeg: fast MJPEG encoder using libavcodec for Zoran * interlaced scaling support in vf_scale * vf_kerndeint: adaptive deinterlacer * vf_rgbtest: rgb test pattern generator for developers * vf_qp: qp change filter * vf_noformat: the same as vf_format but with reversed meaning * AltiVec optimized SWScaler * vf_phase: phase shift fields * vf_divtc: duplicate frame removal from deinterlaced telecined video Drivers: * ao/esd behaves better over network now * support for Radeon 9200/9600/9600 Pro/9700 in VIDIX * -mixer support for alsa9 * fixed OSS audio grabber module with hardware not supporting 44khz * native ALSA 1.x support (not through 0.9 emulation) * better multibuffer support in VIDIX nVidia driver * pan & scan support in VIDIX nVidia driver * support for more cards in VIDIX nVidia driver * vo_libcaca: color ASCII art output driver * vo_quartz: native MacOS X/Quartz video output * support for VIDIX when ATI FireGLX drivers are used FFmpeg/libavcodec: * H.263 AIC and MQ encoding support * fixed low delay decoding * fixed H.263+ encoding without UMV * lots of CBR improvements * MB type and QP visualization * lots of code cleanup * intra & inter dequantization split -> speedup * fixed stereo IMA ADPCM encoding * VBV delay setting support (MPEG2 CBR) * improved RV20 decoder (most known errors eliminated) * interlaced DCT * interlaced motion estimation * interlaced MPEG2 encoding * 4MV encoding fixes * initial interlaced MPEG4 encoding * improved visual quality in SVQ3 decoder * fixed never-before-tested embedded string decoder in SVQ1 * optimized quantization (including the trellis way) * Sierra VMD video decoder * MMX and SSE2 optimized H263 denoiser * better SVCD compliance (encoder side) * MMX and MMX2 optimized interlaced DCT decision * various cleanup, memleak and segfault fixes * optimized (2x faster) the MPEG layer 3 decoder * grayscale coded MJPEG decoding support * avimszh and avizlib decoders * "packed" XviD decoding * fixed some bugs in RV20 B-frames decoding * closed GOP encoding * SSE2 optimized FDCT * support for quantizer noise shaping * support for EA ADPCM and SMJPEG IMA ADPCM * QT RLE decoder * OBMC fixes * FLAC decoder * better support for DivX5 * MMX and SSE2 optimized VP3/Theora decoding * support for Theora alpha3 * many H.264 improvements * more robust MJPEG startcode search mechanism * better WMV8 decoding * native Sparc VIS optimizations * native G.726 codec Others: * -codecs-file option for specifying alternative codecs.conf file * fixed some minor bugs in the GUI * prevent sig11 when $HOME is not set * fix some command line handling corruptions * Swedish and Polish yes/no options in config files * support binding F11 and F12 keys * TOOLS/divx2svcd updated * stricter thread code in Win32 loader (works under NetBSD) * PJS subtitle support (was: dunnowhat) * TOOLS/avifix: simple tool to fix chunk sizes in AVI files * proper extraheader handling when libavcodec is used in MEncoder * AVI OpenDML read and write support * AVI VPRP (video property) read and write support * fixed long standing lame quality option off-by-one bug in MEncoder * MPL2 subtitle support * less verbosity in Win32 loader and other places
2004-04-28 17:54:46 +02:00
Cyrus-1.2${EXTRACT_SUFX} \
MidnightLove-1.6${EXTRACT_SUFX} \
WMP6-2.2${EXTRACT_SUFX} \
Update to 1.0pre4: MPlayer 1.0pre4: "YAML Counter" Security: * HTTP parser remote heap overflow vulnerability fixed [already fixed in package previously] * Real RTSP remote buffer overflow vulnerability fixed * buffer overflow in the Matroska demuxer * potentially exploitable buffer overflow in CDDB TOC code DOCS: * new Copyright file covers files from other projects and their licenses * new DOCS/tech/translations.txt explains how to properly translate MPlayer * new Japanese console message translation * Polish translation finished * Italian man page translation * DVD ripping guide * telecine/interlacing guide * video out driver section added to the man page * XML build system rewritten - now supports building individual languages * miscellaneous updates all over the place Ports: * better PA-RISC detection * support for VAX (tested on VAXstation 4000/VLC) -- really, believe me! * optimizing for specific MIPS CPUs under IRIX * AMD64 detection under BSDs * fbdev driver updated for Linux 2.6 * support for ELF only OpenBSD * optimizing for PPC 970 (aka G5) * SDL support fixed on MinGW * VIDIX working under Windows XP/2000 (native dhahelper) * builds out of the box under GNU Hurd * SSE optimizations enabled under MinGW * SSE support under OpenBSD * AltiVec support under NetBSD * GCC 3.4 support (due to changed behaviour in ASM code snippets) Demuxers: * Matroska containing RealVideo works better * fixed random segfaults in VIVO * endianess fixes in CDDA * UYVY support in tvi/v4l2 * tvi/bsdbt848 now working under FreeBSD 5.2-CURRENT * tvi/bsdbt848 audio part working under NetBSD * LIVE.COM demuxer updated to conform with latest libraries * new, independent, C implementation of the Matroska demuxer * fix for rare Real files * more robust Real demuxer (can resync after errors) * support for AAC inside Real * MPEG Aspect code 4 fixed * support for selecting subtitle streams with -slang inside Ogg * wrapper demuxer for FFMpeg's libavformat (Nut is playable this way) * much improved seeking in Ogg * Nullsoft streaming video (NSV) demuxer * AVI OpenDML read and write support Streaming: * smil playlist parser * support for URL redirection * support for seeking in HTTP streams * updated LIVE.COM streaming code * fallback to live.com RTSP after Real RTSP * suggests -playlist if normal streaming fails * many improvements and bug fixes in the streaming code Decoders: * compilation failure without zlib in vd/lcl fixed * removed obsoleted decoders (which were moved to libavcodec), affected: vd/8bps, vd/msrle, vd/msvideo1, vd/rpza, vd/smc * workaround for buggy codecs in ad/acm (support for Sharp G.726) * fixed chroma-swapping in Hauppauge Macroblock decoder * AltiVec optimized resampler in liba52 * support for VP5 and VP6 DLL decoders * support for Alparysoft lossless video codec (through DLLs) * support for Lead MCMW wavelet video codec (through DLLs) * HE-AAC working through libfaad * removed libmpflac in favor of FFmpeg's FLAC implementation * liba52 dynamic range compression support Filters: * vf_bmovl bugfixes * vf_filmdint now handles 15fps NTSC input * huge updates and speedup on vf_pullup * big updates to vf_ilpack (proper interpolation and MMX optimizations) * vf_zrmjpeg: fast MJPEG encoder using libavcodec for Zoran * interlaced scaling support in vf_scale * vf_kerndeint: adaptive deinterlacer * vf_rgbtest: rgb test pattern generator for developers * vf_qp: qp change filter * vf_noformat: the same as vf_format but with reversed meaning * AltiVec optimized SWScaler * vf_phase: phase shift fields * vf_divtc: duplicate frame removal from deinterlaced telecined video Drivers: * ao/esd behaves better over network now * support for Radeon 9200/9600/9600 Pro/9700 in VIDIX * -mixer support for alsa9 * fixed OSS audio grabber module with hardware not supporting 44khz * native ALSA 1.x support (not through 0.9 emulation) * better multibuffer support in VIDIX nVidia driver * pan & scan support in VIDIX nVidia driver * support for more cards in VIDIX nVidia driver * vo_libcaca: color ASCII art output driver * vo_quartz: native MacOS X/Quartz video output * support for VIDIX when ATI FireGLX drivers are used FFmpeg/libavcodec: * H.263 AIC and MQ encoding support * fixed low delay decoding * fixed H.263+ encoding without UMV * lots of CBR improvements * MB type and QP visualization * lots of code cleanup * intra & inter dequantization split -> speedup * fixed stereo IMA ADPCM encoding * VBV delay setting support (MPEG2 CBR) * improved RV20 decoder (most known errors eliminated) * interlaced DCT * interlaced motion estimation * interlaced MPEG2 encoding * 4MV encoding fixes * initial interlaced MPEG4 encoding * improved visual quality in SVQ3 decoder * fixed never-before-tested embedded string decoder in SVQ1 * optimized quantization (including the trellis way) * Sierra VMD video decoder * MMX and SSE2 optimized H263 denoiser * better SVCD compliance (encoder side) * MMX and MMX2 optimized interlaced DCT decision * various cleanup, memleak and segfault fixes * optimized (2x faster) the MPEG layer 3 decoder * grayscale coded MJPEG decoding support * avimszh and avizlib decoders * "packed" XviD decoding * fixed some bugs in RV20 B-frames decoding * closed GOP encoding * SSE2 optimized FDCT * support for quantizer noise shaping * support for EA ADPCM and SMJPEG IMA ADPCM * QT RLE decoder * OBMC fixes * FLAC decoder * better support for DivX5 * MMX and SSE2 optimized VP3/Theora decoding * support for Theora alpha3 * many H.264 improvements * more robust MJPEG startcode search mechanism * better WMV8 decoding * native Sparc VIS optimizations * native G.726 codec Others: * -codecs-file option for specifying alternative codecs.conf file * fixed some minor bugs in the GUI * prevent sig11 when $HOME is not set * fix some command line handling corruptions * Swedish and Polish yes/no options in config files * support binding F11 and F12 keys * TOOLS/divx2svcd updated * stricter thread code in Win32 loader (works under NetBSD) * PJS subtitle support (was: dunnowhat) * TOOLS/avifix: simple tool to fix chunk sizes in AVI files * proper extraheader handling when libavcodec is used in MEncoder * AVI OpenDML read and write support * AVI VPRP (video property) read and write support * fixed long standing lame quality option off-by-one bug in MEncoder * MPL2 subtitle support * less verbosity in Win32 loader and other places
2004-04-28 17:54:46 +02:00
avifile-1.6${EXTRACT_SUFX} \
gnome-1.1${EXTRACT_SUFX} \
hayraphon-1.0${EXTRACT_SUFX} \
hwswskin-1.1${EXTRACT_SUFX} \
mentalic-1.2${EXTRACT_SUFX} \
neutron-1.5${EXTRACT_SUFX} \
phony-1.1${EXTRACT_SUFX} \
plastic-1.2${EXTRACT_SUFX} \
proton-1.2${EXTRACT_SUFX} \
slim-1.2${EXTRACT_SUFX} \
xanim-1.6${EXTRACT_SUFX} \
xine-lcd-1.2${EXTRACT_SUFX}
.if !defined(SITES_AlienMind-1.2.tar.bz2)
. for skin in ${SKINS}
SITES.${skin}= ${SKIN_SITES}
. endfor
.endif
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${SKINS}
DISTINFO_FILE= ${.CURDIR}/distinfo
DIST_SUBDIR= ${PKGNAME_NOREV}-20060123
2006-06-21 15:10:54 +02:00
USE_TOOLS+= gtar pkg-config
CONFIGURE_ARGS+= --enable-gui --disable-mencoder \
--confdir=${PREFIX}/share/mplayer \
--with-extraincdir=${X11BASE}/include
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${PREFIX}/bin/gmplayer
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/Skin
2006-08-04 23:06:59 +02:00
.for skin in ${SKINS}
@${ECHO_MSG} "Installing skin ${skin}..."
${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${skin} | \
${GTAR} xCmf ${PREFIX}/share/mplayer/Skin -
.endfor
2006-08-04 23:06:59 +02:00
${CHMOD} -R a+r ${PREFIX}/share/mplayer/Skin
${CHMOD} a+rx ${PREFIX}/share/mplayer/Skin/*
${RM} -f ${PREFIX}/share/mplayer/Skin/default
${LN} -s Blue ${PREFIX}/share/mplayer/Skin/default
2006-07-21 00:09:02 +02:00
${RM} -rf ${PREFIX}/share/mplayer/Skin/Blue/.svn
${RM} -rf ${PREFIX}/share/mplayer/Skin/Blue/icons/.svn
.include "../../multimedia/mplayer-share/Makefile.depends"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
.include "../../multimedia/mplayer-share/Makefile.cflags"