diff options
Diffstat (limited to 'recipes-graphics')
29 files changed, 252 insertions, 213 deletions
diff --git a/recipes-graphics/devil/devil_1.8.0.bb b/recipes-graphics/devil/devil_1.8.0.bb index dcbdf3ac1..4c37b6298 100644 --- a/recipes-graphics/devil/devil_1.8.0.bb +++ b/recipes-graphics/devil/devil_1.8.0.bb | |||
| @@ -1,10 +1,12 @@ | |||
| 1 | SUMMARY = "Cross-platform image library" | ||
| 1 | DESCRIPTION = "A full featured cross-platform image library" | 2 | DESCRIPTION = "A full featured cross-platform image library" |
| 3 | HOMEPAGE = "https://openil.sourceforge.net/" | ||
| 2 | SECTION = "libs" | 4 | SECTION = "libs" |
| 3 | LICENSE = "LGPL-2.1-only" | 5 | LICENSE = "LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" |
| 5 | PR = "r0" | 7 | PR = "r0" |
| 6 | 8 | ||
| 7 | DEPENDS = "libpng jpeg tiff xz" | 9 | DEPENDS = "jpeg libpng tiff xz" |
| 8 | 10 | ||
| 9 | SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip" | 11 | SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip" |
| 10 | SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895" | 12 | SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895" |
diff --git a/recipes-graphics/drm/libdrm_2.4.127.imx.bb b/recipes-graphics/drm/libdrm_2.4.127.imx.bb index 198db014e..685e3f04a 100644 --- a/recipes-graphics/drm/libdrm_2.4.127.imx.bb +++ b/recipes-graphics/drm/libdrm_2.4.127.imx.bb | |||
| @@ -7,9 +7,9 @@ HOMEPAGE = "http://dri.freedesktop.org" | |||
| 7 | SECTION = "x11/base" | 7 | SECTION = "x11/base" |
| 8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ |
| 10 | file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" | 10 | file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" |
| 11 | PROVIDES = "drm" | ||
| 12 | DEPENDS = "libpthread-stubs" | 11 | DEPENDS = "libpthread-stubs" |
| 12 | PROVIDES = "drm" | ||
| 13 | 13 | ||
| 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" | 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" |
| 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" | 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" |
| @@ -46,10 +46,6 @@ PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ | |||
| 46 | ${PN}-intel ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | 46 | ${PN}-intel ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ |
| 47 | ${PN}-etnaviv" | 47 | ${PN}-etnaviv" |
| 48 | 48 | ||
| 49 | RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | ||
| 50 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | ||
| 51 | ${PN}-etnaviv" | ||
| 52 | |||
| 53 | FILES:${PN}-tests = "${bindir}/*" | 49 | FILES:${PN}-tests = "${bindir}/*" |
| 54 | FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" | 50 | FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" |
| 55 | FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" | 51 | FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" |
| @@ -60,6 +56,10 @@ FILES:${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" | |||
| 60 | FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" | 56 | FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" |
| 61 | FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" | 57 | FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" |
| 62 | 58 | ||
| 59 | RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | ||
| 60 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | ||
| 61 | ${PN}-etnaviv" | ||
| 62 | |||
| 63 | BBCLASSEXTEND = "native nativesdk" | 63 | BBCLASSEXTEND = "native nativesdk" |
| 64 | 64 | ||
| 65 | PACKAGES:prepend:imxgpu = "${PN}-vivante " | 65 | PACKAGES:prepend:imxgpu = "${PN}-vivante " |
diff --git a/recipes-graphics/gli/gli_0.8.4.0.bb b/recipes-graphics/gli/gli_0.8.4.0.bb index 14d6a75ed..f1ab37606 100644 --- a/recipes-graphics/gli/gli_0.8.4.0.bb +++ b/recipes-graphics/gli/gli_0.8.4.0.bb | |||
| @@ -9,7 +9,7 @@ SECTION = "libs" | |||
| 9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
| 10 | LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb" | 10 | LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb" |
| 11 | 11 | ||
| 12 | SRC_URI = " \ | 12 | SRC_URI = "\ |
| 13 | git://github.com/g-truc/gli;protocol=https;branch=master \ | 13 | git://github.com/g-truc/gli;protocol=https;branch=master \ |
| 14 | " | 14 | " |
| 15 | SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91" | 15 | SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91" |
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb index 94a876a94..320ba3017 100644 --- a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb | |||
| @@ -2,12 +2,15 @@ | |||
| 2 | # Copyright 2017-2025 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | SUMMARY = "i.MX DPU G2D library" | ||
| 5 | DESCRIPTION = "G2D library using i.MX DPU" | 6 | DESCRIPTION = "G2D library using i.MX DPU" |
| 7 | HOMEPAGE = "https://www.nxp.com/" | ||
| 8 | SECTION = "graphics" | ||
| 6 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 8 | 11 | ||
| 9 | DEPENDS = "libdrm ${LIBGAL_IMX}" | 12 | DEPENDS = "libdrm ${LIBGAL_IMX}" |
| 10 | LIBGAL_IMX = "" | 13 | LIBGAL_IMX = "" |
| 11 | LIBGAL_IMX:imxviv = "libgal-imx" | 14 | LIBGAL_IMX:imxviv = "libgal-imx" |
| 12 | 15 | ||
| 13 | PROVIDES += "virtual/libg2d" | 16 | PROVIDES += "virtual/libg2d" |
| @@ -33,6 +36,8 @@ do_install () { | |||
| 33 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | 36 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} |
| 34 | } | 37 | } |
| 35 | 38 | ||
| 39 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 40 | |||
| 36 | INSANE_SKIP:append:libc-musl = " file-rdeps" | 41 | INSANE_SKIP:append:libc-musl = " file-rdeps" |
| 37 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | 42 | RDEPENDS:${PN}:append:libc-musl = " gcompat" |
| 38 | 43 | ||
| @@ -42,5 +47,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
| 42 | INHIBIT_PACKAGE_STRIP = "1" | 47 | INHIBIT_PACKAGE_STRIP = "1" |
| 43 | INHIBIT_SYSROOT_STRIP = "1" | 48 | INHIBIT_SYSROOT_STRIP = "1" |
| 44 | 49 | ||
| 45 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 46 | COMPATIBLE_MACHINE = "(imxdpu)" | 50 | COMPATIBLE_MACHINE = "(imxdpu)" |
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb index af92476e1..147b0620c 100644 --- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | SUMMARY = "i.MX G2D Samples" | 1 | SUMMARY = "i.MX G2D Samples" |
| 2 | DESCRIPTION = "Set of sample applications for i.MX G2D" | 2 | DESCRIPTION = "Set of sample applications for i.MX G2D" |
| 3 | HOMEPAGE = "https://github.com/nxp-imx/g2d-samples" | ||
| 4 | SECTION = "graphics" | ||
| 3 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" |
| 5 | 7 | ||
| @@ -15,13 +17,13 @@ SRCREV = "22ca65feb57702832fbaca7f7c9c8d691466e649" | |||
| 15 | inherit pkgconfig | 17 | inherit pkgconfig |
| 16 | 18 | ||
| 17 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" | 19 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" |
| 18 | PACKAGECONFIG_IMPLEMENTATION = "" | 20 | PACKAGECONFIG_IMPLEMENTATION = "" |
| 19 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" | 21 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" |
| 20 | PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95" | 22 | PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95" |
| 21 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" | 23 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" |
| 22 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" | 24 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" |
| 23 | PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" | 25 | PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" |
| 24 | PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp" | 26 | PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp" |
| 25 | 27 | ||
| 26 | PACKAGECONFIG[dpu] = " \ | 28 | PACKAGECONFIG[dpu] = " \ |
| 27 | BUILD_IMPLEMENTATION=dpu, \ | 29 | BUILD_IMPLEMENTATION=dpu, \ |
| @@ -59,7 +61,7 @@ PACKAGECONFIG[pxp] = " \ | |||
| 59 | , \ | 61 | , \ |
| 60 | dpu dpu95 gpu-drm gpu-fbdev" | 62 | dpu dpu95 gpu-drm gpu-fbdev" |
| 61 | 63 | ||
| 62 | EXTRA_OEMAKE += " \ | 64 | EXTRA_OEMAKE += "\ |
| 63 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | 65 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ |
| 64 | ${PACKAGECONFIG_CONFARGS} \ | 66 | ${PACKAGECONFIG_CONFARGS} \ |
| 65 | " | 67 | " |
| @@ -68,8 +70,8 @@ do_install() { | |||
| 68 | oe_runmake install DESTDIR=${D} | 70 | oe_runmake install DESTDIR=${D} |
| 69 | } | 71 | } |
| 70 | 72 | ||
| 71 | FILES:${PN} += "/opt" | ||
| 72 | |||
| 73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 74 | 74 | ||
| 75 | FILES:${PN} += "/opt" | ||
| 76 | |||
| 75 | COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" | 77 | COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" |
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb index 1a359676f..fbb937b18 100644 --- a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb | |||
| @@ -3,7 +3,10 @@ | |||
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | SUMMARY = "i.MX GPU G2D library" | ||
| 6 | DESCRIPTION = "G2D library using i.MX GPU" | 7 | DESCRIPTION = "G2D library using i.MX GPU" |
| 8 | HOMEPAGE = "https://www.nxp.com/" | ||
| 9 | SECTION = "graphics" | ||
| 7 | LICENSE = "Proprietary" | 10 | LICENSE = "Proprietary" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 9 | DEPENDS = "libgal-imx" | 12 | DEPENDS = "libgal-imx" |
| @@ -19,7 +22,7 @@ S = "${UNPACKDIR}/${IMX_BIN_NAME}" | |||
| 19 | 22 | ||
| 20 | inherit fsl-eula-unpack | 23 | inherit fsl-eula-unpack |
| 21 | 24 | ||
| 22 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" | 25 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" |
| 23 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" | 26 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" |
| 24 | 27 | ||
| 25 | do_install () { | 28 | do_install () { |
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb index 2b848e89c..e99e8165a 100644 --- a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb +++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb | |||
| @@ -2,7 +2,10 @@ | |||
| 2 | # Copyright 2017-2026 NXP | 2 | # Copyright 2017-2026 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | SUMMARY = "i.MX PXP G2D library" | ||
| 5 | DESCRIPTION = "G2D library using i.MX PXP" | 6 | DESCRIPTION = "G2D library using i.MX PXP" |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-g2d-pxp" | ||
| 8 | SECTION = "graphics" | ||
| 6 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" |
| 8 | 11 | ||
| @@ -18,7 +21,7 @@ SRCREV = "7dd4ca631b894a29389dadda5bd112cfa576b2d9" | |||
| 18 | inherit use-imx-headers | 21 | inherit use-imx-headers |
| 19 | 22 | ||
| 20 | EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" | 23 | EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" |
| 21 | IMX_PLATFORM:mx93-nxp-bsp = "IMX93" | 24 | IMX_PLATFORM:mx93-nxp-bsp = "IMX93" |
| 22 | IMX_PLATFORM:mx943-nxp-bsp = "IMX943" | 25 | IMX_PLATFORM:mx943-nxp-bsp = "IMX943" |
| 23 | 26 | ||
| 24 | do_install() { | 27 | do_install() { |
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb index 5dea367a9..e846126b0 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 1 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 2 | SUMMARY = "Samples for OpenGL ES" | 2 | SUMMARY = "Samples for OpenGL ES" |
| 3 | DESCRIPTION = "OpenGL ES / EGL API tracing, replay and inspection tools for i.MX GPUs." | ||
| 4 | HOMEPAGE = "https://github.com/nxp-imx/apitrace-imx" | ||
| 5 | SECTION = "graphics" | ||
| 3 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" |
| 5 | DEPENDS = "zlib libpng procps" | 8 | DEPENDS = "libpng procps zlib" |
| 6 | 9 | ||
| 7 | SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \ | 10 | SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \ |
| 8 | file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \ | 11 | file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \ |
| @@ -11,17 +14,17 @@ SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" | |||
| 11 | 14 | ||
| 12 | inherit cmake pkgconfig perlnative python3native | 15 | inherit cmake pkgconfig perlnative python3native |
| 13 | 16 | ||
| 14 | PACKAGECONFIG ??= " \ | 17 | PACKAGECONFIG ??= "\ |
| 15 | egl \ | 18 | egl \ |
| 16 | ${PACKAGECONFIG_BACKEND} \ | 19 | ${PACKAGECONFIG_BACKEND} \ |
| 17 | ${PACKAGECONFIG_GPU2D} \ | 20 | ${PACKAGECONFIG_GPU2D} \ |
| 18 | " | 21 | " |
| 19 | PACKAGECONFIG_BACKEND = " \ | 22 | PACKAGECONFIG_BACKEND = "\ |
| 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ |
| 21 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | 24 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ |
| 22 | '', d), d)} \ | 25 | '', d), d)} \ |
| 23 | " | 26 | " |
| 24 | PACKAGECONFIG_GPU2D = "" | 27 | PACKAGECONFIG_GPU2D = "" |
| 25 | PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" | 28 | PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" |
| 26 | 29 | ||
| 27 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | 30 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" |
| @@ -31,9 +34,11 @@ PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle" | |||
| 31 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" | 34 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" |
| 32 | PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" | 35 | PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" |
| 33 | 36 | ||
| 37 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 38 | |||
| 34 | SOLIBS = ".so" | 39 | SOLIBS = ".so" |
| 35 | FILES_SOLIBSDEV = "" | 40 | FILES_SOLIBSDEV = "" |
| 36 | FILES:${PN} += " \ | 41 | FILES:${PN} += "\ |
| 37 | ${libdir}/apitrace/scripts/* \ | 42 | ${libdir}/apitrace/scripts/* \ |
| 38 | ${libdir}/apitrace/wrappers/* \ | 43 | ${libdir}/apitrace/wrappers/* \ |
| 39 | " | 44 | " |
| @@ -43,7 +48,6 @@ EXTRA_OECMAKE += "\ | |||
| 43 | -DENABLE_STATIC_LIBSTDCXX=OFF \ | 48 | -DENABLE_STATIC_LIBSTDCXX=OFF \ |
| 44 | -DPython3_ROOT_DIR=/usr/bin/python3-native \ | 49 | -DPython3_ROOT_DIR=/usr/bin/python3-native \ |
| 45 | " | 50 | " |
| 46 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 47 | COMPATIBLE_MACHINE = "(imxgpu)" | 51 | COMPATIBLE_MACHINE = "(imxgpu)" |
| 48 | SECURITY_CFLAGS:toolchain-clang = "" | 52 | SECURITY_CFLAGS:toolchain-clang = "" |
| 49 | 53 | ||
diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb index e1510baf3..c51d112c2 100644 --- a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb +++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | SUMMARY = "i.MX GPU SDK Samples" | 1 | SUMMARY = "i.MX GPU SDK Samples" |
| 2 | DESCRIPTION = "Set of sample applications for i.MX GPU" | 2 | DESCRIPTION = "Set of sample applications for i.MX GPU" |
| 3 | HOMEPAGE = "https://github.com/nxp-imx/gtec-demo-framework" | ||
| 4 | SECTION = "graphics" | ||
| 3 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8" | 6 | LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8" |
| 5 | 7 | ||
| @@ -7,8 +9,8 @@ DEPENDS_BACKEND = \ | |||
| 7 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \ | 9 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \ |
| 8 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \ | 10 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \ |
| 9 | '', d), d)}" | 11 | '', d), d)}" |
| 10 | DEPENDS_MX8 = "" | 12 | DEPENDS_MX8 = "" |
| 11 | DEPENDS_MX8:mx8-nxp-bsp = " \ | 13 | DEPENDS_MX8:mx8-nxp-bsp = "\ |
| 12 | glslang-native \ | 14 | glslang-native \ |
| 13 | opencv \ | 15 | opencv \ |
| 14 | rapidopencl \ | 16 | rapidopencl \ |
| @@ -17,10 +19,10 @@ DEPENDS_MX8:mx8-nxp-bsp = " \ | |||
| 17 | vulkan-headers \ | 19 | vulkan-headers \ |
| 18 | vulkan-loader \ | 20 | vulkan-loader \ |
| 19 | " | 21 | " |
| 20 | DEPENDS_MX8:mx8mm-nxp-bsp = " \ | 22 | DEPENDS_MX8:mx8mm-nxp-bsp = "\ |
| 21 | opencv \ | 23 | opencv \ |
| 22 | " | 24 | " |
| 23 | DEPENDS = " \ | 25 | DEPENDS = "\ |
| 24 | assimp \ | 26 | assimp \ |
| 25 | cmake-native \ | 27 | cmake-native \ |
| 26 | devil \ | 28 | devil \ |
| @@ -44,28 +46,27 @@ DEPENDS:append:imxgpu3d = " virtual/libgles2" | |||
| 44 | 46 | ||
| 45 | require imx-gpu-sdk-src.inc | 47 | require imx-gpu-sdk-src.inc |
| 46 | 48 | ||
| 47 | |||
| 48 | WINDOW_SYSTEM = \ | 49 | WINDOW_SYSTEM = \ |
| 49 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \ | 50 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \ |
| 50 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ | 51 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ |
| 51 | 'FB', d), d)}" | 52 | 'FB', d), d)}" |
| 52 | 53 | ||
| 53 | FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost" | 54 | FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost" |
| 54 | FEATURES:append:imxgpu = ",HW_GPU_VIVANTE" | 55 | FEATURES:append:imxgpu = ",HW_GPU_VIVANTE" |
| 55 | FEATURES:append:imxgpu2d = ",G2D" | 56 | FEATURES:append:imxgpu2d = ",G2D" |
| 56 | FEATURES:append:imxgpu3d = ",OpenGLES2" | 57 | FEATURES:append:imxgpu3d = ",OpenGLES2" |
| 57 | FEATURES:append = "${FEATURES_SOC}" | 58 | FEATURES:append = "${FEATURES_SOC}" |
| 58 | 59 | ||
| 59 | FEATURES_SOC = "" | 60 | FEATURES_SOC = "" |
| 60 | FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3" | 61 | FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3" |
| 61 | FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3" | 62 | FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3" |
| 62 | FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2" | 63 | FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2" |
| 63 | FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4" | 64 | FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4" |
| 64 | 65 | ||
| 65 | EXTENSIONS = "*" | 66 | EXTENSIONS = "*" |
| 66 | EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" | 67 | EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" |
| 67 | EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" | 68 | EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" |
| 68 | EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float" | 69 | EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float" |
| 69 | EXTENSIONS:mx8mm-nxp-bsp = "*" | 70 | EXTENSIONS:mx8mm-nxp-bsp = "*" |
| 70 | 71 | ||
| 71 | do_compile () { | 72 | do_compile () { |
| @@ -75,7 +76,7 @@ do_compile () { | |||
| 75 | FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S} | 76 | FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S} |
| 76 | } | 77 | } |
| 77 | 78 | ||
| 78 | REMOVALS = " \ | 79 | REMOVALS = "\ |
| 79 | GLES2/DeBayer \ | 80 | GLES2/DeBayer \ |
| 80 | GLES2/DirectMultiSamplingVideoYUV \ | 81 | GLES2/DirectMultiSamplingVideoYUV \ |
| 81 | GLES3/DirectMultiSamplingVideoYUV \ | 82 | GLES3/DirectMultiSamplingVideoYUV \ |
| @@ -108,7 +109,7 @@ INSANE_SKIP:${PN} += "already-stripped rpaths" | |||
| 108 | 109 | ||
| 109 | # Unfortunately recipes with an empty main package, like header-only libraries, | 110 | # Unfortunately recipes with an empty main package, like header-only libraries, |
| 110 | # are not included in the SDK. Use RDEPENDS as a workaround. | 111 | # are not included in the SDK. Use RDEPENDS as a workaround. |
| 111 | RDEPENDS_EMPTY_MAIN_PACKAGE = " \ | 112 | RDEPENDS_EMPTY_MAIN_PACKAGE = "\ |
| 112 | fmt \ | 113 | fmt \ |
| 113 | gli \ | 114 | gli \ |
| 114 | glm \ | 115 | glm \ |
| @@ -118,8 +119,8 @@ RDEPENDS_EMPTY_MAIN_PACKAGE = " \ | |||
| 118 | rapidjson \ | 119 | rapidjson \ |
| 119 | stb \ | 120 | stb \ |
| 120 | " | 121 | " |
| 121 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = "" | 122 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = "" |
| 122 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \ | 123 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = "\ |
| 123 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \ | 124 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \ |
| 124 | rapidopencl \ | 125 | rapidopencl \ |
| 125 | rapidopenvx \ | 126 | rapidopenvx \ |
| @@ -128,10 +129,10 @@ RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \ | |||
| 128 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = "" | 129 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = "" |
| 129 | # vulkan-loader is dynamically loaded, so need to add an explicit | 130 | # vulkan-loader is dynamically loaded, so need to add an explicit |
| 130 | # dependency | 131 | # dependency |
| 131 | RDEPENDS_VULKAN_LOADER = "" | 132 | RDEPENDS_VULKAN_LOADER = "" |
| 132 | RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-validation-layers vulkan-loader" | 133 | RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-loader vulkan-validation-layers" |
| 133 | RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = "" | 134 | RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = "" |
| 134 | RDEPENDS:${PN} += " \ | 135 | RDEPENDS:${PN} += "\ |
| 135 | ${RDEPENDS_EMPTY_MAIN_PACKAGE} \ | 136 | ${RDEPENDS_EMPTY_MAIN_PACKAGE} \ |
| 136 | ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \ | 137 | ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \ |
| 137 | ${RDEPENDS_VULKAN_LOADER} \ | 138 | ${RDEPENDS_VULKAN_LOADER} \ |
diff --git a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb index a5637869a..56b89c159 100644 --- a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb +++ b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | SUMMARY = "Provides XDG shell header and glue code library" | 1 | SUMMARY = "Provides XDG shell header and glue code library" |
| 2 | DESCRIPTION = "XDG shell protocol header and glue-code library used by the i.MX GPU SDK samples." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-imx/gtec-demo-framework" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8" |
| 4 | 7 | ||
| 5 | DEPENDS = "wayland-native wayland wayland-protocols" | 8 | DEPENDS = "wayland wayland-native wayland-protocols" |
| 6 | 9 | ||
| 7 | require imx-gpu-sdk-src.inc | 10 | require imx-gpu-sdk-src.inc |
| 8 | 11 | ||
| @@ -12,7 +15,7 @@ S = "${UNPACKDIR}/${BP}/ThirdParty/Recipe/xdg-shell" | |||
| 12 | 15 | ||
| 13 | inherit cmake pkgconfig | 16 | inherit cmake pkgconfig |
| 14 | 17 | ||
| 15 | EXTRA_OECMAKE = " \ | 18 | EXTRA_OECMAKE = "\ |
| 16 | -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ | 19 | -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ |
| 17 | -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \ | 20 | -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \ |
| 18 | " | 21 | " |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 38f976c71..ea76e2af8 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -3,18 +3,19 @@ | |||
| 3 | # Copyright 2017-2024 NXP | 3 | # Copyright 2017-2024 NXP |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | SUMMARY = "i.MX Vivante GPU driver" | ||
| 6 | DESCRIPTION = "GPU driver and apps for i.MX" | 7 | DESCRIPTION = "GPU driver and apps for i.MX" |
| 7 | HOMEPAGE = "https://www.nxp.com/" | 8 | HOMEPAGE = "https://www.nxp.com/" |
| 8 | SECTION = "libs" | 9 | SECTION = "libs" |
| 9 | LICENSE = "Proprietary" | 10 | LICENSE = "Proprietary" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" |
| 11 | 12 | ||
| 12 | DEPENDS += " \ | 13 | DEPENDS += "\ |
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
| 14 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \ | 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \ |
| 15 | '', d), d)} \ | 16 | '', d), d)} \ |
| 16 | " | 17 | " |
| 17 | DEPENDS += " \ | 18 | DEPENDS += "\ |
| 18 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ | 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ |
| 19 | '', d)} \ | 20 | '', d)} \ |
| 20 | " | 21 | " |
| @@ -23,14 +24,14 @@ DEPENDS:append:mx8-nxp-bsp = " patchelf-native" | |||
| 23 | 24 | ||
| 24 | DEPENDS:append:libc-musl = " gcompat" | 25 | DEPENDS:append:libc-musl = " gcompat" |
| 25 | 26 | ||
| 26 | PROVIDES += " \ | 27 | PROVIDES += "\ |
| 27 | imx-gpu-viv \ | 28 | imx-gpu-viv \ |
| 28 | libgal-imx \ | 29 | libgal-imx \ |
| 29 | virtual/egl \ | 30 | virtual/egl \ |
| 30 | virtual/libopenvg \ | 31 | virtual/libopenvg \ |
| 31 | ${EXTRA_PROVIDES} \ | 32 | ${EXTRA_PROVIDES} \ |
| 32 | " | 33 | " |
| 33 | EXTRA_PROVIDES = " \ | 34 | EXTRA_PROVIDES = "\ |
| 34 | ${PROVIDES_OPENCL} \ | 35 | ${PROVIDES_OPENCL} \ |
| 35 | ${PROVIDES_OPENVX} \ | 36 | ${PROVIDES_OPENVX} \ |
| 36 | " | 37 | " |
| @@ -43,21 +44,21 @@ EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ | |||
| 43 | virtual/libgbm \ | 44 | virtual/libgbm \ |
| 44 | " | 45 | " |
| 45 | 46 | ||
| 46 | PROVIDES_OPENCL = " \ | 47 | PROVIDES_OPENCL = "\ |
| 47 | opencl-headers \ | 48 | opencl-headers \ |
| 48 | opencl-clhpp \ | 49 | opencl-clhpp \ |
| 49 | opencl-icd-loader \ | 50 | opencl-icd-loader \ |
| 50 | virtual/libopencl1 \ | 51 | virtual/libopencl1 \ |
| 51 | " | 52 | " |
| 52 | PROVIDES_OPENCL:mx7-nxp-bsp = "" | 53 | PROVIDES_OPENCL:mx7-nxp-bsp = "" |
| 53 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" | 54 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" |
| 54 | 55 | ||
| 55 | # Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. | 56 | # Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. |
| 56 | # However, only limited support is provided on other i.MX 8 machines | 57 | # However, only limited support is provided on other i.MX 8 machines |
| 57 | # as needed for i.MX machine learning packages. | 58 | # as needed for i.MX machine learning packages. |
| 58 | PROVIDES_OPENVX = "" | 59 | PROVIDES_OPENVX = "" |
| 59 | PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" | 60 | PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" |
| 60 | PROVIDES_OPENVX:mx8mm-nxp-bsp = "" | 61 | PROVIDES_OPENVX:mx8mm-nxp-bsp = "" |
| 61 | 62 | ||
| 62 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" | 63 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" |
| 63 | 64 | ||
| @@ -76,39 +77,39 @@ PACKAGECONFIG ?= "" | |||
| 76 | PACKAGECONFIG[valgrind] = "" | 77 | PACKAGECONFIG[valgrind] = "" |
| 77 | 78 | ||
| 78 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below | 79 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below |
| 79 | PACKAGES =+ " \ | 80 | PACKAGES =+ "\ |
| 80 | libgles1-imx libgles1-imx-dev \ | 81 | libgles1-imx libgles1-imx-dev \ |
| 81 | libgles2-imx libgles2-imx-dev \ | 82 | libgles2-imx libgles2-imx-dev \ |
| 82 | libgles3-imx-dev \ | 83 | libgles3-imx-dev \ |
| 83 | libglslc-imx libglslc-imx-dev \ | 84 | libglslc-imx libglslc-imx-dev \ |
| 84 | ${PACKAGES_OPENCL} \ | 85 | ${PACKAGES_OPENCL} \ |
| 85 | libopenvg-imx libopenvg-imx-dev \ | 86 | libopenvg-imx libopenvg-imx-dev \ |
| 86 | libvdk-imx libvdk-imx-dev \ | 87 | libvdk-imx libvdk-imx-dev \ |
| 87 | libegl-imx libegl-imx-dev \ | 88 | libegl-imx libegl-imx-dev \ |
| 88 | libgal-imx libgal-imx-dev \ | 89 | libgal-imx libgal-imx-dev \ |
| 89 | libvsc-imx \ | 90 | libvsc-imx \ |
| 90 | ${PACKAGES_GBM} \ | 91 | ${PACKAGES_GBM} \ |
| 91 | imx-gpu-viv-tools \ | 92 | imx-gpu-viv-tools \ |
| 92 | imx-gpu-viv-demos \ | 93 | imx-gpu-viv-demos \ |
| 93 | ${PACKAGES_VULKAN} \ | 94 | ${PACKAGES_VULKAN} \ |
| 94 | ${PACKAGES_OPENVX} \ | 95 | ${PACKAGES_OPENVX} \ |
| 95 | libnn-imx \ | 96 | libnn-imx \ |
| 96 | libspirv-imx \ | 97 | libspirv-imx \ |
| 97 | " | 98 | " |
| 98 | 99 | ||
| 99 | PACKAGES_GBM = "" | 100 | PACKAGES_GBM = "" |
| 100 | PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" | 101 | PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" |
| 101 | 102 | ||
| 102 | PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev" | 103 | PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev" |
| 103 | PACKAGES_OPENCL:mx7-nxp-bsp = "" | 104 | PACKAGES_OPENCL:mx7-nxp-bsp = "" |
| 104 | PACKAGES_OPENCL:mx8mm-nxp-bsp = "" | 105 | PACKAGES_OPENCL:mx8mm-nxp-bsp = "" |
| 105 | 106 | ||
| 106 | PACKAGES_OPENVX = \ | 107 | PACKAGES_OPENVX = \ |
| 107 | "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \ | 108 | "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \ |
| 108 | "libopenvx-imx libopenvx-imx-dev", "", d)}" | 109 | "libopenvx-imx libopenvx-imx-dev", "", d)}" |
| 109 | 110 | ||
| 110 | PACKAGES_VULKAN = "" | 111 | PACKAGES_VULKAN = "" |
| 111 | PACKAGES_VULKAN:imxvulkan = "libvulkan-imx libvulkan-imx-dev" | 112 | PACKAGES_VULKAN:imxvulkan = "libvulkan-imx libvulkan-imx-dev" |
| 112 | PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev" | 113 | PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev" |
| 113 | 114 | ||
| 114 | python __anonymous () { | 115 | python __anonymous () { |
| @@ -166,16 +167,16 @@ IS_MX8:mx8-nxp-bsp = "1" | |||
| 166 | 167 | ||
| 167 | PACKAGE_FP_TYPE = "hardfp" | 168 | PACKAGE_FP_TYPE = "hardfp" |
| 168 | 169 | ||
| 169 | HAS_GBM = "false" | 170 | HAS_GBM = "false" |
| 170 | HAS_GBM:mx8-nxp-bsp = "true" | 171 | HAS_GBM:mx8-nxp-bsp = "true" |
| 171 | 172 | ||
| 172 | IMX_SOC = "IMX_SOC_NOT_SET" | 173 | IMX_SOC = "IMX_SOC_NOT_SET" |
| 173 | IMX_SOC:mx8qm-nxp-bsp = "mx8qm" | 174 | IMX_SOC:mx8qm-nxp-bsp = "mx8qm" |
| 174 | IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp" | 175 | IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp" |
| 175 | IMX_SOC:mx8dx-nxp-bsp = "mx8qxp" | 176 | IMX_SOC:mx8dx-nxp-bsp = "mx8qxp" |
| 176 | IMX_SOC:mx8mp-nxp-bsp = "mx8mp" | 177 | IMX_SOC:mx8mp-nxp-bsp = "mx8mp" |
| 177 | IMX_SOC:mx8mq-nxp-bsp = "mx8mq" | 178 | IMX_SOC:mx8mq-nxp-bsp = "mx8mq" |
| 178 | IMX_SOC:mx8mn-nxp-bsp = "mx8mn" | 179 | IMX_SOC:mx8mn-nxp-bsp = "mx8mn" |
| 179 | IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" | 180 | IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" |
| 180 | 181 | ||
| 181 | do_install () { | 182 | do_install () { |
| @@ -332,8 +333,8 @@ INSANE_SKIP:libgal-imx += "build-deps" | |||
| 332 | 333 | ||
| 333 | FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" | 334 | FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" |
| 334 | 335 | ||
| 335 | FILES:libgbm-imx = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBS} ${libdir}/libgbm_viv${SOLIBS}" | 336 | FILES:libgbm-imx = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBS} ${libdir}/libgbm_viv${SOLIBS}" |
| 336 | FILES:libgbm-imx-dev = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | 337 | FILES:libgbm-imx-dev = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" |
| 337 | RDEPENDS:libgbm-imx:append = " libdrm" | 338 | RDEPENDS:libgbm-imx:append = " libdrm" |
| 338 | INSANE_SKIP:libgbm-imx += "dev-so" | 339 | INSANE_SKIP:libgbm-imx += "dev-so" |
| 339 | 340 | ||
| @@ -343,11 +344,11 @@ FILES:libvulkan-imx = "\ | |||
| 343 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" | 344 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" |
| 344 | RPROVIDES:libvulkan-imx = "virtual-vulkan-icd" | 345 | RPROVIDES:libvulkan-imx = "virtual-vulkan-icd" |
| 345 | 346 | ||
| 346 | FILES:libspirv-imx = " \ | 347 | FILES:libspirv-imx = "\ |
| 347 | ${libdir}/libSPIRV_viv${SOLIBS} \ | 348 | ${libdir}/libSPIRV_viv${SOLIBS} \ |
| 348 | " | 349 | " |
| 349 | 350 | ||
| 350 | FILES:libopenvx-imx = " \ | 351 | FILES:libopenvx-imx = "\ |
| 351 | ${libdir}/libOpenVX${REALSOLIBS} \ | 352 | ${libdir}/libOpenVX${REALSOLIBS} \ |
| 352 | ${libdir}/libOpenVXC${SOLIBS} \ | 353 | ${libdir}/libOpenVXC${SOLIBS} \ |
| 353 | ${libdir}/libOpenVXU${SOLIBS} \ | 354 | ${libdir}/libOpenVXU${SOLIBS} \ |
| @@ -356,7 +357,7 @@ FILES:libopenvx-imx = " \ | |||
| 356 | " | 357 | " |
| 357 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" | 358 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" |
| 358 | RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" | 359 | RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" |
| 359 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" | 360 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" |
| 360 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" | 361 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" |
| 361 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" | 362 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" |
| 362 | INSANE_SKIP:libopenvx-imx += "dev-deps" | 363 | INSANE_SKIP:libopenvx-imx += "dev-deps" |
| @@ -387,8 +388,8 @@ FILES:libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \ | |||
| 387 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" | 388 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" |
| 388 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | 389 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" |
| 389 | RDEPENDS:libopencl-imx = "libclc-imx" | 390 | RDEPENDS:libopencl-imx = "libclc-imx" |
| 390 | RPROVIDES:libopencl-imx = "virtual-opencl-icd" | 391 | RPROVIDES:libopencl-imx = "virtual-opencl-icd" |
| 391 | RPROVIDES:libopencl-imx:mx7-nxp-bsp = "" | 392 | RPROVIDES:libopencl-imx:mx7-nxp-bsp = "" |
| 392 | RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = "" | 393 | RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = "" |
| 393 | 394 | ||
| 394 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" | 395 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" |
diff --git a/recipes-graphics/mali/mali-imx.inc b/recipes-graphics/mali/mali-imx.inc index 97a1175e7..f3ef8f474 100644 --- a/recipes-graphics/mali/mali-imx.inc +++ b/recipes-graphics/mali/mali-imx.inc | |||
| @@ -1,11 +1,13 @@ | |||
| 1 | SUMMARY = "Graphics libraries and driver for i.MX Mali GPU" | 1 | SUMMARY = "Graphics libraries and driver for i.MX Mali GPU" |
| 2 | DESCRIPTION = "Arm Mali GPU user-space graphics libraries and driver for i.MX SoCs." | ||
| 3 | HOMEPAGE = "https://www.nxp.com/" | ||
| 2 | SECTION = "libs" | 4 | SECTION = "libs" |
| 3 | DEPENDS = " \ | 5 | DEPENDS = "\ |
| 4 | libdrm \ | 6 | libdrm \ |
| 5 | vulkan-loader \ | 7 | vulkan-loader \ |
| 6 | wayland \ | 8 | wayland \ |
| 7 | wayland-protocols" | 9 | wayland-protocols" |
| 8 | PROVIDES = " \ | 10 | PROVIDES = "\ |
| 9 | virtual/egl \ | 11 | virtual/egl \ |
| 10 | virtual/libgbm \ | 12 | virtual/libgbm \ |
| 11 | virtual/libgles1 \ | 13 | virtual/libgles1 \ |
| @@ -18,7 +20,7 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
| 18 | INHIBIT_PACKAGE_STRIP = "1" | 20 | INHIBIT_PACKAGE_STRIP = "1" |
| 19 | INHIBIT_SYSROOT_STRIP = "1" | 21 | INHIBIT_SYSROOT_STRIP = "1" |
| 20 | 22 | ||
| 21 | PACKAGES =+ " \ | 23 | PACKAGES =+ "\ |
| 22 | ${PN}-libegl ${PN}-libegl-dev \ | 24 | ${PN}-libegl ${PN}-libegl-dev \ |
| 23 | ${PN}-libgbm ${PN}-libgbm-dev \ | 25 | ${PN}-libgbm ${PN}-libgbm-dev \ |
| 24 | ${PN}-libgles1 ${PN}-libgles1-dev \ | 26 | ${PN}-libgles1 ${PN}-libgles1-dev \ |
| @@ -28,42 +30,42 @@ PACKAGES =+ " \ | |||
| 28 | ${PN}-opencl-icd ${PN}-opencl-icd-dev" | 30 | ${PN}-opencl-icd ${PN}-opencl-icd-dev" |
| 29 | 31 | ||
| 30 | # Since libmali.so is loaded by dlopen, include it in the main package | 32 | # Since libmali.so is loaded by dlopen, include it in the main package |
| 31 | FILES:${PN} += " \ | 33 | FILES:${PN} += "\ |
| 32 | ${libdir}/libmali.so \ | 34 | ${libdir}/libmali.so \ |
| 33 | ${nonarch_base_libdir}/firmware" | 35 | ${nonarch_base_libdir}/firmware" |
| 34 | FILES_SOLIBSDEV = "" | 36 | FILES_SOLIBSDEV = "" |
| 35 | INSANE_SKIP:${PN} = "dev-so" | 37 | INSANE_SKIP:${PN} = "dev-so" |
| 36 | FILES:${PN}-libegl = " \ | 38 | FILES:${PN}-libegl = "\ |
| 37 | ${libdir}/libEGL${SOLIBS}" | 39 | ${libdir}/libEGL${SOLIBS}" |
| 38 | FILES:${PN}-libgbm = " \ | 40 | FILES:${PN}-libgbm = "\ |
| 39 | ${libdir}/libgbm${SOLIBS}" | 41 | ${libdir}/libgbm${SOLIBS}" |
| 40 | FILES:${PN}-libgles1 = " \ | 42 | FILES:${PN}-libgles1 = "\ |
| 41 | ${libdir}/libGLESv1_CM${SOLIBS}" | 43 | ${libdir}/libGLESv1_CM${SOLIBS}" |
| 42 | FILES:${PN}-libgles2 = " \ | 44 | FILES:${PN}-libgles2 = "\ |
| 43 | ${libdir}/libGLESv2${SOLIBS}" | 45 | ${libdir}/libGLESv2${SOLIBS}" |
| 44 | FILES:${PN}-opencl-icd = " \ | 46 | FILES:${PN}-opencl-icd = "\ |
| 45 | ${sysconfdir}/OpenCL" | 47 | ${sysconfdir}/OpenCL" |
| 46 | RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd" | 48 | RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd" |
| 47 | FILES:${PN}-libvulkan = " \ | 49 | FILES:${PN}-libvulkan = "\ |
| 48 | ${sysconfdir}/vulkan" | 50 | ${sysconfdir}/vulkan" |
| 49 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" | 51 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" |
| 50 | RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd" | 52 | RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd" |
| 51 | 53 | ||
| 52 | FILES:${PN}-dev = " \ | 54 | FILES:${PN}-dev = "\ |
| 53 | ${bindir}/malisc" | 55 | ${bindir}/malisc" |
| 54 | FILES:${PN}-libegl-dev = " \ | 56 | FILES:${PN}-libegl-dev = "\ |
| 55 | ${includedir}/EGL \ | 57 | ${includedir}/EGL \ |
| 56 | ${includedir}/KHR \ | 58 | ${includedir}/KHR \ |
| 57 | ${libdir}/libEGL${SOLIBSDEV} \ | 59 | ${libdir}/libEGL${SOLIBSDEV} \ |
| 58 | ${libdir}/pkgconfig/egl.pc" | 60 | ${libdir}/pkgconfig/egl.pc" |
| 59 | FILES:${PN}-libgbm-dev = " \ | 61 | FILES:${PN}-libgbm-dev = "\ |
| 60 | ${includedir}/gbm.h \ | 62 | ${includedir}/gbm.h \ |
| 61 | ${libdir}/libgbm${SOLIBSDEV} \ | 63 | ${libdir}/libgbm${SOLIBSDEV} \ |
| 62 | ${libdir}/pkgconfig/gbm.pc" | 64 | ${libdir}/pkgconfig/gbm.pc" |
| 63 | 65 | ||
| 64 | # Consolidate GLES dev packages | 66 | # Consolidate GLES dev packages |
| 65 | PACKAGES =+ "${PN}-libgles-dev" | 67 | PACKAGES =+ "${PN}-libgles-dev" |
| 66 | FILES:${PN}-libgles-dev = " \ | 68 | FILES:${PN}-libgles-dev = "\ |
| 67 | ${includedir}/GLES* \ | 69 | ${includedir}/GLES* \ |
| 68 | ${libdir}/libGLES*${SOLIBSDEV} \ | 70 | ${libdir}/libGLES*${SOLIBSDEV} \ |
| 69 | ${libdir}/pkgconfig/gles*.pc" | 71 | ${libdir}/pkgconfig/gles*.pc" |
| @@ -78,7 +80,7 @@ RDEPENDS:${PN}-libgles1-dev = "${PN}-libgles-dev" | |||
| 78 | RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev" | 80 | RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev" |
| 79 | RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev" | 81 | RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev" |
| 80 | 82 | ||
| 81 | FILES:${PN}-opencl-icd-dev = " \ | 83 | FILES:${PN}-opencl-icd-dev = "\ |
| 82 | ${bindir}/mali_clcc" | 84 | ${bindir}/mali_clcc" |
| 83 | 85 | ||
| 84 | python __anonymous() { | 86 | python __anonymous() { |
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index 7d3e7ca1c..fe2f5dd7f 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -9,18 +9,18 @@ SRC_URI:append:imxgpu = " \ | |||
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" | 10 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" |
| 11 | 11 | ||
| 12 | PACKAGECONFIG:remove = " \ | 12 | PACKAGECONFIG:remove = "\ |
| 13 | ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ | 13 | ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ |
| 14 | ${PACKAGECONFIG_REMOVE_IF_GPU}" | 14 | ${PACKAGECONFIG_REMOVE_IF_GPU}" |
| 15 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" | 15 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" |
| 16 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" | 16 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" |
| 17 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" | 17 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" |
| 18 | PACKAGECONFIG_REMOVE_IF_GPU = "" | 18 | PACKAGECONFIG_REMOVE_IF_GPU = "" |
| 19 | PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11" | 19 | PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11" |
| 20 | 20 | ||
| 21 | PACKAGECONFIG:append = " \ | 21 | PACKAGECONFIG:append = " \ |
| 22 | ${PACKAGECONFIG_APPEND_IF_GPU}" | 22 | ${PACKAGECONFIG_APPEND_IF_GPU}" |
| 23 | PACKAGECONFIG_APPEND_IF_GPU = "" | 23 | PACKAGECONFIG_APPEND_IF_GPU = "" |
| 24 | PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu" | 24 | PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG[glu] = ",,libglu" | 26 | PACKAGECONFIG[glu] = ",,libglu" |
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb index 2a5bc1568..9df4d4f40 100644 --- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb +++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | SUMMARY = "Mesa environment variables for etnaviv on xserver" | 1 | SUMMARY = "Mesa environment variables for etnaviv on xserver" |
| 2 | DESCRIPTION = "Environment variable configuration to enable the etnaviv Mesa driver on the X server." | ||
| 2 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" | 3 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" |
| 4 | SECTION = "graphics" | ||
| 3 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 5 | 7 | ||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | |||
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | file://mesa-etnaviv.conf \ | 9 | file://mesa-etnaviv.conf \ |
| 10 | file://mesa-etnaviv.sh \ | 10 | file://mesa-etnaviv.sh \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 13 | S = "${UNPACKDIR}" | 15 | S = "${UNPACKDIR}" |
| 14 | 16 | ||
| 15 | do_configure[noexec] = "1" | 17 | do_configure[noexec] = "1" |
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend index 0a4a3a4a4..57120b65d 100644 --- a/recipes-graphics/piglit/piglit_%.bbappend +++ b/recipes-graphics/piglit/piglit_%.bbappend | |||
| @@ -4,19 +4,19 @@ SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.pat | |||
| 4 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" | 4 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" |
| 5 | 5 | ||
| 6 | PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}" | 6 | PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}" |
| 7 | PACKAGECONFIG:remove = " ${PACKAGECONFIG_REMOVE}" | 7 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" |
| 8 | 8 | ||
| 9 | PACKAGECONFIG_APPEND ?= " \ | 9 | PACKAGECONFIG_APPEND ?= "\ |
| 10 | gbm \ | 10 | gbm \ |
| 11 | ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" | 11 | ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" |
| 12 | PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl" | 12 | PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl" |
| 13 | PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = "" | 13 | PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = "" |
| 14 | PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = "" | 14 | PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = "" |
| 15 | 15 | ||
| 16 | PACKAGECONFIG_REMOVE ?= "" | 16 | PACKAGECONFIG_REMOVE ?= "" |
| 17 | PACKAGECONFIG_REMOVE:imxgpu = "glx" | 17 | PACKAGECONFIG_REMOVE:imxgpu = "glx" |
| 18 | PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11" | 18 | PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11" |
| 19 | PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11" | 19 | PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11" |
| 20 | 20 | ||
| 21 | PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" | 21 | PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" |
| 22 | 22 | ||
diff --git a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb index d4200d394..d770faeb9 100644 --- a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb +++ b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API" | 1 | SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API" |
| 2 | DESCRIPTION = "Experimental header-only C++11 RAII wrapper classes that manage OpenCL API object lifetimes automatically." | ||
| 3 | HOMEPAGE = "https://github.com/Unarmed1000/RapidOpenCL" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" |
| 4 | 7 | ||
diff --git a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb index 049fca0fd..7db3a0cc4 100644 --- a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb +++ b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API" | 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API" |
| 2 | DESCRIPTION = "Header-only C++11 RAII wrapper classes that manage OpenVX API object lifetimes automatically." | ||
| 3 | HOMEPAGE = "https://github.com/Unarmed1000/RapidOpenVX" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" |
| 4 | 7 | ||
diff --git a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb index c37cf7411..5616b264b 100644 --- a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb +++ b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API" | 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API" |
| 2 | DESCRIPTION = "Header-only C++11 RAII wrapper classes that manage Vulkan API object lifetimes automatically." | ||
| 3 | HOMEPAGE = "https://github.com/Unarmed1000/RapidVulkan" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" |
| 4 | 7 | ||
| @@ -7,7 +10,6 @@ DEPENDS = "vulkan-loader" | |||
| 7 | SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master" | 10 | SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master" |
| 8 | SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7" | 11 | SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7" |
| 9 | 12 | ||
| 10 | |||
| 11 | REQUIRED_DISTRO_FEATURES = "vulkan" | 13 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 12 | 14 | ||
| 13 | inherit cmake features_check | 15 | inherit cmake features_check |
diff --git a/recipes-graphics/vulkan/assimp_5.4.3.bb b/recipes-graphics/vulkan/assimp_5.4.3.bb index ff4fb7719..c7d19c3f6 100644 --- a/recipes-graphics/vulkan/assimp_5.4.3.bb +++ b/recipes-graphics/vulkan/assimp_5.4.3.bb | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | SUMMARY = "Portable library to import 3D model formats" | ||
| 1 | DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ | 2 | DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ |
| 2 | various well-known 3D model formats in a uniform manner." | 3 | various well-known 3D model formats in a uniform manner." |
| 3 | HOMEPAGE = "http://www.assimp.org/" | 4 | HOMEPAGE = "http://www.assimp.org/" |
diff --git a/recipes-graphics/vulkan/vulkan-loader_%.bbappend b/recipes-graphics/vulkan/vulkan-loader_%.bbappend index ce120937a..1e506c01b 100644 --- a/recipes-graphics/vulkan/vulkan-loader_%.bbappend +++ b/recipes-graphics/vulkan/vulkan-loader_%.bbappend | |||
| @@ -9,6 +9,6 @@ SRC_URI:append:imx-nxp-bsp = " \ | |||
| 9 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" | 9 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" |
| 10 | 10 | ||
| 11 | # libvulkan.so is loaded dynamically, so put it in the main package | 11 | # libvulkan.so is loaded dynamically, so put it in the main package |
| 12 | SOLIBS:imx-nxp-bsp = ".so*" | 12 | SOLIBS:imx-nxp-bsp = ".so*" |
| 13 | FILES_SOLIBSDEV:imx-nxp-bsp = "" | 13 | FILES_SOLIBSDEV:imx-nxp-bsp = "" |
| 14 | INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so" | 14 | INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so" |
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb index 0118975a5..0bbebf5c2 100644 --- a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb +++ b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Vulkan WSI layer" | ||
| 1 | DESCRIPTION = "Vulkan Window System Integration Layer" | 2 | DESCRIPTION = "Vulkan Window System Integration Layer" |
| 3 | HOMEPAGE = "https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00" |
| 4 | DEPENDS = "libdrm vulkan-loader" | 7 | DEPENDS = "libdrm vulkan-loader" |
| @@ -29,7 +32,7 @@ PACKAGECONFIG[wayland] = " \ | |||
| 29 | wayland wayland-native wayland-protocols,,, \ | 32 | wayland wayland-native wayland-protocols,,, \ |
| 30 | headless" | 33 | headless" |
| 31 | 34 | ||
| 32 | EXTRA_OECMAKE = " \ | 35 | EXTRA_OECMAKE = "\ |
| 33 | -DBUILD_WSI_DISPLAY=0 \ | 36 | -DBUILD_WSI_DISPLAY=0 \ |
| 34 | -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \ | 37 | -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \ |
| 35 | -DCMAKE_BUILD_TYPE=Release \ | 38 | -DCMAKE_BUILD_TYPE=Release \ |
diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend index fd375271f..1456655ee 100644 --- a/recipes-graphics/waffle/waffle_%.bbappend +++ b/recipes-graphics/waffle/waffle_%.bbappend | |||
| @@ -5,12 +5,12 @@ SRC_URI:append:imxgpu = " \ | |||
| 5 | file://0002-meson-Separate-surfaceless-option-from-x11.patch \ | 5 | file://0002-meson-Separate-surfaceless-option-from-x11.patch \ |
| 6 | " | 6 | " |
| 7 | 7 | ||
| 8 | PACKAGECONFIG_IMXGPU_X11 = "" | 8 | PACKAGECONFIG_IMXGPU_X11 = "" |
| 9 | PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" | 9 | PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" |
| 10 | PACKAGECONFIG_IMXGPU_GBM = "gbm" | 10 | PACKAGECONFIG_IMXGPU_GBM = "gbm" |
| 11 | PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = "" | 11 | PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = "" |
| 12 | PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = "" | 12 | PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = "" |
| 13 | PACKAGECONFIG:imxgpu = " \ | 13 | PACKAGECONFIG:imxgpu = "\ |
| 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
| 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ | 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ |
| 16 | '', d), d)} \ | 16 | '', d), d)} \ |
diff --git a/recipes-graphics/wayland/wayland-protocols_%.bbappend b/recipes-graphics/wayland/wayland-protocols_%.bbappend index 762b47a31..041cb491a 100644 --- a/recipes-graphics/wayland/wayland-protocols_%.bbappend +++ b/recipes-graphics/wayland/wayland-protocols_%.bbappend | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" |
| 2 | 2 | ||
| 3 | NXP_PATCHES = " \ | 3 | NXP_PATCHES = "\ |
| 4 | file://0001-unstable-Add-alpha-compositing-protocol.patch \ | 4 | file://0001-unstable-Add-alpha-compositing-protocol.patch \ |
| 5 | file://0002-unstable-Add-hdr10-metadata-protocol.patch \ | 5 | file://0002-unstable-Add-hdr10-metadata-protocol.patch \ |
| 6 | file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \ | 6 | file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \ |
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 1b08b1955..c8c0470fe 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | # OpenGL is not required for parts with GPU support for 2D but not 3D | 3 | # OpenGL is not required for parts with GPU support for 2D but not 3D |
| 4 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" | 4 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" |
| 5 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl" | 5 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl" |
| 6 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" | 6 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" |
| 7 | REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" | 7 | REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" |
| 8 | 8 | ||
| 9 | SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" | 9 | SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" |
| 10 | 10 | ||
| 11 | PACKAGECONFIG ??= " \ | 11 | PACKAGECONFIG ??= "\ |
| 12 | no-idle-timeout \ | 12 | no-idle-timeout \ |
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \ | 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \ |
| 14 | ${PACKAGECONFIG_GBM_FORMAT} \ | 14 | ${PACKAGECONFIG_GBM_FORMAT} \ |
| @@ -20,34 +20,34 @@ PACKAGECONFIG ??= " \ | |||
| 20 | # Mainline BSPs dont support xwayland | 20 | # Mainline BSPs dont support xwayland |
| 21 | PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" | 21 | PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" |
| 22 | 22 | ||
| 23 | PACKAGECONFIG_GBM_FORMAT ?= "" | 23 | PACKAGECONFIG_GBM_FORMAT ?= "" |
| 24 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" | 24 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" |
| 25 | PACKAGECONFIG_GBM_FORMAT:mx93-nxp-bsp ?= "gbm-format" | 25 | PACKAGECONFIG_GBM_FORMAT:mx93-nxp-bsp ?= "gbm-format" |
| 26 | 26 | ||
| 27 | GBM_FORMAT_VALUE:mx8mq-nxp-bsp = "argb8888" | 27 | GBM_FORMAT_VALUE:mx8mq-nxp-bsp = "argb8888" |
| 28 | GBM_FORMAT_VALUE:mx93-nxp-bsp = "argb8888" | 28 | GBM_FORMAT_VALUE:mx93-nxp-bsp = "argb8888" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG_REPAINT_WINDOW ?= "" | 30 | PACKAGECONFIG_REPAINT_WINDOW ?= "" |
| 31 | PACKAGECONFIG_REPAINT_WINDOW:mx8-nxp-bsp ?= "repaint-window" | 31 | PACKAGECONFIG_REPAINT_WINDOW:mx8-nxp-bsp ?= "repaint-window" |
| 32 | PACKAGECONFIG_REPAINT_WINDOW:mx9-nxp-bsp ?= "repaint-window" | 32 | PACKAGECONFIG_REPAINT_WINDOW:mx9-nxp-bsp ?= "repaint-window" |
| 33 | 33 | ||
| 34 | PACKAGECONFIG_SIZE ?= "" | 34 | PACKAGECONFIG_SIZE ?= "" |
| 35 | PACKAGECONFIG_SIZE:mx8mq-nxp-bsp ?= "size" | 35 | PACKAGECONFIG_SIZE:mx8mq-nxp-bsp ?= "size" |
| 36 | 36 | ||
| 37 | SIZE_VALUE:mx8mq-nxp-bsp = "1920x1080" | 37 | SIZE_VALUE:mx8mq-nxp-bsp = "1920x1080" |
| 38 | 38 | ||
| 39 | HAS_G2D = "false" | 39 | HAS_G2D = "false" |
| 40 | HAS_G2D:imxgpu2d = "true" | 40 | HAS_G2D:imxgpu2d = "true" |
| 41 | 41 | ||
| 42 | PACKAGECONFIG_USE_G2D ?= "" | 42 | PACKAGECONFIG_USE_G2D ?= "" |
| 43 | PACKAGECONFIG_USE_G2D:imxgpu2d ?= "use-g2d" | 43 | PACKAGECONFIG_USE_G2D:imxgpu2d ?= "use-g2d" |
| 44 | PACKAGECONFIG_USE_G2D:mx8qm-nxp-bsp ?= "" | 44 | PACKAGECONFIG_USE_G2D:mx8qm-nxp-bsp ?= "" |
| 45 | PACKAGECONFIG_USE_G2D:mx8qxp-nxp-bsp ?= "" | 45 | PACKAGECONFIG_USE_G2D:mx8qxp-nxp-bsp ?= "" |
| 46 | PACKAGECONFIG_USE_G2D:mx8dx-nxp-bsp ?= "" | 46 | PACKAGECONFIG_USE_G2D:mx8dx-nxp-bsp ?= "" |
| 47 | PACKAGECONFIG_USE_G2D:mx93-nxp-bsp ?= "use-g2d" | 47 | PACKAGECONFIG_USE_G2D:mx93-nxp-bsp ?= "use-g2d" |
| 48 | PACKAGECONFIG_USE_G2D:mx943-nxp-bsp ?= "use-g2d" | 48 | PACKAGECONFIG_USE_G2D:mx943-nxp-bsp ?= "use-g2d" |
| 49 | 49 | ||
| 50 | USE_G2D_VALUE = "true" | 50 | USE_G2D_VALUE = "true" |
| 51 | USE_G2D_VALUE:mx6-nxp-bsp = "1" | 51 | USE_G2D_VALUE:mx6-nxp-bsp = "1" |
| 52 | USE_G2D_VALUE:mx7-nxp-bsp = "1" | 52 | USE_G2D_VALUE:mx7-nxp-bsp = "1" |
| 53 | 53 | ||
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index 991650fb9..2e1c136ff 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
| @@ -31,8 +31,8 @@ inherit meson pkgconfig useradd | |||
| 31 | # | 31 | # |
| 32 | require ${THISDIR}/required-distro-features.inc | 32 | require ${THISDIR}/required-distro-features.inc |
| 33 | 33 | ||
| 34 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 34 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libinput libxkbcommon pango pixman \ |
| 35 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | 35 | virtual/egl wayland wayland-native wayland-protocols" |
| 36 | 36 | ||
| 37 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 37 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
| 38 | 38 | ||
| @@ -103,29 +103,29 @@ PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" | |||
| 103 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" | 103 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" |
| 104 | 104 | ||
| 105 | do_install:append() { | 105 | do_install:append() { |
| 106 | # Weston doesn't need the .la files to load modules, so wipe them | 106 | # Weston doesn't need the .la files to load modules, so wipe them |
| 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la | 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la |
| 108 | 108 | ||
| 109 | # If X11, ship a desktop file to launch it | 109 | # If X11, ship a desktop file to launch it |
| 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
| 111 | install -d ${D}${datadir}/applications | 111 | install -d ${D}${datadir}/applications |
| 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications | 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
| 113 | 113 | ||
| 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
| 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
| 116 | fi | 116 | fi |
| 117 | 117 | ||
| 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
| 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
| 120 | fi | 120 | fi |
| 121 | 121 | ||
| 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
| 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
| 124 | fi | 124 | fi |
| 125 | 125 | ||
| 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |
| 127 | chmod u+s ${D}${bindir}/weston-launch | 127 | chmod u+s ${D}${bindir}/weston-launch |
| 128 | fi | 128 | fi |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ |
| @@ -156,7 +156,7 @@ GROUPADD_PARAM:${PN} = "--system weston-launch" | |||
| 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" | 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" |
| 157 | 157 | ||
| 158 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" | 158 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 159 | LIC_FILES_CHKSUM:append = "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | 159 | LIC_FILES_CHKSUM:append = " file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 160 | 160 | ||
| 161 | DEFAULT_PREFERENCE = "-1" | 161 | DEFAULT_PREFERENCE = "-1" |
| 162 | 162 | ||
| @@ -169,12 +169,12 @@ SRCBRANCH = "weston-imx-10.0.5" | |||
| 169 | SRCREV = "5223a3c86177709d25f86a96622c0829da955a0e" | 169 | SRCREV = "5223a3c86177709d25f86a96622c0829da955a0e" |
| 170 | 170 | ||
| 171 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 171 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
| 172 | REQUIRED_DISTRO_FEATURES = "opengl" | 172 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 173 | REQUIRED_DISTRO_FEATURES:imxgpu2d = "" | 173 | REQUIRED_DISTRO_FEATURES:imxgpu2d = "" |
| 174 | REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl" | 174 | REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl" |
| 175 | PACKAGECONFIG_OPENGL = "opengl" | 175 | PACKAGECONFIG_OPENGL = "opengl" |
| 176 | PACKAGECONFIG_OPENGL:imxgpu2d = "" | 176 | PACKAGECONFIG_OPENGL:imxgpu2d = "" |
| 177 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" | 177 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" |
| 178 | 178 | ||
| 179 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 179 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
| 180 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 180 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
| @@ -182,7 +182,7 @@ PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_ | |||
| 182 | 182 | ||
| 183 | PACKAGECONFIG:remove:imxfbdev = "kms" | 183 | PACKAGECONFIG:remove:imxfbdev = "kms" |
| 184 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" | 184 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" |
| 185 | PACKAGECONFIG:append:imxgpu = " imxgpu" | 185 | PACKAGECONFIG:append:imxgpu = " imxgpu" |
| 186 | PACKAGECONFIG:append:imxgpu2d = " imxg2d" | 186 | PACKAGECONFIG:append:imxgpu2d = " imxg2d" |
| 187 | 187 | ||
| 188 | SIMPLECLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" | 188 | SIMPLECLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" |
diff --git a/recipes-graphics/wayland/weston_14.0.2.imx.bb b/recipes-graphics/wayland/weston_14.0.2.imx.bb index 2c0b13d41..025c65d7a 100644 --- a/recipes-graphics/wayland/weston_14.0.2.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.2.imx.bb | |||
| @@ -32,8 +32,8 @@ inherit meson pkgconfig useradd | |||
| 32 | # | 32 | # |
| 33 | require ${THISDIR}/required-distro-features.inc | 33 | require ${THISDIR}/required-distro-features.inc |
| 34 | 34 | ||
| 35 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 35 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libdisplay-info libinput libxkbcommon \ |
| 36 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" | 36 | pango pixman virtual/egl wayland wayland-native wayland-protocols" |
| 37 | 37 | ||
| 38 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 38 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
| 39 | 39 | ||
| @@ -103,29 +103,29 @@ PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipe | |||
| 103 | PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam" | 103 | PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam" |
| 104 | 104 | ||
| 105 | do_install:append() { | 105 | do_install:append() { |
| 106 | # Weston doesn't need the .la files to load modules, so wipe them | 106 | # Weston doesn't need the .la files to load modules, so wipe them |
| 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la | 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la |
| 108 | 108 | ||
| 109 | # If X11, ship a desktop file to launch it | 109 | # If X11, ship a desktop file to launch it |
| 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
| 111 | install -d ${D}${datadir}/applications | 111 | install -d ${D}${datadir}/applications |
| 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications | 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
| 113 | 113 | ||
| 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
| 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
| 116 | fi | 116 | fi |
| 117 | 117 | ||
| 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
| 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
| 120 | fi | 120 | fi |
| 121 | 121 | ||
| 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
| 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
| 124 | fi | 124 | fi |
| 125 | 125 | ||
| 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |
| 127 | chmod u+s ${D}${bindir}/weston-launch | 127 | chmod u+s ${D}${bindir}/weston-launch |
| 128 | fi | 128 | fi |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ |
| @@ -155,7 +155,7 @@ GROUPADD_PARAM:${PN} = "--system weston-launch" | |||
| 155 | 155 | ||
| 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" | 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" |
| 157 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" | 157 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 158 | LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | 158 | LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 159 | 159 | ||
| 160 | DEFAULT_PREFERENCE = "-1" | 160 | DEFAULT_PREFERENCE = "-1" |
| 161 | 161 | ||
| @@ -169,12 +169,12 @@ PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | |||
| 169 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 169 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
| 170 | 170 | ||
| 171 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D} ${PACKAGECONFIG_PIPEWIRE}" | 171 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D} ${PACKAGECONFIG_PIPEWIRE}" |
| 172 | PACKAGECONFIG_G2D ??= "" | 172 | PACKAGECONFIG_G2D ??= "" |
| 173 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 173 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
| 174 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 174 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
| 175 | PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" | 175 | PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" |
| 176 | 176 | ||
| 177 | PACKAGECONFIG_PIPEWIRE ??= "" | 177 | PACKAGECONFIG_PIPEWIRE ??= "" |
| 178 | PACKAGECONFIG_PIPEWIRE:mx8-nxp-bsp ??= "pipewire" | 178 | PACKAGECONFIG_PIPEWIRE:mx8-nxp-bsp ??= "pipewire" |
| 179 | PACKAGECONFIG_PIPEWIRE:mx9-nxp-bsp ??= "pipewire" | 179 | PACKAGECONFIG_PIPEWIRE:mx9-nxp-bsp ??= "pipewire" |
| 180 | 180 | ||
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend index 3fe677b34..4029ee84b 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Append path for freescale layer to include bsp xorg.conf | 1 | # Append path for freescale layer to include bsp xorg.conf |
| 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index 161df0498..7b14cc454 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | |||
| @@ -2,8 +2,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | |||
| 2 | 2 | ||
| 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" | 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" |
| 4 | 4 | ||
| 5 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" | 5 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" |
| 6 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" | 6 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" |
| 7 | OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 7 | OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
| 8 | OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 8 | OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
| 9 | OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx" | 9 | OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx" |
diff --git a/recipes-graphics/xwayland/xwayland_%.bbappend b/recipes-graphics/xwayland/xwayland_%.bbappend index d8f5bdde5..fc0d10e74 100644 --- a/recipes-graphics/xwayland/xwayland_%.bbappend +++ b/recipes-graphics/xwayland/xwayland_%.bbappend | |||
| @@ -5,7 +5,7 @@ SRC_URI:append:imxgpu = " \ | |||
| 5 | " | 5 | " |
| 6 | 6 | ||
| 7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" | 7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" |
| 8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" | 8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" |
| 9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" | 9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" |
| 10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" | 10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" |
| 11 | 11 | ||
