From 290685cd059422d4afa8712c7beb0b4b3d7fcb73 Mon Sep 17 00:00:00 2001 From: Trond Endrestol Date: Sat, 22 Jul 2023 14:06:47 +0100 Subject: [PATCH] multimedia/onevpl: Fix build with llvm16 - Pet portclippy and portfmt PR: 272662 --- multimedia/onevpl/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/multimedia/onevpl/Makefile b/multimedia/onevpl/Makefile index 6e5021f75911b..0d15f33942486 100644 --- a/multimedia/onevpl/Makefile +++ b/multimedia/onevpl/Makefile @@ -15,23 +15,26 @@ ONLY_FOR_ARCHS_REASON= only Intel GPUs on x86 are supported BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ - libwayland-client.so:graphics/wayland \ - libva.so:multimedia/libva + libva.so:multimedia/libva \ + libwayland-client.so:graphics/wayland -USES= cmake:testing compiler:c++17-lang localbase:ldflags pkgconfig xorg +USES= cmake:testing compiler:c++14-lang localbase:ldflags pkgconfig \ + xorg +USE_CXXSTD= c++14 USE_GITHUB= yes +GH_ACCOUNT= oneapi-src USE_LDCONFIG= yes USE_XORG= x11 xcb -GH_ACCOUNT= oneapi-src + CMAKE_TESTING_ON= BUILD_TESTS DATADIR= ${PREFIX}/share/vpl -OPTIONS_DEFINE= PYTHON -OPTIONS_DEFAULT=PYTHON -OPTIONS_SUB= yes +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT= PYTHON +OPTIONS_SUB= yes -PYTHON_USES= python PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11 +PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_PYTHON_BINDING PYTHON_CMAKE_ON= -DPython3_EXECUTABLE:FILEPATH="${PYTHON_CMD}"