blob: eeb22061fb31000ad06ea2f681c904287fc55ae1 [file] [log] [blame]
################################################################################
#
# 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))