From d9b542621493423745ba2a5bf51e546ea4f3a382 Mon Sep 17 00:00:00 2001 From: "Yew, Chang Ching" Date: Thu, 12 Aug 2021 14:43:36 +0800 Subject: onevpl: Move sample_* apps install path 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 Signed-off-by: Anuj Mittal --- 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" -- cgit v1.2.3-54-g00ecf