From dd356eb9b89edc6978eb14c5e6e56bfb87125e2d Mon Sep 17 00:00:00 2001 From: Lim Siew Hoon Date: Thu, 25 May 2023 15:15:07 +0800 Subject: [PATCH] libva-intel: upgrade 2.17.0 -> 2.18.0 Drop patches already fixed it. - 0001-Add-missing-libva.def.patch Signed-off-by: Lim Siew Hoon Signed-off-by: Anuj Mittal --- .../files/0001-Add-missing-libva.def.patch | 115 ------------------ ...-intel_2.17.0.bb => libva-intel_2.18.0.bb} | 3 +- 2 files changed, 1 insertion(+), 117 deletions(-) delete mode 100644 recipes-graphics/libva/files/0001-Add-missing-libva.def.patch rename recipes-graphics/libva/{libva-intel_2.17.0.bb => libva-intel_2.18.0.bb} (93%) diff --git a/recipes-graphics/libva/files/0001-Add-missing-libva.def.patch b/recipes-graphics/libva/files/0001-Add-missing-libva.def.patch deleted file mode 100644 index a6dafd61..00000000 --- a/recipes-graphics/libva/files/0001-Add-missing-libva.def.patch +++ /dev/null @@ -1,115 +0,0 @@ -From 124cea5f0ecb94320502d9f1923df53df61fa9f1 Mon Sep 17 00:00:00 2001 -From: Lim Siew Hoon -Date: Tue, 7 Feb 2023 10:33:49 +0800 -Subject: [PATCH] Add missing libva.def - -The libva.def is missing from tarball, but from github -it did contains libva.def. Without this libva.def it will -be fail in meson configure the source code, it complain missing -va/libva.def. - -This file is importing from: -https://github.com/intel/libva/blob/2.17.0/va/libva.def - -upstream-status: merged. - -Signed-off-by: Lim Siew Hoon ---- - va/libva.def | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 85 insertions(+) - create mode 100644 va/libva.def - -diff --git a/va/libva.def b/va/libva.def -new file mode 100644 -index 0000000..f57896e ---- /dev/null -+++ b/va/libva.def -@@ -0,0 +1,85 @@ -+LIBRARY va -+EXPORTS -+ vaInitialize -+ vaErrorStr -+ vaTerminate -+ vaQueryVendorString -+ vaMaxNumProfiles -+ vaMaxNumEntrypoints -+ vaQueryConfigProfiles -+ vaQueryConfigEntrypoints -+ vaGetConfigAttributes -+ vaProfileStr -+ vaEntrypointStr -+ vaConfigAttribTypeStr -+ vaAcquireBufferHandle -+ vaAssociateSubpicture -+ vaBeginPicture -+ vaCreateBuffer -+ vaCreateConfig -+ vaCreateContext -+ vaCreateImage -+ vaCreateSubpicture -+ vaCreateSurfaces -+ vaDeassociateSubpicture -+ vaDeriveImage -+ vaDestroyBuffer -+ vaDestroyConfig -+ vaDestroyContext -+ vaDestroyImage -+ vaDestroySubpicture -+ vaDestroySurfaces -+ vaEndPicture -+ vaGetDisplayAttributes -+ vaGetImage -+ vaMapBuffer -+ vaMaxNumDisplayAttributes -+ vaMaxNumImageFormats -+ vaMaxNumSubpictureFormats -+ vaPutImage -+ vaQueryDisplayAttributes -+ vaQueryImageFormats -+ vaQuerySubpictureFormats -+ vaQuerySurfaceAttributes -+ vaQuerySurfaceStatus -+ vaQueryVideoProcFilterCaps -+ vaQueryVideoProcFilters -+ vaQueryVideoProcPipelineCaps -+ vaReleaseBufferHandle -+ vaRenderPicture -+ vaSetDisplayAttributes -+ vaSetErrorCallback -+ vaSetInfoCallback -+ vaSetSubpictureGlobalAlpha -+ vaSyncSurface -+ vaUnmapBuffer -+ vaSetDriverName -+ vaSyncBuffer -+ vaQueryConfigAttributes -+ vaBufferSetNumElements -+ vaQuerySurfaceError -+ vaSetImagePalette -+ vaSetSubpictureChromakey -+ vaBufferInfo -+ vaLockSurface -+ vaUnlockSurface -+ vaCreateMFContext -+ vaMFAddContext -+ vaMFReleaseContext -+ vaMFSubmit -+ vaCreateBuffer2 -+ vaQueryProcessingRate -+ vaExportSurfaceHandle -+ va_newDisplayContext -+ va_newDriverContext -+ vaMaxNumConfigAttributes -+ vaBufferTypeStr -+ vaAttachProtectedSession -+ vaCopy -+ vaCreateProtectedSession -+ vaDestroyProtectedSession -+ vaDetachProtectedSession -+ vaProtectedSessionExecute -+ vaSetSubpictureImage -+ vaStatusStr -+ vaSyncSurface2 --- -2.39.0 - diff --git a/recipes-graphics/libva/libva-intel_2.17.0.bb b/recipes-graphics/libva/libva-intel_2.18.0.bb similarity index 93% rename from recipes-graphics/libva/libva-intel_2.17.0.bb rename to recipes-graphics/libva/libva-intel_2.18.0.bb index 4225b09f..cddf87ab 100644 --- a/recipes-graphics/libva/libva-intel_2.17.0.bb +++ b/recipes-graphics/libva/libva-intel_2.18.0.bb @@ -18,9 +18,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" SRC_URI = "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2 \ - file://0001-Add-missing-libva.def.patch \ " -SRC_URI[sha256sum] = "f3e5eb27c305e05a9bb62703d1915a127301cc0c4f9f209025767432230c4eac" +SRC_URI[sha256sum] = "a3577eeba0c23924686c7e2f2030073736c8282a80f27b5473e33ea94ccd4982" S = "${WORKDIR}/libva-${PV}"