diff options
Diffstat (limited to 'multimedia/intel-vaapi-driver/Makefile')
-rw-r--r-- | multimedia/intel-vaapi-driver/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/multimedia/intel-vaapi-driver/Makefile b/multimedia/intel-vaapi-driver/Makefile new file mode 100644 index 00000000000..ffad568ebed --- /dev/null +++ b/multimedia/intel-vaapi-driver/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1 2017/03/12 09:44:25 leot Exp $ + +DISTNAME= intel-vaapi-driver-1.7.3 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_GITHUB:=01org/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/01org/intel-vaapi-driver/ +COMMENT= VA-API user mode driver for Intel GEN Graphics family +LICENSE= mit + +.include "../../multimedia/libva/available.mk" + +.if ${VAAPI_AVAILABLE} == "no" +NOT_FOR_PLATFORM+= ${MACHINE_PLATFORM} +.endif + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= autoconf automake gmake pkg-config + +CONFIGURE_ARGS+= --disable-wayland + +# XXX: Force installation in PREFIX. +# XXX: LIBVA_DRIVERS_PATH - if undefined - is obtained via +# XXX: `pkg-config libva --variable driverdir'. This is not desiderable +# XXX: for native X.org so handle installation similarly to graphics/MesaLib +# XXX: in order to be X11_TYPE agnostic. +CONFIGURE_ENV+= LIBVA_DRIVERS_PATH=${PREFIX}/lib/dri/ + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} != "Linux" +BUILDLINK_TRANSFORM+= rm:-ldl +.endif + +pre-configure: + ${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh + +.include "../../mk/dlopen.buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../multimedia/libva/buildlink3.mk" +.include "../../x11/libdrm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |