svn commit: r533380 - branches/2020Q2/lang/intel-compute-runtime

Jan Beich jbeich at FreeBSD.org
Wed Apr 29 16:07:01 UTC 2020


Author: jbeich
Date: Wed Apr 29 16:07:00 2020
New Revision: 533380
URL: https://svnweb.freebsd.org/changeset/ports/533380

Log:
  MFH: r533379
  
  lang/intel-compute-runtime: track libva dependency
  
  -- Checking for module 'libva>=1.0.0'
  --   Found libva, version 1.7.0
  -- Looking for vaGetLibFunc in va
  -- Looking for vaGetLibFunc in va - found
  -- Using libva
  -- LibVA include dirs: /usr/local/include
  
  $ strings /usr/local/lib/intel-opencl/libigdrcl.so | grep '^va[A-Z]'
  vaDestroyImage
  vaSyncSurface
  vaDeriveImage
  vaMaxNumImageFormats
  vaGetLibFunc
  vaQueryImageFormats
  vaDisplayIsValid
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2020Q2/lang/intel-compute-runtime/Makefile
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/lang/intel-compute-runtime/Makefile
==============================================================================
--- branches/2020Q2/lang/intel-compute-runtime/Makefile	Wed Apr 29 16:06:00 2020	(r533379)
+++ branches/2020Q2/lang/intel-compute-runtime/Makefile	Wed Apr 29 16:07:00 2020	(r533380)
@@ -2,6 +2,7 @@
 
 PORTNAME=	compute-runtime
 DISTVERSION=	20.12.16259
+PORTREVISION=	1
 CATEGORIES=	lang
 PKGNAMEPREFIX=	intel-
 
@@ -26,6 +27,12 @@ CMAKE_ARGS=	-DNEO_DRIVER_VERSION:STRING="${DISTVERSION
 PLIST_FILES=	etc/OpenCL/vendors/intel.icd \
 		bin/ocloc \
 		lib/intel-opencl/libigdrcl.so
+
+OPTIONS_DEFINE=	VAAPI
+OPTIONS_DEFAULT=VAAPI
+
+VAAPI_BUILD_DEPENDS=	${LOCALBASE}/include/va/va.h:multimedia/libva
+VAAPI_CMAKE_BOOL_OFF=	DISABLE_LIBVA
 
 post-patch:
 	@${REINPLACE_CMD} -e '/-Werror/d' \


More information about the svn-ports-branches mailing list