From: "Yew, Chang Ching" <[email protected]>

Installation path of sample_decode, sample_encode and
sample_multi_transcode at default PATH /usr/bin may
cause confusion to user that they are MediaSDK
applications instead of oneVPL.

Therefore they are now installed at /usr/share/oneVPL/samples/

Signed-off-by: Yew, Chang Ching <[email protected]>
---
 recipes-multimedia/onevpl/onevpl_2021.5.0.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-multimedia/onevpl/onevpl_2021.5.0.bb 
b/recipes-multimedia/onevpl/onevpl_2021.5.0.bb
index 26b3d89c..bb7ec49d 100644
--- a/recipes-multimedia/onevpl/onevpl_2021.5.0.bb
+++ b/recipes-multimedia/onevpl/onevpl_2021.5.0.bb
@@ -18,6 +18,11 @@ S = "${WORKDIR}/git"
 inherit cmake
 DEPENDS += "libva"
 
+do_install:append() {
+        mkdir -p ${D}${datadir}/oneVPL/samples
+        mv ${D}${bindir}/sample_* ${D}${datadir}/oneVPL/samples
+}
+
 COMPATIBLE_HOST = '(x86_64).*-linux'
 
 PACKAGES += "${PN}-examples"
-- 
2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7186): 
https://lists.yoctoproject.org/g/meta-intel/message/7186
Mute This Topic: https://lists.yoctoproject.org/mt/84834815/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to