diff --git a/multimedia/onevpl/Makefile b/multimedia/onevpl/Makefile index f390a2b5aa1f..e3911ac2ea58 100644 --- a/multimedia/onevpl/Makefile +++ b/multimedia/onevpl/Makefile @@ -1,44 +1,46 @@ PORTNAME= oneVPL DISTVERSIONPREFIX= v DISTVERSION= 2021.6.0 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org COMMENT= oneAPI Video Processing Library dispatcher, tools, and examples LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= only Intel GPUs on x86 are supported LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libva.so:multimedia/libva USES= cmake:testing compiler:c++17-lang localbase:ldflags pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= oneapi-src CMAKE_TESTING_ON= BUILD_TESTS OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT=PYTHON OPTIONS_SUB= yes PYTHON_USES= python PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11 PYTHON_CMAKE_BOOL= BUILD_PYTHON_BINDING post-patch: + @${REINPLACE_CMD} -e 's/python/&${PYTHON_VER}/' \ + ${WRKSRC}/preview/python/binding/CMakeLists.txt @${REINPLACE_CMD} -e '/pkgconfig/s,FULL_LIBDIR},PREFIX}/libdata,' \ ${WRKSRC}/dispatcher/CMakeLists.txt @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \ ${WRKSRC}/dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp @${REINPLACE_CMD} -e '/PKG_CONFIG/s,_lib,_prefix/libdata,' \ ${WRKSRC}/modulefiles/vpl post-install: @${FIND} ${STAGEDIR} -name \*.orig -delete .include diff --git a/multimedia/onevpl/pkg-plist b/multimedia/onevpl/pkg-plist index 5e90b23839fa..6acf53c668ee 100644 --- a/multimedia/onevpl/pkg-plist +++ b/multimedia/onevpl/pkg-plist @@ -1,142 +1,142 @@ bin/decvpp_tool bin/sample_decode bin/sample_encode bin/sample_multi_transcode bin/sample_vpp bin/vpl-inspect include/vpl/mfx.h include/vpl/mfxadapter.h include/vpl/mfxbrc.h include/vpl/mfxcommon.h include/vpl/mfxdefs.h include/vpl/mfxdispatcher.h include/vpl/mfxdispatcherprefixedfunctions.h include/vpl/mfximplcaps.h include/vpl/mfxjpeg.h include/vpl/mfxmvc.h include/vpl/mfxpcp.h include/vpl/mfxsession.h include/vpl/mfxstructures.h include/vpl/mfxsurfacepool.h include/vpl/mfxvideo++.h include/vpl/mfxvideo.h include/vpl/mfxvp8.h include/vpl/preview/README.txt include/vpl/preview/bitstream.hpp include/vpl/preview/defs.hpp include/vpl/preview/detail/frame_interface.hpp include/vpl/preview/detail/sdk_callable.hpp include/vpl/preview/detail/string_helpers.hpp include/vpl/preview/detail/variant.hpp include/vpl/preview/exception.hpp include/vpl/preview/extension_buffer.hpp include/vpl/preview/extension_buffer_list.hpp include/vpl/preview/frame_pool.hpp include/vpl/preview/frame_surface.hpp include/vpl/preview/future.hpp include/vpl/preview/impl_caps.hpp include/vpl/preview/impl_selector.hpp include/vpl/preview/options.hpp include/vpl/preview/payload.hpp include/vpl/preview/property_name.hpp include/vpl/preview/session.hpp include/vpl/preview/source_reader.hpp include/vpl/preview/stat.hpp include/vpl/preview/surface_pool.hpp include/vpl/preview/video_param.hpp include/vpl/preview/vpl.hpp lib/cmake/vpl/VPLConfig.cmake lib/cmake/vpl/VPLConfigVersion.cmake lib/libvpl.so lib/libvpl.so.2 lib/libvpl.so.2.5 lib/oneVPL/libvpl_wayland.so -%%PYTHON%%lib/python/pyvpl%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON%%%%PYTHON_LIBDIR%%/pyvpl%%PYTHON_EXT_SUFFIX%%.so libdata/pkgconfig/vpl.pc %%DATADIR%%/env/vars.sh %%DATADIR%%/examples/content/cars_128x96.h265 %%DATADIR%%/examples/content/cars_128x96.i420 %%DATADIR%%/examples/content/cars_128x96.mjpeg %%DATADIR%%/examples/content/cars_128x96.nv12 %%DATADIR%%/examples/coreAPI/legacy-decode/CMakeLists.txt %%DATADIR%%/examples/coreAPI/legacy-decode/License.txt %%DATADIR%%/examples/coreAPI/legacy-decode/README.md %%DATADIR%%/examples/coreAPI/legacy-decode/sample.json %%DATADIR%%/examples/coreAPI/legacy-decode/src/legacy-decode.cpp %%DATADIR%%/examples/coreAPI/legacy-decode/src/util.h %%DATADIR%%/examples/coreAPI/legacy-encode/CMakeLists.txt %%DATADIR%%/examples/coreAPI/legacy-encode/License.txt %%DATADIR%%/examples/coreAPI/legacy-encode/PreLoad.cmake %%DATADIR%%/examples/coreAPI/legacy-encode/README.md %%DATADIR%%/examples/coreAPI/legacy-encode/sample.json %%DATADIR%%/examples/coreAPI/legacy-encode/src/legacy-encode.cpp %%DATADIR%%/examples/coreAPI/legacy-encode/src/util.h %%DATADIR%%/examples/coreAPI/legacy-vpp/CMakeLists.txt %%DATADIR%%/examples/coreAPI/legacy-vpp/License.txt %%DATADIR%%/examples/coreAPI/legacy-vpp/README.md %%DATADIR%%/examples/coreAPI/legacy-vpp/sample.json %%DATADIR%%/examples/coreAPI/legacy-vpp/src/legacy-vpp.cpp %%DATADIR%%/examples/coreAPI/legacy-vpp/src/util.h %%DATADIR%%/examples/hello/hello-createsession/CMakeLists.txt %%DATADIR%%/examples/hello/hello-createsession/License.txt %%DATADIR%%/examples/hello/hello-createsession/PreLoad.cmake %%DATADIR%%/examples/hello/hello-createsession/README.md %%DATADIR%%/examples/hello/hello-createsession/sample.json %%DATADIR%%/examples/hello/hello-createsession/src/hello-createsession.cpp %%DATADIR%%/examples/hello/hello-createsession/src/util.h %%DATADIR%%/examples/hello/hello-decvpp/CMakeLists.txt %%DATADIR%%/examples/hello/hello-decvpp/License.txt %%DATADIR%%/examples/hello/hello-decvpp/PreLoad.cmake %%DATADIR%%/examples/hello/hello-decvpp/README.md %%DATADIR%%/examples/hello/hello-decvpp/sample.json %%DATADIR%%/examples/hello/hello-decvpp/src/hello-decvpp.cpp %%DATADIR%%/examples/hello/hello-decvpp/src/util.h %%DATADIR%%/examples/hello/hello-transcode/CMakeLists.txt %%DATADIR%%/examples/hello/hello-transcode/License.txt %%DATADIR%%/examples/hello/hello-transcode/README.md %%DATADIR%%/examples/hello/hello-transcode/sample.json %%DATADIR%%/examples/hello/hello-transcode/src/hello-transcode.cpp %%DATADIR%%/examples/hello/hello-transcode/src/util.h %%DATADIR%%/examples/interop/advanced-decvpp-infer/CMakeLists.txt %%DATADIR%%/examples/interop/advanced-decvpp-infer/CPPLINT.cfg %%DATADIR%%/examples/interop/advanced-decvpp-infer/License.txt %%DATADIR%%/examples/interop/advanced-decvpp-infer/PreLoad.cmake %%DATADIR%%/examples/interop/advanced-decvpp-infer/README.md %%DATADIR%%/examples/interop/advanced-decvpp-infer/sample.json %%DATADIR%%/examples/interop/advanced-decvpp-infer/src/advanced-decvpp-infer.cpp %%DATADIR%%/examples/interop/advanced-decvpp-infer/src/util.h %%DATADIR%%/examples/interop/hello-decode-infer/CMakeLists.txt %%DATADIR%%/examples/interop/hello-decode-infer/CPPLINT.cfg %%DATADIR%%/examples/interop/hello-decode-infer/License.txt %%DATADIR%%/examples/interop/hello-decode-infer/PreLoad.cmake %%DATADIR%%/examples/interop/hello-decode-infer/README.md %%DATADIR%%/examples/interop/hello-decode-infer/sample.json %%DATADIR%%/examples/interop/hello-decode-infer/src/hello-decode-infer.cpp %%DATADIR%%/examples/interop/hello-decode-infer/src/util.h %%DATADIR%%/examples/interop/legacy-decode-infer/CMakeLists.txt %%DATADIR%%/examples/interop/legacy-decode-infer/CPPLINT.cfg %%DATADIR%%/examples/interop/legacy-decode-infer/License.txt %%DATADIR%%/examples/interop/legacy-decode-infer/README.md %%DATADIR%%/examples/interop/legacy-decode-infer/sample.json %%DATADIR%%/examples/interop/legacy-decode-infer/src/legacy-decode-infer.cpp %%DATADIR%%/examples/interop/legacy-decode-infer/src/util.h %%DATADIR%%/examples/preview/cplusplus/hello-decode-cpp/CMakeLists.txt %%DATADIR%%/examples/preview/cplusplus/hello-decode-cpp/License.txt %%DATADIR%%/examples/preview/cplusplus/hello-decode-cpp/README.md %%DATADIR%%/examples/preview/cplusplus/hello-decode-cpp/src/hello-decode.cpp %%DATADIR%%/examples/preview/cplusplus/hello-decode-cpp/src/util.hpp %%DATADIR%%/examples/preview/cplusplus/hello-encode-cpp/CMakeLists.txt %%DATADIR%%/examples/preview/cplusplus/hello-encode-cpp/License.txt %%DATADIR%%/examples/preview/cplusplus/hello-encode-cpp/README.md %%DATADIR%%/examples/preview/cplusplus/hello-encode-cpp/src/hello-encode.cpp %%DATADIR%%/examples/preview/cplusplus/hello-encode-cpp/src/util.hpp %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-decode-py/License.txt %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-decode-py/README.md %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-decode-py/hello-decode.py %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-encode-py/License.txt %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-encode-py/README.md %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-encode-py/hello-encode.py %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-vpp-py/License.txt %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-vpp-py/README.md %%PYTHON%%%%DATADIR%%/examples/preview/python/hello-vpp-py/hello-vpp.py %%DATADIR%%/modulefiles/vpl