Date: Tue, 18 May 2021 00:55:07 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f4456da3779f - main - multimedia/intel-media-sdk: convert TEST option to USES=cmake:testing Message-ID: <202105180055.14I0t7OV047268@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4456da3779f6482ed880b4d99ded81b5678a471 commit f4456da3779f6482ed880b4d99ded81b5678a471 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-05-17 13:29:09 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-05-18 00:47:16 +0000 multimedia/intel-media-sdk: convert TEST option to USES=cmake:testing --- multimedia/intel-media-sdk/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/multimedia/intel-media-sdk/Makefile b/multimedia/intel-media-sdk/Makefile index 380500385798..270e77d20696 100644 --- a/multimedia/intel-media-sdk/Makefile +++ b/multimedia/intel-media-sdk/Makefile @@ -14,18 +14,20 @@ ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported LIB_DEPENDS= libva.so:multimedia/libva RUN_DEPENDS= cmrtlib>0:multimedia/cmrtlib +TEST_DEPENDS= googletest>0:devel/googletest -USES= cmake compiler:c++11-lib pkgconfig +USES= cmake:testing compiler:c++11-lib localbase:ldflags pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= Intel-Media-SDK GH_PROJECT= MediaSDK CMAKE_ON= BUILD_TOOLS +CMAKE_TESTING_ON= BUILD_TESTS USE_SYSTEM_GTEST PLIST_SUB= ARCH_SUFX=${ARCH:S/i386/32/:S/amd//:S/x86_//} # https://github.com/Intel-Media-SDK/MediaSDK/issues/1844 LLD_UNSAFE= yes -OPTIONS_DEFINE= OPENCL TEST WAYLAND X11 +OPTIONS_DEFINE= OPENCL WAYLAND X11 OPTIONS_DEFAULT=OPENCL WAYLAND X11 OPTIONS_SUB= yes @@ -41,11 +43,6 @@ WAYLAND_LIB_DEPENDS= libdrm_intel.so:graphics/libdrm \ libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND -TEST_BUILD_DEPENDS= googletest>0:devel/googletest -TEST_USES= localbase:ldflags -TEST_CMAKE_BOOL= BUILD_TESTS USE_SYSTEM_GTEST -TEST_TEST_TARGET= test - post-patch: # Pick git commit from port and use reproducible time @${REINPLACE_CMD} -e "/COMMAND/s/date/& -r `${AWK} '/TIMESTAMP/ \ @@ -57,6 +54,4 @@ post-patch: @${REINPLACE_CMD} -e 's/ -lstdc++ -ldl//' \ ${WRKSRC}/api/mfx_dispatch/linux/pkg-config*.cmake -pre-install-TEST-on: do-test - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105180055.14I0t7OV047268>