kmscube.mk 832 B

1234567891011121314151617181920212223242526
  1. ################################################################################
  2. #
  3. # kmscube
  4. #
  5. ################################################################################
  6. KMSCUBE_VERSION = ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c
  7. KMSCUBE_SITE = https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$(KMSCUBE_VERSION)
  8. KMSCUBE_LICENSE = MIT
  9. KMSCUBE_LICENSE_FILES = COPYING
  10. KMSCUBE_DEPENDENCIES = host-pkgconf libdrm libegl libgbm libgles
  11. ifeq ($(BR2_PACKAGE_KMSCUBE_GSTREAMER),y)
  12. KMSCUBE_DEPENDENCIES += gst1-plugins-base gstreamer1 libglib2
  13. KMSCUBE_CONF_OPTS += -Dgstreamer=enabled
  14. else
  15. KMSCUBE_CONF_OPTS += -Dgstreamer=disabled
  16. endif
  17. ifeq ($(BR2_PACKAGE_LIBPNG),y)
  18. KMSCUBE_DEPENDENCIES += libpng
  19. # libpng is automatically detected in meson, there is no build
  20. # configuration option to pass.
  21. endif
  22. $(eval $(meson-package))