Skip to content

Commit

Permalink
multimedia/onevpl: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy and portfmt

PR:		272662
  • Loading branch information
Ximalas authored and nunotexbsd committed Jul 22, 2023
1 parent 582b973 commit 290685c
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions multimedia/onevpl/Makefile
Expand Up @@ -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}"

Expand Down

0 comments on commit 290685c

Please sign in to comment.