config BR2_PACKAGE_KODI_SCREENSAVER_CPBLOBS
bool "kodi-screensaver-cpblobs"
- depends on BR2_PACKAGE_HAS_LIBGL # libsoil
- select BR2_PACKAGE_LIBSOIL
+ select BR2_PACKAGE_GLM
help
CpBlobs screensaver for Kodi
https://github.com/xbmc/screensaver.cpblobs
-
-comment "kodi-screensaver-cpblobs needs OpenGL"
- depends on !BR2_PACKAGE_HAS_LIBGL
# Locally computed
-sha256 afab934a2c93f73334943775f45f5a1d065e74714528bc700459d110e88e43a4 kodi-screensaver-cpblobs-3.0.5-Leia.tar.gz
-sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
+sha256 eda36572da291d870dacbf3ad596e4ff3daed96350d9585583c279b55cfdc34a kodi-screensaver-cpblobs-3.4.0-Matrix.tar.gz
+sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
#
################################################################################
-KODI_SCREENSAVER_CPBLOBS_VERSION = 3.0.5-Leia
+KODI_SCREENSAVER_CPBLOBS_VERSION = 3.4.0-Matrix
KODI_SCREENSAVER_CPBLOBS_SITE = $(call github,xbmc,screensaver.cpblobs,$(KODI_SCREENSAVER_CPBLOBS_VERSION))
KODI_SCREENSAVER_CPBLOBS_LICENSE = GPL-2.0
-KODI_SCREENSAVER_CPBLOBS_LICENSE_FILES = LICENSE
-KODI_SCREENSAVER_CPBLOBS_DEPENDENCIES = kodi libsoil
+KODI_SCREENSAVER_CPBLOBS_LICENSE_FILES = LICENSE.md
+KODI_SCREENSAVER_CPBLOBS_DEPENDENCIES = glm kodi
+
+KODI_SCREENSAVER_CPBLOBS_CONF_OPTS += \
+ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" \
+ -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)"
$(eval $(cmake-package))