<div dir="ltr"><div>Don't version the .inc please, this will break automated version updates.</div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Feb 2020 at 15:08, Böszörményi Zoltán via Openembedded-core <<a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Böszörményi Zoltán <<a href="mailto:zboszor@pr.hu" target="_blank">zboszor@pr.hu</a>><br>
---<br>
meta/recipes-graphics/libva/libva-2.6.1.inc | 30 ++++++++++++++++++++<br>
meta/recipes-graphics/libva/<a href="http://libva_2.6.1.bb" rel="noreferrer" target="_blank">libva_2.6.1.bb</a> | 31 ++-------------------<br>
2 files changed, 32 insertions(+), 29 deletions(-)<br>
create mode 100644 meta/recipes-graphics/libva/libva-2.6.1.inc<br>
<br>
diff --git a/meta/recipes-graphics/libva/libva-2.6.1.inc b/meta/recipes-graphics/libva/libva-2.6.1.inc<br>
new file mode 100644<br>
index 0000000000..ca1386d80b<br>
--- /dev/null<br>
+++ b/meta/recipes-graphics/libva/libva-2.6.1.inc<br>
@@ -0,0 +1,30 @@<br>
+SUMMARY = "Video Acceleration (VA) API for Linux"<br>
+DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \<br>
+and API specification which enables and provides access to graphics \<br>
+hardware (GPU) acceleration for video processing on Linux and UNIX \<br>
+based operating systems. Accelerated processing includes video \<br>
+decoding, video encoding, subpicture blending and rendering. The \<br>
+specification was originally designed by Intel for its GMA (Graphics \<br>
+Media Accelerator) series of GPU hardware, the API is however not \<br>
+limited to GPUs or Intel specific hardware, as other hardware and \<br>
+manufacturers can also freely use this API for hardware accelerated \<br>
+video decoding."<br>
+<br>
+HOMEPAGE = "<a href="https://01.org/linuxmedia/vaapi" rel="noreferrer" target="_blank">https://01.org/linuxmedia/vaapi</a>"<br>
+BUGTRACKER = "<a href="https://github.com/intel/libva/issues" rel="noreferrer" target="_blank">https://github.com/intel/libva/issues</a>"<br>
+<br>
+SECTION = "x11"<br>
+LICENSE = "MIT"<br>
+LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"<br>
+<br>
+SRC_URI = "<a href="https://github.com/intel/$%7BBPN%7D/releases/download/$%7BPV%7D/$%7BBP%7D.tar.bz2" rel="noreferrer" target="_blank">https://github.com/intel/${BPN}/releases/download/${PV}/${BP}.tar.bz2</a>"<br>
+SRC_URI[md5sum] = "aef13eb48e01a47d1416d97462a22a11"<br>
+SRC_URI[sha256sum] = "6c57eb642d828af2411aa38f55dc10111e8c98976dbab8fd62e48629401eaea5"<br>
+<br>
+UPSTREAM_CHECK_URI = "<a href="https://github.com/intel/libva/releases" rel="noreferrer" target="_blank">https://github.com/intel/libva/releases</a>"<br>
+<br>
+DEPENDS = "libdrm"<br>
+<br>
+inherit meson pkgconfig features_check<br>
+<br>
+REQUIRED_DISTRO_FEATURES = "opengl"<br>
diff --git a/meta/recipes-graphics/libva/<a href="http://libva_2.6.1.bb" rel="noreferrer" target="_blank">libva_2.6.1.bb</a> b/meta/recipes-graphics/libva/<a href="http://libva_2.6.1.bb" rel="noreferrer" target="_blank">libva_2.6.1.bb</a><br>
index 92cea83bc1..af4c1c98ab 100644<br>
--- a/meta/recipes-graphics/libva/<a href="http://libva_2.6.1.bb" rel="noreferrer" target="_blank">libva_2.6.1.bb</a><br>
+++ b/meta/recipes-graphics/libva/<a href="http://libva_2.6.1.bb" rel="noreferrer" target="_blank">libva_2.6.1.bb</a><br>
@@ -1,33 +1,6 @@<br>
-SUMMARY = "Video Acceleration (VA) API for Linux"<br>
-DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \<br>
-and API specification which enables and provides access to graphics \<br>
-hardware (GPU) acceleration for video processing on Linux and UNIX \<br>
-based operating systems. Accelerated processing includes video \<br>
-decoding, video encoding, subpicture blending and rendering. The \<br>
-specification was originally designed by Intel for its GMA (Graphics \<br>
-Media Accelerator) series of GPU hardware, the API is however not \<br>
-limited to GPUs or Intel specific hardware, as other hardware and \<br>
-manufacturers can also freely use this API for hardware accelerated \<br>
-video decoding."<br>
+require libva-${PV}.inc<br>
<br>
-HOMEPAGE = "<a href="https://01.org/linuxmedia/vaapi" rel="noreferrer" target="_blank">https://01.org/linuxmedia/vaapi</a>"<br>
-BUGTRACKER = "<a href="https://github.com/intel/libva/issues" rel="noreferrer" target="_blank">https://github.com/intel/libva/issues</a>"<br>
-<br>
-SECTION = "x11"<br>
-LICENSE = "MIT"<br>
-LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"<br>
-<br>
-SRC_URI = "<a href="https://github.com/intel/$%7BBPN%7D/releases/download/$%7BPV%7D/$%7BBP%7D.tar.bz2" rel="noreferrer" target="_blank">https://github.com/intel/${BPN}/releases/download/${PV}/${BP}.tar.bz2</a>"<br>
-SRC_URI[md5sum] = "aef13eb48e01a47d1416d97462a22a11"<br>
-SRC_URI[sha256sum] = "6c57eb642d828af2411aa38f55dc10111e8c98976dbab8fd62e48629401eaea5"<br>
-<br>
-UPSTREAM_CHECK_URI = "<a href="https://github.com/intel/libva/releases" rel="noreferrer" target="_blank">https://github.com/intel/libva/releases</a>"<br>
-<br>
-DEPENDS = "libdrm virtual/mesa"<br>
-<br>
-inherit meson pkgconfig features_check<br>
-<br>
-REQUIRED_DISTRO_FEATURES = "opengl"<br>
+DEPENDS += "virtual/mesa"<br>
<br>
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"<br>
PACKAGECONFIG[x11] = "-Dwith_x11=yes, -Dwith_x11=no,virtual/libx11 libxext libxfixes"<br>
-- <br>
2.24.1<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>