package/kmscube: add optional gstreamer support
kmscube has a gstreamer video texture input since:
961c85f6eb
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
29d8ce9c41
commit
d06ca39290
@ -11,6 +11,20 @@ config BR2_PACKAGE_KMSCUBE
|
||||
|
||||
https://cgit.freedesktop.org/mesa/kmscube/
|
||||
|
||||
if BR2_PACKAGE_KMSCUBE
|
||||
|
||||
config BR2_PACKAGE_KMSCUBE_GSTREAMER
|
||||
bool "Enable gstreamer video support"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
|
||||
endif
|
||||
|
||||
comment "kmscube needs EGL, GBM and OpenGL ES, and a toolchain w/ thread support"
|
||||
depends on \
|
||||
!BR2_PACKAGE_HAS_LIBEGL || \
|
||||
|
@ -10,6 +10,13 @@ KMSCUBE_LICENSE = MIT
|
||||
KMSCUBE_LICENSE_FILES = COPYING
|
||||
KMSCUBE_DEPENDENCIES = host-pkgconf libdrm libegl libgbm libgles
|
||||
|
||||
ifeq ($(BR2_PACKAGE_KMSCUBE_GSTREAMER),y)
|
||||
KMSCUBE_DEPENDENCIES += gst1-plugins-base gstreamer1 libglib2
|
||||
KMSCUBE_CONF_OPTS += -Dgstreamer=enabled
|
||||
else
|
||||
KMSCUBE_CONF_OPTS += -Dgstreamer=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
KMSCUBE_DEPENDENCIES += libpng
|
||||
# libpng is automatically detected in meson, there is no build
|
||||
|
Loading…
Reference in New Issue
Block a user