git: ce516a747216 - main - multimedia/libva-intel-media-driver: convert TEST option to USES=cmake:testing
Jan Beich
jbeich at FreeBSD.org
Tue May 18 00:55:10 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ce516a747216a83ac3532768aa74196fb172851b
commit ce516a747216a83ac3532768aa74196fb172851b
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-05-17 13:18:17 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-05-18 00:47:16 +0000
multimedia/libva-intel-media-driver: convert TEST option to USES=cmake:testing
---
multimedia/libva-intel-media-driver/Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/multimedia/libva-intel-media-driver/Makefile b/multimedia/libva-intel-media-driver/Makefile
index e94c24f67365..090173996854 100644
--- a/multimedia/libva-intel-media-driver/Makefile
+++ b/multimedia/libva-intel-media-driver/Makefile
@@ -30,23 +30,22 @@ BUILD_DEPENDS= gmmlib>=19.3.1:multimedia/gmmlib \
LIB_DEPENDS= libigdgmm.so:multimedia/gmmlib \
libva.so:multimedia/libva
-USES= cmake compiler:c++11-lib localbase pkgconfig
+USES= cmake:testing compiler:c++11-lib localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= intel
ARCH_SUFX= ${ARCH:S/i386/32/:S/amd//:S/x86_//}
CMAKE_OFF= MEDIA_BUILD_FATAL_WARNINGS BUILD_CMRTLIB
+CMAKE_OFF+= ${CMAKE_TESTING_ON}
+CMAKE_TESTING_ON= MEDIA_RUN_TEST_SUITE # XXX Unbundle googletest
+CMAKE_TESTING_TARGET= RunULT
CMAKE_ARGS= -DBUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DARCH:STRING="${ARCH_SUFX}" \
-DUFO_MARCH:STRING="${CPUTYPE}"
PLIST_FILES= lib/dri/iHD_drv_video.so
-OPTIONS_DEFINE= TEST X11
+OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
-# XXX Unbundle googletest
-TEST_CMAKE_BOOL= MEDIA_RUN_TEST_SUITE
-TEST_TEST_TARGET= RunULT
-
X11_LIB_DEPENDS= libva-x11.so:multimedia/libva
post-patch:
More information about the dev-commits-ports-all
mailing list