2016-02-07 14:34:33 +01:00
|
|
|
# $NetBSD: Makefile,v 1.100 2016/02/07 13:34:34 leot Exp $
|
2004-01-26 13:08:12 +01:00
|
|
|
|
2009-10-19 00:22:10 +02:00
|
|
|
PKGNAME= mplayer-${MPLAYER_VERSION}
|
2004-06-26 20:37:06 +02:00
|
|
|
|
2009-10-19 00:22:10 +02:00
|
|
|
COMMENT= Fast, cross-platform movie player
|
2004-01-26 13:08:12 +01:00
|
|
|
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.common"
|
|
|
|
|
2008-08-10 18:21:40 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
2004-01-26 13:08:12 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-mencoder
|
|
|
|
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
|
2010-09-05 17:07:39 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-xvmc
|
2011-01-19 01:45:20 +01:00
|
|
|
CONFIGURE_ARGS+= --with-xvmclib=XvMCW
|
2004-01-26 13:08:12 +01:00
|
|
|
|
2006-10-11 02:01:00 +02:00
|
|
|
# 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"
|
2007-02-22 20:26:05 +01:00
|
|
|
CPPFLAGS+= -I/usr/X11R6/include
|
2006-10-11 02:01:00 +02:00
|
|
|
BUILDLINK_PASSTHRU_DIRS+= /usr/X11R6/include
|
|
|
|
.endif
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
|
2004-01-26 13:08:12 +01:00
|
|
|
do-install:
|
2006-11-06 15:06:17 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin
|
2004-01-26 13:08:12 +01:00
|
|
|
|
2010-09-05 17:07:39 +02:00
|
|
|
.include "../../x11/libXScrnSaver/buildlink3.mk"
|
2007-09-06 20:11:57 +02:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
.include "../../x11/libXv/buildlink3.mk"
|
|
|
|
.include "../../x11/libXvMC/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
|
|
|
2008-08-10 18:21:40 +02:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
|
2004-01-26 13:08:12 +01:00
|
|
|
.include "../../multimedia/mplayer-share/Makefile.depends"
|
|
|
|
|
2012-03-03 08:21:41 +01:00
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2004-01-26 13:08:12 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.cflags"
|