Files
poky/meta/recipes-graphics/kmscube/kmscube_git.bb
Purushottam Choudhary 7b10822d32 kmscube: Upgrade to latest revision
Upgrade to the latest kmscube revision.

Changelog:
b2f97f5 common: fix cast type in init_egl()
4961a04 gst-decoder.c: switch to decodebin3
d12ba65 kmscube: warn of missing mode argument in offscreen renders

(From OE-Core rev: 42ddd6d531dd4925a3fcd9515674e3aab3ee211c)

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00

34 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 = "b2f97f53e01e07a920761e5d3e3ba22898b794a4"
SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https \
file://0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch \
"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
BASEPV = "0.0.1"
PV = "${BASEPV}+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)}"