config BR2_PACKAGE_KODI_SCREENSAVER_ASTERWAVE
bool "kodi-screensaver-asterwave"
- depends on BR2_PACKAGE_HAS_LIBGL # libglu, libsoil
- select BR2_PACKAGE_LIBGLU
- select BR2_PACKAGE_LIBSOIL
+ select BR2_PACKAGE_GLM
help
AsterWave screensaver for Kodi
https://github.com/xbmc/screensaver.asterwave
-
-comment "kodi-screensaver-asterwave needs OpenGL"
- depends on !BR2_PACKAGE_HAS_LIBGL
# Locally computed
-sha256 d61bcdd8b74b50a26eab1597718b12ec260f6c6cdde0f143dbc1ce958ca86c69 kodi-screensaver-asterwave-3.0.5-Leia.tar.gz
-sha256 a0268e081014f3a555be39f7eb0fff759424963324915ad2ea56bf26668685e7 debian/copyright
+sha256 4645ea5923df5a2cae84887b743c3963940344439c37ca2e18896d082ac76b1d kodi-screensaver-asterwave-3.3.0-Matrix.tar.gz
+sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
#
################################################################################
-KODI_SCREENSAVER_ASTERWAVE_VERSION = 3.0.5-Leia
+KODI_SCREENSAVER_ASTERWAVE_VERSION = 3.3.0-Matrix
KODI_SCREENSAVER_ASTERWAVE_SITE = $(call github,xbmc,screensaver.asterwave,$(KODI_SCREENSAVER_ASTERWAVE_VERSION))
KODI_SCREENSAVER_ASTERWAVE_LICENSE = GPL-2.0+
-KODI_SCREENSAVER_ASTERWAVE_LICENSE_FILES = debian/copyright
-KODI_SCREENSAVER_ASTERWAVE_DEPENDENCIES = kodi libglu libsoil
+KODI_SCREENSAVER_ASTERWAVE_LICENSE_FILES = LICENSE.md
+KODI_SCREENSAVER_ASTERWAVE_DEPENDENCIES = glm kodi
+
+KODI_SCREENSAVER_ASTERWAVE_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))