summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc
blob: 28e28d4e7baea7a268ec78a10d220573343cd385 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
require include/gles-control.inc
require core-image-renesas-mmp-base.inc

# Wayland basic packages
WAYLAND_BASE_PKGS = " \
    weston-bin \
    alsa-utils \
    alsa-tools \
    libdrm-tests \
    libdrm-kms \
"

# GFX for Wayland packages
WAYLAND_GLES_PKGS = "libgbm-dev"

# GFX driver and library packages
GLES_PKGS = " \
    kernel-module-gles \
    gles-user-module \
"

# Gstreamer Packages
GSTREAMER_PKGS = "packagegroup-gstreamer1.0-plugins"

# 32bit packages for wayland env
WAYLAND_32BIT_PKGS = " \
    lib32-weston \
    lib32-libdrm \
    lib32-libdrm-kms \
    ${@base_conditional("USE_GLES", "1", "lib32-gles-user-module", "", d)} \
"

# Install packages for Wayland Env
# default: Basic packages, Gstreamer packages
# optional: GFX packages
IMAGE_INSTALL_append = " \
    ${WAYLAND_BASE_PKGS} \
    ${GSTREAMER_PKGS} \
    ${@base_conditional("USE_GLES", "1", "${GLES_PKGS}", "", d)} \
    ${@base_conditional("USE_GLES_WAYLAND", "1", "${WAYLAND_GLES_PKGS}", "", d)} \
    ${@base_conditional("USE_32BIT_WAYLAND", "1", "${WAYLAND_32BIT_PKGS}", "", d)} \
"