diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-01-23 17:17:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-24 17:45:28 +0000 |
commit | 7f1f3b45329ea3f43d0ede003e8daa9866bf9f6e (patch) | |
tree | 1c1d163f2ecef3c0383c87389dca82efdbbd2369 /meta/recipes-graphics/kmscube/kmscube_git.bb | |
parent | f83d5c7b8a0b2fe293826edf56375382c16996ff (diff) | |
download | openembedded-core-contrib-7f1f3b45329ea3f43d0ede003e8daa9866bf9f6e.tar.gz |
kmscube: make gstreamer dependency optional
This in particular saves build times for virgl oe-selftest.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/kmscube/kmscube_git.bb')
-rw-r--r-- | meta/recipes-graphics/kmscube/kmscube_git.bb | 5 |
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" HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/" LICENSE = "MIT" SECTION = "graphics" -DEPENDS = "virtual/libgles2 virtual/egl libdrm gstreamer1.0 gstreamer1.0-plugins-base" +DEPENDS = "virtual/libgles2 virtual/egl libdrm" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb" @@ -16,3 +16,6 @@ S = "${WORKDIR}/git" inherit meson pkgconfig distro_features_check REQUIRED_DISTRO_FEATURES = "opengl" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" |