From: Tom Hochstein Date: Wed, 26 Jan 2022 23:39:29 +0000 (-0600) Subject: imx-g2d-samples: New recipe for G2D sample apps X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e55e641ab78ef33043f17942dd582652bb695034;p=meta-freescale.git imx-g2d-samples: New recipe for G2D sample apps The G2D sample apps are now available as source. Note that the package is currently limited to GPU-based G2D and is not compatible with DPU-based G2D. A future release will add DPU support. Signed-off-by: Tom Hochstein --- diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_1.0.0.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_1.0.0.bb new file mode 100644 index 00000000..b3f1051a --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_1.0.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "i.MX G2D Samples" +DESCRIPTION = "Set of sample applications for i.MX G2D" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" + +# This package is currently only for GPU-based G2D. Support for DPU-based G2d is coming. +DEPENDS = "imx-gpu-g2d" + +GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxpmicro/g2d-samples.git;protocol=https" +SRCBRANCH ?= "imx_1.0" +SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" +SRCREV = "daf64d010666ef2458566573c074e238993f228c" + +S = "${WORKDIR}/git" + +do_configure[noexec] = "1" + +do_install() { + oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix} +} + +FILES:${PN} += "/opt"