summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-01-23 17:17:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-26 13:39:37 +0000
commit58232c6df8619e715a2f1d5532b9b535b3dbe343 (patch)
tree3f1df3cd576cc8f4af458b5f7aa0360eaf31845c /meta
parentbf42364186a1ab0dfe1aa313f843b712f1c38abf (diff)
downloadpoky-58232c6df8619e715a2f1d5532b9b535b3dbe343.tar.gz
kmscube: make gstreamer dependency optional
This in particular saves build times for virgl oe-selftest. (From OE-Core rev: 7f1f3b45329ea3f43d0ede003e8daa9866bf9f6e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/kmscube/kmscube_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
index c6cb184215..b2dd6b30b0 100644
--- a/meta/recipes-graphics/kmscube/kmscube_git.bb
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Demo application to showcase 3D graphics using kms and gbm"
2HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/" 2HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4SECTION = "graphics" 4SECTION = "graphics"
5DEPENDS = "virtual/libgles2 virtual/egl libdrm gstreamer1.0 gstreamer1.0-plugins-base" 5DEPENDS = "virtual/libgles2 virtual/egl libdrm"
6 6
7LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb" 7LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
8 8
@@ -16,3 +16,6 @@ S = "${WORKDIR}/git"
16inherit meson pkgconfig distro_features_check 16inherit meson pkgconfig distro_features_check
17 17
18REQUIRED_DISTRO_FEATURES = "opengl" 18REQUIRED_DISTRO_FEATURES = "opengl"
19
20PACKAGECONFIG ??= ""
21PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"