summaryrefslogtreecommitdiffstats
path: root/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
blob: a361a4dd2f476f957240262e7c1c976009787af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (C) 2014, 2016 Freescale Semiconductor
# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \
to test the several hardware accelerated graphics APIs including packages not \
provided by Freescale."
SUMMARY = "FSL Community Package group - tools/gpu/external"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

SOC_TOOLS_GPU_X11 = ""
SOC_TOOLS_GPU_X11:imxgpu2d = " mesa-demos glmark2 gtkperf"

SOC_TOOLS_GPU_FB = ""

SOC_TOOLS_GPU_WAYLAND = ""

SOC_TOOLS_GPU_XWAYLAND = ""
SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf"

RDEPENDS:${PN} = " \
    ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \
       bb.utils.contains("DISTRO_FEATURES",     "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \
       bb.utils.contains("DISTRO_FEATURES",         "x11", "${SOC_TOOLS_GPU_X11}", \
                                                           "${SOC_TOOLS_GPU_FB}", d), d), d)} \
"