pkgsrc/multimedia/libvdpau/Makefile
2018-03-07 11:57:28 +00:00

36 lines
995 B
Makefile

# $NetBSD: Makefile,v 1.12 2018/03/07 11:57:31 wiz Exp $
DISTNAME= libvdpau-1.1.1
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://people.freedesktop.org/~aplattner/vdpau/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/index.html
COMMENT= Video Decode and Presentation API for Unix
LICENSE= mit
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-documentation
PKGCONFIG_OVERRIDE+= vdpau.pc.in
EGDIR= ${PREFIX}/share/examples/libvdpau
CONF_FILES= ${EGDIR}/vdpau_wrapper.cfg \
${PKG_SYSCONFDIR}/vdpau_wrapper.cfg
INSTALL_MAKE_FLAGS= sysconfdir=${EGDIR}
.include "available.mk"
.if ${VDPAU_AVAILABLE} == no
PKG_SKIP_REASON+= "VDPAU is not available on this platform"
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"