summaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2009-10-18 22:22:10 +0000
committerahoka <ahoka@pkgsrc.org>2009-10-18 22:22:10 +0000
commit56a51f0054950dfc4e3e03f03d54379ad3c64528 (patch)
tree3d4a34870674cb9521f62df3e80f84cbffcc6c59 /multimedia/mplayer
parent382fdc100c6a9645ddecca586b7a96c325fbe44e (diff)
downloadpkgsrc-56a51f0054950dfc4e3e03f03d54379ad3c64528.tar.gz
Upgrade to the SVN snapshot as of 2009-10-17.
The builtin libavcodec now uses yasm to assemble hand written h264 code. The older x264 we currently have in pkgsrc is not supported by mplayer, so I had to do some hand tweaking to make it work. It may contain bugs because of this, so report any fallouts with h264.
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 51f2305a73f..804e90b1a8b 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.67 2009/08/09 12:56:11 kefren Exp $
+# $NetBSD: Makefile,v 1.68 2009/10/18 22:22:11 ahoka Exp $
-PKGNAME= mplayer-${MPLAYER_PKG_VERSION}
-PKGREVISION= 14
+PKGNAME= mplayer-${MPLAYER_VERSION}
+#PKGREVISION= 0
-COMMENT= Software-only MPEG-1/2/4 video decoder
+COMMENT= Fast, cross-platform movie player
PKG_DESTDIR_SUPPORT= user-destdir
@@ -11,6 +11,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
+.endif
+
CONFIGURE_ARGS+= --disable-mencoder
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer