diff options
Diffstat (limited to 'meta/recipes-graphics/kmscube/kmscube_git.bb')
-rw-r--r-- | meta/recipes-graphics/kmscube/kmscube_git.bb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb index f4e6cd41e7..19bbcd195d 100644 --- a/meta/recipes-graphics/kmscube/kmscube_git.bb +++ b/meta/recipes-graphics/kmscube/kmscube_git.bb | |||
@@ -6,19 +6,28 @@ OpenGL or OpenGL ES." | |||
6 | HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/" | 6 | HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | SECTION = "graphics" | 8 | SECTION = "graphics" |
9 | DEPENDS = "virtual/libgles2 virtual/egl libdrm" | 9 | DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm virtual/libgbm" |
10 | 10 | ||
11 | LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb" | 11 | LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb" |
12 | 12 | ||
13 | SRCREV = "9f63f359fab1b5d8e862508e4e51c9dfe339ccb0" | 13 | SRCREV = "6ab022fdfcfedd28f4b5dbd8d3299414a367746f" |
14 | SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https" | 14 | SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https \ |
15 | file://0001-cube-gears-Change-header-file-to-GLES3-gl3.h.patch \ | ||
16 | " | ||
17 | |||
15 | UPSTREAM_CHECK_COMMITS = "1" | 18 | UPSTREAM_CHECK_COMMITS = "1" |
16 | 19 | ||
17 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
18 | 21 | ||
22 | BASEPV = "0.0.1" | ||
23 | PV = "${BASEPV}+git" | ||
24 | |||
19 | inherit meson pkgconfig features_check | 25 | inherit meson pkgconfig features_check |
20 | 26 | ||
21 | REQUIRED_DISTRO_FEATURES = "opengl" | 27 | REQUIRED_DISTRO_FEATURES = "opengl" |
22 | 28 | ||
23 | PACKAGECONFIG ??= "" | 29 | PACKAGECONFIG ??= "" |
24 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" | 30 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" |
31 | |||
32 | CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" | ||
33 | |||