From: Carlos Rafael Giani Date: Tue, 23 Jul 2019 11:49:23 +0000 (+0200) Subject: libimxvpuapi2: Add recipe X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d3ca2d6eb189794c9dbf29d261a3f5c539591241;p=meta-freescale.git libimxvpuapi2: Add recipe This is the successor to libimxvpuapi. Since at this moment, there is software still using the former, its recipe remains in place. Both versions (1 and 2) can coexist on the same rootfs. Version 2 introduces support for i.MX8 (mx8m and mx8mm for now), and also still supports i.MX6. Signed-off-by: Carlos Rafael Giani --- diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_git.bb new file mode 100644 index 00000000..0ebeabb0 --- /dev/null +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_git.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines" +HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" +SECTION = "multimedia" +DEPENDS = "virtual/imxvpu libimxdmabuffer" + +PV = "2.0.0+${SRCPV}" + +SRCBRANCH ?= "master" +SRCREV = "86028967644d2da8e99d4e206ca1d71ff4bcb7f7" +SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit waf pkgconfig use-imx-headers + +IMX_PLATFORM_mx6 = "imx6" +IMX_PLATFORM_mx8mq = "imx8m" +IMX_PLATFORM_mx8mm = "imx8mm" + +EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(imxvpu)"