diff --git a/multimedia/intel-media-sdk/Makefile b/multimedia/intel-media-sdk/Makefile index 16f2f98d8cc3..e97846106e07 100644 --- a/multimedia/intel-media-sdk/Makefile +++ b/multimedia/intel-media-sdk/Makefile @@ -1,58 +1,57 @@ PORTNAME= intel-media-sdk DISTVERSIONPREFIX= intel-mediasdk- -DISTVERSION= 21.4.1 -PORTREVISION= 1 +DISTVERSION= 21.4.2 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org COMMENT= Hardware video decoding/encoding/filtering on Intel GPUs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 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: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 WAYLAND X11 OPTIONS_DEFAULT=OPENCL WAYLAND X11 OPTIONS_SUB= yes OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CMAKE_BOOL= ENABLE_OPENCL X11_BUILD_DEPENDS= ${LOCALBASE}/include/xcb/dri3.h:x11/libxcb X11_LIB_DEPENDS= libva-x11.so:multimedia/libva X11_CMAKE_BOOL= ENABLE_X11 ENABLE_X11_DRI3 WAYLAND_LIB_DEPENDS= libdrm_intel.so:graphics/libdrm \ libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND post-patch: # Pick git commit from port and use reproducible time @${REINPLACE_CMD} -e "/COMMAND/s/date/& -r `${AWK} '/TIMESTAMP/ \ { print \$$3 }' ${DISTINFO_FILE}`/" \ -e '/set( *git_commit/s/"[^"]*"/"${DISTVERSIONFULL}"/' \ ${WRKSRC}/builder/FindFunctions.cmake \ ${WRKSRC}/builder/FindGlobals.cmake # Don't assume GCC and glibc libraries are available @${REINPLACE_CMD} -e 's/ -lstdc++ -ldl//' \ ${WRKSRC}/api/mfx_dispatch/linux/pkg-config*.cmake .include diff --git a/multimedia/intel-media-sdk/distinfo b/multimedia/intel-media-sdk/distinfo index 9d740a1e7f90..fda7629a30ee 100644 --- a/multimedia/intel-media-sdk/distinfo +++ b/multimedia/intel-media-sdk/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1635228035 -SHA256 (Intel-Media-SDK-MediaSDK-intel-mediasdk-21.4.1_GH0.tar.gz) = d9358dc784c4146fd21faffbba03c304684978de1ce34d3714bd2c6b50233d14 -SIZE (Intel-Media-SDK-MediaSDK-intel-mediasdk-21.4.1_GH0.tar.gz) = 11653425 +TIMESTAMP = 1636337958 +SHA256 (Intel-Media-SDK-MediaSDK-intel-mediasdk-21.4.2_GH0.tar.gz) = 581036e71bdbbb50b35464a4c40e121f4ce8a938cb7131506c5331cc9e0873b1 +SIZE (Intel-Media-SDK-MediaSDK-intel-mediasdk-21.4.2_GH0.tar.gz) = 11653685