]> code.ossystems Code Review - meta-freescale.git/commitdiff
libimxvpuapi2: Add recipe
authorCarlos Rafael Giani <crg7475@mailbox.org>
Tue, 23 Jul 2019 11:49:23 +0000 (13:49 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 6 Aug 2019 14:26:36 +0000 (11:26 -0300)
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 <crg7475@mailbox.org>
recipes-multimedia/libimxvpuapi/libimxvpuapi2_git.bb [new file with mode: 0644]

diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_git.bb
new file mode 100644 (file)
index 0000000..0ebeabb
--- /dev/null
@@ -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)"