pkgsrc/multimedia/mplayer/Makefile
drochner 497cc0cdd9 -add a patch from upstream to fix CVE-2008-3162
(stack-based buffer overflow in the str_read_packet function in
   libavformat/psxstr.c)
-add (a modified version of) the ffmpeg 4xm patch which fixes
 possible memory corruption
bump PKGREVISION
2009-02-02 19:20:48 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.66 2009/02/02 19:20:48 drochner Exp $
PKGNAME= mplayer-${MPLAYER_PKG_VERSION}
PKGREVISION= 13
COMMENT= Software-only MPEG-1/2/4 video decoder
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/mplayer-share/Makefile.common"
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --disable-mencoder
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
# Solaris/x86 has Xv, but the header files live in /usr/X11R6, not
# ${X11_BASE}, so we need to also look for headers in this path.
.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
CPPFLAGS+= -I/usr/X11R6/include
BUILDLINK_PASSTHRU_DIRS+= /usr/X11R6/include
.endif
INSTALLATION_DIRS+= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.if ${X11_TYPE} == "modular"
.include "../../x11/libXvMC/buildlink3.mk"
.endif
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../multimedia/mplayer-share/Makefile.depends"
.include "../../mk/bsd.pkg.mk"
.include "../../multimedia/mplayer-share/Makefile.cflags"