d06ca39290
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>
27 lines
832 B
Makefile
27 lines
832 B
Makefile
################################################################################
|
|
#
|
|
# kmscube
|
|
#
|
|
################################################################################
|
|
|
|
KMSCUBE_VERSION = ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c
|
|
KMSCUBE_SITE = https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$(KMSCUBE_VERSION)
|
|
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
|
|
# configuration option to pass.
|
|
endif
|
|
|
|
$(eval $(meson-package))
|