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 <chang.ching.yew@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Yew, Chang Ching 2021-08-12 14:43:36 +08:00 committed by Anuj Mittal
parent 0529a5442c
commit d9b5426214

View File

@ -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"