package/kodi-visualisation-shadertoy: needs libglew for OpenGL build
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 10 May 2016 18:40:22 +0000 (20:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 May 2016 14:06:39 +0000 (16:06 +0200)
Fixes
-- Found OpenGL: /home/bernd/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libGL.so
CMake Error at /home/bernd/buildroot/output/host/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
 (message):
  Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)

For details have a look at
https://github.com/notspiff/visualization.shadertoy/blob/master/CMakeLists.txt#L21

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi-visualisation-shadertoy/Config.in
package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk

index 3b981d0bf4bacc5fb1dcf3d8fdaa32e7c35acf83..ac1770270928860b1a61ada9e81c1e0b2667ee62 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_KODI_VISUALISATION_SHADERTOY
        bool "kodi-visualisation-shadertoy"
+       select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_HAS_LIBGL
        select BR2_PACKAGE_LIBPLATFORM
        help
          Shadertoy visualiser for Kodi
index 308016ed36f52dda16a193c89300d4b5aa0e4b7e..e5f2d911db08078db08794cd8697954d2d853d48 100644 (file)
@@ -10,4 +10,8 @@ KODI_VISUALISATION_SHADERTOY_LICENSE = GPLv2+
 KODI_VISUALISATION_SHADERTOY_LICENSE_FILES = src/main.cpp
 KODI_VISUALISATION_SHADERTOY_DEPENDENCIES = kodi libplatform
 
+ifeq ($(BR2_PACKAGE_LIBGLEW),y)
+KODI_VISUALISATION_SHADERTOY_DEPENDENCIES += libglew
+endif
+
 $(eval $(cmake-package))