kumquat-buildroot/package/kodi-visualisation-goom/kodi-visualisation-goom.mk
Bernd Kuhls f36b03e25c package/kodi-visualisation-goom: fix build with gcc-4.9
Fixes build error:

output/build/kodi-visualisation-goom-2.1.0-Leia/lib/goom/src/lines.c:
In function 'goom_lines_draw':
output/build/kodi-visualisation-goom-2.1.0-Leia/lib/goom/src/lines.c:232:3:
error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int i = 1; i < AUDIO_SAMPLE_LEN; i++) {

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-01-28 23:13:32 +01:00

18 lines
582 B
Makefile

################################################################################
#
# kodi-visualisation-goom
#
################################################################################
KODI_VISUALISATION_GOOM_VERSION = 2.1.0-Leia
KODI_VISUALISATION_GOOM_SITE = $(call github,xbmc,visualization.goom,$(KODI_VISUALISATION_GOOM_VERSION))
KODI_VISUALISATION_GOOM_LICENSE = GPL-2.0+
KODI_VISUALISATION_GOOM_LICENSE_FILES = src/Main.cpp
KODI_VISUALISATION_GOOM_DEPENDENCIES = glm kodi
KODI_VISUALISATION_GOOM_CONF_OPTS += \
-DCMAKE_C_FLAGS="-std=c11"
$(eval $(cmake-package))