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" DEPENDS = "virtual/libg2d cairo" PV = "2.1+git${SRCPV}" SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxp-imx/g2d-samples.git;protocol=https" SRCBRANCH ?= "imx_2.1" SRCREV = "3efd75a90e3c606c9b7bed6791bcd4085ae69b9b" S = "${WORKDIR}/git" inherit pkgconfig PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" PACKAGECONFIG_IMPLEMENTATION = "" PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" PACKAGECONFIG[dpu] = " \ BUILD_IMPLEMENTATION=dpu, \ , \ imx-dpu-g2d wayland-native wayland-protocols, \ , \ , \ gpu-drm gpu-fbdev" PACKAGECONFIG[gpu-drm] = " \ BUILD_IMPLEMENTATION=gpu-drm, \ , \ imx-gpu-g2d wayland-native wayland-protocols, \ , \ , \ dpu gpu-fbdev" PACKAGECONFIG[gpu-fbdev] = " \ BUILD_IMPLEMENTATION=gpu-fbdev, \ , \ imx-gpu-g2d, \ , \ , \ dpu gpu-drm" EXTRA_OEMAKE += " \ SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ ${PACKAGECONFIG_CONFARGS} \ " do_install() { oe_runmake install DESTDIR=${D} } FILES:${PN} += "/opt" PACKAGE_ARCH = "${MACHINE_SOCARCH}" COMPATIBLE_MACHINE = "(imxgpu2d)"