summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/Makefile
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2010-09-05 15:07:39 +0000
committerjakllsch <jakllsch>2010-09-05 15:07:39 +0000
commit5fbaa8e8a64c25f802c549356fc0ca6836e7d054 (patch)
tree788bd5673b524ba9deafe5888628593af0baba90 /multimedia/mplayer/Makefile
parent1f1f8348f0b59230bab07c4872980c5651163b96 (diff)
downloadpkgsrc-5fbaa8e8a64c25f802c549356fc0ca6836e7d054.tar.gz
Ensure mplayer knows how to disable the screen saver. Mostly from PR#43804.
While here, finish enabling libXvMC. XXX libXvMC needs real builtinifying.
Diffstat (limited to 'multimedia/mplayer/Makefile')
-rw-r--r--multimedia/mplayer/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 2cc87132948..44c0b8359ae 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.70 2010/07/13 16:27:36 wiz Exp $
+# $NetBSD: Makefile,v 1.71 2010/09/05 15:07:39 jakllsch Exp $
PKGNAME= mplayer-${MPLAYER_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Fast, cross-platform movie player
@@ -17,6 +17,7 @@ BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
CONFIGURE_ARGS+= --disable-mencoder
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
+CONFIGURE_ARGS+= --enable-xvmc
# 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.
@@ -30,13 +31,11 @@ INSTALLATION_DIRS+= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin
+.include "../../x11/libXScrnSaver/buildlink3.mk"
.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"