# $NetBSD: Makefile,v 1.5 2013/04/14 00:30:02 cheusov Exp $ # DISTNAME= libva-1.1.0 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi COMMENT= Video Acceleration API LICENSE= mit GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= autoreconf autoconf automake gmake pkg-config .include "../../mk/bsd.prefs.mk" DRIVER_SEARCH_PATH= ${PREFIX}/lib/xorg/modules/dri CONFIGURE_ARGS+= --enable-i965-driver CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --with-drivers-path=${DRIVER_SEARCH_PATH:Q} LIBS+= ${BUILDLINK_LDADD.dl} PKGCONFIG_OVERRIDE+= libva-glx.pc.in PKGCONFIG_OVERRIDE+= libva-tpi.pc.in PKGCONFIG_OVERRIDE+= libva-x11.pc.in PKGCONFIG_OVERRIDE+= libva.pc.in pre-configure: cd ${WRKSRC} && autoreconf -i .include "../../graphics/MesaLib/buildlink3.mk" .include "../../x11/libXfixes/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libdrm/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk"