summaryrefslogtreecommitdiff
path: root/multimedia/mencoder/Makefile
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/mencoder/Makefile
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/mencoder/Makefile')
-rw-r--r--multimedia/mencoder/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/mencoder/Makefile b/multimedia/mencoder/Makefile
index 7d0a9e71ace..7165b551f65 100644
--- a/multimedia/mencoder/Makefile
+++ b/multimedia/mencoder/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2009/08/09 19:24:58 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2009/10/18 22:22:11 ahoka Exp $
-PKGNAME= mencoder-${MPLAYER_PKG_VERSION}
-PKGREVISION= 7
+PKGNAME= mencoder-${MPLAYER_VERSION}
+#PKGREVISION= 0
COMMENT= Simple movie encoder for MPlayer-playable movies
@@ -9,6 +9,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/mplayer-share/Makefile.common"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
+.endif
+
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
BUILD_TARGET= mencoder