<div dir="ltr"><div>Don&#39;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 &lt;<a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a>&gt; 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 &lt;<a href="mailto:zboszor@pr.hu" target="_blank">zboszor@pr.hu</a>&gt;<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 = &quot;Video Acceleration (VA) API for Linux&quot;<br>
+DESCRIPTION = &quot;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.&quot;<br>
+<br>
+HOMEPAGE = &quot;<a href="https://01.org/linuxmedia/vaapi" rel="noreferrer" target="_blank">https://01.org/linuxmedia/vaapi</a>&quot;<br>
+BUGTRACKER = &quot;<a href="https://github.com/intel/libva/issues" rel="noreferrer" target="_blank">https://github.com/intel/libva/issues</a>&quot;<br>
+<br>
+SECTION = &quot;x11&quot;<br>
+LICENSE = &quot;MIT&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://COPYING;md5=2e48940f94acb0af582e5ef03537800f&quot;<br>
+<br>
+SRC_URI = &quot;<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>&quot;<br>
+SRC_URI[md5sum] = &quot;aef13eb48e01a47d1416d97462a22a11&quot;<br>
+SRC_URI[sha256sum] = &quot;6c57eb642d828af2411aa38f55dc10111e8c98976dbab8fd62e48629401eaea5&quot;<br>
+<br>
+UPSTREAM_CHECK_URI = &quot;<a href="https://github.com/intel/libva/releases" rel="noreferrer" target="_blank">https://github.com/intel/libva/releases</a>&quot;<br>
+<br>
+DEPENDS = &quot;libdrm&quot;<br>
+<br>
+inherit meson pkgconfig features_check<br>
+<br>
+REQUIRED_DISTRO_FEATURES = &quot;opengl&quot;<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 = &quot;Video Acceleration (VA) API for Linux&quot;<br>
-DESCRIPTION = &quot;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.&quot;<br>
+require libva-${PV}.inc<br>
<br>
-HOMEPAGE = &quot;<a href="https://01.org/linuxmedia/vaapi" rel="noreferrer" target="_blank">https://01.org/linuxmedia/vaapi</a>&quot;<br>
-BUGTRACKER = &quot;<a href="https://github.com/intel/libva/issues" rel="noreferrer" target="_blank">https://github.com/intel/libva/issues</a>&quot;<br>
-<br>
-SECTION = &quot;x11&quot;<br>
-LICENSE = &quot;MIT&quot;<br>
-LIC_FILES_CHKSUM = &quot;file://COPYING;md5=2e48940f94acb0af582e5ef03537800f&quot;<br>
-<br>
-SRC_URI = &quot;<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>&quot;<br>
-SRC_URI[md5sum] = &quot;aef13eb48e01a47d1416d97462a22a11&quot;<br>
-SRC_URI[sha256sum] = &quot;6c57eb642d828af2411aa38f55dc10111e8c98976dbab8fd62e48629401eaea5&quot;<br>
-<br>
-UPSTREAM_CHECK_URI = &quot;<a href="https://github.com/intel/libva/releases" rel="noreferrer" target="_blank">https://github.com/intel/libva/releases</a>&quot;<br>
-<br>
-DEPENDS = &quot;libdrm virtual/mesa&quot;<br>
-<br>
-inherit meson pkgconfig features_check<br>
-<br>
-REQUIRED_DISTRO_FEATURES = &quot;opengl&quot;<br>
+DEPENDS += &quot;virtual/mesa&quot;<br>
<br>
 PACKAGECONFIG ??= &quot;${@bb.utils.filter(&#39;DISTRO_FEATURES&#39;, &#39;wayland x11&#39;, d)}&quot;<br>
 PACKAGECONFIG[x11] = &quot;-Dwith_x11=yes, -Dwith_x11=no,virtual/libx11 libxext libxfixes&quot;<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>