2017-02-15 11:31:42 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kmscube
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-08-09 22:54:32 +02:00
|
|
|
KMSCUBE_VERSION = ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c
|
2020-04-01 19:05:03 +02:00
|
|
|
KMSCUBE_SITE = https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$(KMSCUBE_VERSION)
|
2017-02-15 11:31:42 +01:00
|
|
|
KMSCUBE_LICENSE = MIT
|
2020-11-06 22:44:03 +01:00
|
|
|
KMSCUBE_LICENSE_FILES = COPYING
|
2021-10-07 11:51:46 +02:00
|
|
|
KMSCUBE_DEPENDENCIES = host-pkgconf libdrm libegl libgbm libgles
|
2017-02-15 11:31:42 +01:00
|
|
|
|
2023-08-09 22:54:34 +02:00
|
|
|
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
|
|
|
|
|
2023-08-09 22:54:33 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
|
|
KMSCUBE_DEPENDENCIES += libpng
|
|
|
|
# libpng is automatically detected in meson, there is no build
|
|
|
|
# configuration option to pass.
|
|
|
|
endif
|
|
|
|
|
2020-04-01 19:05:04 +02:00
|
|
|
$(eval $(meson-package))
|