diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-g2d-samples_git.bb')
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb new file mode 100644 index 000000000..8368aefc3 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "i.MX G2D Samples" | ||
| 2 | DESCRIPTION = "Set of sample applications for i.MX G2D" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" | ||
| 5 | |||
| 6 | DEPENDS = "virtual/libg2d cairo" | ||
| 7 | |||
| 8 | PV = "2.1+git${SRCPV}" | ||
| 9 | |||
| 10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" | ||
| 11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxpmicro/g2d-samples.git;protocol=https" | ||
| 12 | SRCBRANCH ?= "imx_2.1" | ||
| 13 | SRCREV = "3268f291a15b2d8d5f650f627764a52eb0a8fc15" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit pkgconfig | ||
| 18 | |||
| 19 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" | ||
| 20 | |||
| 21 | PACKAGECONFIG[wayland] = "USE_WAYLAND=true,USE_WAYLAND=false,wayland-native wayland-protocols" | ||
| 22 | |||
| 23 | EXTRA_OEMAKE += " \ | ||
| 24 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
| 25 | ${PACKAGECONFIG_CONFARGS} \ | ||
| 26 | " | ||
| 27 | |||
| 28 | do_install() { | ||
| 29 | oe_runmake install DESTDIR=${D} | ||
| 30 | } | ||
| 31 | |||
| 32 | FILES:${PN} += "/opt" | ||
| 33 | |||
| 34 | COMPATIBLE_MACHINE = "(imxgpu2d)" | ||
