Skip to content

Commit

Permalink
Merge pull request #26 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] fix standalone build with newer glm versions (>= 0.9.9.6)
  • Loading branch information
AlwinEsch authored Sep 6, 2020
2 parents 84e9975 + e060d27 commit e5a176c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions Findglm.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#.rst:
# Findglm
# ------------
# Finds the OpenGL Mathematics (GLM) as a header only C++ mathematics library.
#
# This will define the following variables:
#
# GLM_FOUND - system has OpenGLES
# GLM_INCLUDE_DIR - the OpenGLES include directory
#
# Note: Install was removed from GLM on version 0.9.9.6.

find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_check_modules(PC_GLM glm QUIET)
endif()

find_path(GLM_INCLUDE_DIR glm.hpp
PATHS ${PC_GLM_INCLUDEDIR}
PATH_SUFFIXES glm)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(glm REQUIRED_VARS GLM_INCLUDE_DIR)

mark_as_advanced(GLM_INCLUDE_DIR)
6 changes: 3 additions & 3 deletions screensaver.asteroids/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="screensaver.asteroids"
version="2.5.0"
version="2.5.1"
name="Asteroids"
provider-name="Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
<extension
point="xbmc.ui.screensaver"
library_@PLATFORM@="@LIBRARY_FILENAME@"/>
<extension point="xbmc.addon.metadata">
<summary lang="en_GB">Asteroids screensaver</summary>
<summary lang="de_DE">Asteroiden Bildschirmschoner</summary>
<description lang="en_GB">An old-style screen saver where the asteroids are shot away.</description>
<summary lang="en_GB">Asteroids screensaver</summary>
<description lang="de_DE">Ein Bildschirmschoner im alten Stil, welcher die Asteroiden davon schießt.</description>
<description lang="en_GB">An old-style screen saver where the asteroids are shot away.</description>
<platform>@PLATFORM@</platform>
<license>GPL-2.0-or-later</license>
<source>https://github.com/xbmc/screensaver.asteroids</source>
Expand Down

0 comments on commit e5a176c

Please sign in to comment.