mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
On some platforms, `EGLNativeDisplayType` is an int instead of a pointer, in which case the void pointer will raise a `-Wint-conversion`. Add change as a patch instead of updating SRCREV . if we update SRCREV might will get compatiblity issue with current gstreamer 1.20.7 version because SRCREV brings changes which resolves negotiation issues encountered with V4L2 stateless hardware video decoders when using kmscube video playback option which has gstreamer dependency requirement to 1.22.0 (From OE-Core rev: 19a899d2ec69572e0eae4576d9fc55a7ba857309) Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
31 lines
1.2 KiB
BlitzBasic
31 lines
1.2 KiB
BlitzBasic
SUMMARY = "Demo application to showcase 3D graphics using kms and gbm"
|
|
DESCRIPTION = "kmscube is a little demonstration program for how to drive bare metal graphics \
|
|
without a compositor like X11, wayland or similar, using DRM/KMS (kernel mode \
|
|
setting), GBM (graphics buffer manager) and EGL for rendering content using \
|
|
OpenGL or OpenGL ES."
|
|
HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/"
|
|
LICENSE = "MIT"
|
|
SECTION = "graphics"
|
|
DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm virtual/libgbm"
|
|
|
|
LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
|
|
|
|
SRCREV = "9f63f359fab1b5d8e862508e4e51c9dfe339ccb0"
|
|
SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https \
|
|
file://0001-texturator-Use-correct-GL-extension-header.patch \
|
|
file://0001-common-fix-cast-type-in-init_egl.patch \
|
|
"
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
|
|
|
|
CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
|
|
|