Getting a strange error when building for x32:

| checking for pkg-config... /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/intel-vaapi-driver/2.0.0-r0/recipe-sysroot-native/usr/bin/pkg-config | configure: WARNING: using cross tools not prefixed with host triplet | checking pkg-config is at least version 0.9.0... yes | checking for libdrm >= 2.4.52... yes | checking for intel-gen4asm >= 1.9... no | checking for intel-gen4asm... no | checking for git... /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/hosttools/git | checking for libva >= 1.0.0... no | configure: error: Package requirements (libva >= 1.0.0) were not met: | | Requested 'libva >= 1.0.0' but version of libva is 0.40.0 | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables LIBVA_DEPS_CFLAGS | and LIBVA_DEPS_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. Initially I was thinking that a host libva was getting picked up, but libva 0.40 doesn't appear to exist. Thanks, Cal

On 02/06/2018 12:38 AM, Anuj Mittal wrote:
Major changes:

* Bump version to 2.0.0
* Add support for Coffee Lake (aka. CFL)
   - Decoding: H.264/MPEG-2/VC-1/JPEG/VP8/HEVC/HEVC 10-bit/VP9/VP9 10-bit
   - Encoding: H.264/MPEG-2/JPEG/VP8/VP9/HEVC/HEVC 10-bit/AVC low power 
CQP/CBR/VBR mode
   - VPP: CSC/scaling/NoiseReduction/Deinterlacing{Bob, MotionAdaptive, 
MotionCompensated}/ColorBalance/STD
* Add support for H264 FEI
* Add support for HEVC ROI encoding
* Add support for intensity compensation for VC-1 decoding
* Improve the quality of the H264 encoder on BDW/BSW
* Improve the CSC performance between I420/NV12/P010/YUY2/VYUY format
* Improve the performace of va{Get, Put}Image for I420/NV12/P010/YUY2/VYUY 
format
* Fix image corruption for VP9 decoding
* Fix race condition in wayland support
* Fix ROI support in VDEnc support
* Fix corrupted stream when using VDEnc CBR/VBR
* Fix GCC 7.1.1 warnings/errors
* Update the shader for HEVC encoding

The upstream package name now is intel-vaapi-driver instead of 
libva-intel-driver.

Updated to point to release tarball instead of git. Also, changed
the URLs to point to new project page.

Signed-off-by: Anuj Mittal <[email protected]>
---
  conf/include/maintainers.inc                             |  2 +-
  ...intel-driver_1.8.3.bb => intel-vaapi-driver_2.0.0.bb} | 16 +++++++---------
  recipes-multimedia/libva/va-intel.bb                     |  4 ++--
  3 files changed, 10 insertions(+), 12 deletions(-)
  rename recipes-multimedia/libva/{libva-intel-driver_1.8.3.bb => 
intel-vaapi-driver_2.0.0.bb} (62%)

diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc
index 64896c3..0ab61ab 100644
--- a/conf/include/maintainers.inc
+++ b/conf/include/maintainers.inc
@@ -8,7 +8,7 @@ RECIPE_MAINTAINER_pn-intel-gpu-tools = "Anuj Mittal 
<[email protected]>"
  RECIPE_MAINTAINER_pn-intel-microcode = "California Sullivan 
<[email protected]>"
  RECIPE_MAINTAINER_pn-core-image-minimal-initramfs = "California Sullivan 
<[email protected]>"
  RECIPE_MAINTAINER_pn-iucode-tool = "California Sullivan 
<[email protected]>"
-RECIPE_MAINTAINER_pn-libva-intel-driver = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER_pn-intel-vaapi-driver = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libyami = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libyami-utils = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-linux-intel = "California Sullivan 
<[email protected]>"
diff --git a/recipes-multimedia/libva/libva-intel-driver_1.8.3.bb 
b/recipes-multimedia/libva/intel-vaapi-driver_2.0.0.bb
similarity index 62%
rename from recipes-multimedia/libva/libva-intel-driver_1.8.3.bb
rename to recipes-multimedia/libva/intel-vaapi-driver_2.0.0.bb
index 72451c0..e651107 100644
--- a/recipes-multimedia/libva/libva-intel-driver_1.8.3.bb
+++ b/recipes-multimedia/libva/intel-vaapi-driver_2.0.0.bb
@@ -1,10 +1,10 @@
  SUMMARY = "VA driver for Intel G45 & HD Graphics family"
-DESCRIPTION = "libva-driver-intel is the VA-API implementation \
+DESCRIPTION = "intel-vaapi-driver is the VA-API implementation \
  for Intel G45 chipsets and Intel HD Graphics for Intel Core \
  processor family."
-HOMEPAGE = "http://www.freedesktop.org/wiki/Software/vaapi";
-BUGTRACKER = "https://bugs.freedesktop.org";
+HOMEPAGE = "https://github.com/intel/intel-vaapi-driver";
+BUGTRACKER = "https://github.com/intel/intel-vaapi-driver/issues";
LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
@@ -13,11 +13,11 @@ COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
DEPENDS = "libva libdrm" -SRC_URI = "git://github.com/01org/intel-vaapi-driver.git;branch=v1.8-branch"
-# 1.8.3 release tag
-SRCREV = "f1d9ceddc0e84ed8d44dd59017b0e19b75dd5dcd"
+SRC_URI = 
"https://github.com/intel/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.bz2";
+SRC_URI[md5sum] = "1288657b572b563b24ca27c60a10a032"
+SRC_URI[sha256sum] = 
"10f6b0a91f34715d8d4d9a9e0fb3cc0afe5fcf85355db1272bd5fff31522f469"
-S = "${WORKDIR}/git"
+UPSTREAM_CHECK_URI = "https://github.com/intel/intel-vaapi-driver/releases";
inherit autotools pkgconfig distro_features_check @@ -31,5 +31,3 @@ PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland wayland-nat
  FILES_${PN} += "${libdir}/dri/*.so"
  FILES_${PN}-dev += "${libdir}/dri/*.la"
  FILES_${PN}-dbg += "${libdir}/dri/.debug"
-
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
diff --git a/recipes-multimedia/libva/va-intel.bb 
b/recipes-multimedia/libva/va-intel.bb
index 88539e2..33b81a3 100644
--- a/recipes-multimedia/libva/va-intel.bb
+++ b/recipes-multimedia/libva/va-intel.bb
@@ -7,9 +7,9 @@ S = "${WORKDIR}"
  PR = "r1"
def map_valibs(d):
-    # The intel implementation requires the libva-intel-driver package
+    # The intel implementation requires the intel-vaapi-driver package
      if bb.utils.contains('MACHINE_FEATURES', 'va-impl-intel', "1", "0", d) == 
"1":
-       return "libva libva-intel-driver"
+       return "libva intel-vaapi-driver"
      # All meta-intel video acceleration requires libva
      return "libva"

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to