-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from AlwinEsch/cleanup
Cleanup Addon
- Loading branch information
Showing
28 changed files
with
238 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#.rst: | ||
# FindOpenGLES | ||
# ------------ | ||
# Finds the OpenGLES2 library | ||
# | ||
# This will define the following variables:: | ||
# | ||
# OPENGLES_FOUND - system has OpenGLES | ||
# OPENGLES_INCLUDE_DIRS - the OpenGLES include directory | ||
# OPENGLES_LIBRARIES - the OpenGLES libraries | ||
# OPENGLES_DEFINITIONS - the OpenGLES definitions | ||
|
||
if(CORE_PLATFORM_NAME_LC STREQUAL rbpi) | ||
set(_brcmprefix brcm) | ||
endif() | ||
|
||
if(PKG_CONFIG_FOUND) | ||
pkg_check_modules(PC_OPENGLES ${_brcmprefix}glesv2 QUIET) | ||
endif() | ||
|
||
if(NOT CORE_SYSTEM_NAME STREQUAL ios) | ||
find_path(OPENGLES_INCLUDE_DIR GLES2/gl2.h | ||
PATHS ${PC_OPENGLES_INCLUDEDIR}) | ||
find_library(OPENGLES_gl_LIBRARY NAMES ${_brcmprefix}GLESv2 | ||
PATHS ${PC_OPENGLES_LIBDIR}) | ||
else() | ||
find_library(OPENGLES_gl_LIBRARY NAMES OpenGLES | ||
PATHS ${CMAKE_OSX_SYSROOT}/System/Library | ||
PATH_SUFFIXES Frameworks | ||
NO_DEFAULT_PATH) | ||
set(OPENGLES_INCLUDE_DIR ${OPENGLES_gl_LIBRARY}/Headers) | ||
endif() | ||
|
||
find_path(OPENGLES3_INCLUDE_DIR GLES3/gl3.h) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(OpenGLES | ||
REQUIRED_VARS OPENGLES_gl_LIBRARY OPENGLES_INCLUDE_DIR) | ||
|
||
find_path(OPENGLES3_INCLUDE_DIR GLES3/gl3.h | ||
PATHS ${PC_OPENGLES_INCLUDEDIR}) | ||
|
||
if(OPENGLES_FOUND) | ||
set(OPENGLES_LIBRARIES ${OPENGLES_gl_LIBRARY}) | ||
if(OPENGLES3_INCLUDE_DIR) | ||
set(OPENGLES_INCLUDE_DIRS ${OPENGLES_INCLUDE_DIR} ${OPENGLES3_INCLUDE_DIR}) | ||
set(OPENGLES_DEFINITIONS -DHAS_GLES=3) | ||
mark_as_advanced(OPENGLES_INCLUDE_DIR OPENGLES3_INCLUDE_DIR OPENGLES_gl_LIBRARY) | ||
else() | ||
set(OPENGLES_INCLUDE_DIRS ${OPENGLES_INCLUDE_DIR}) | ||
set(OPENGLES_DEFINITIONS -DHAS_GLES=2) | ||
mark_as_advanced(OPENGLES_INCLUDE_DIR OPENGLES_gl_LIBRARY) | ||
endif() | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#.rst: | ||
# FindOpenGl | ||
# ---------- | ||
# Finds the FindOpenGl library | ||
# | ||
# This will define the following variables:: | ||
# | ||
# OPENGL_FOUND - system has OpenGl | ||
# OPENGL_INCLUDE_DIRS - the OpenGl include directory | ||
# OPENGL_LIBRARIES - the OpenGl libraries | ||
# OPENGL_DEFINITIONS - the OpenGl definitions | ||
|
||
if(PKG_CONFIG_FOUND) | ||
pkg_check_modules(PC_OPENGL gl QUIET) | ||
endif() | ||
|
||
if(NOT CORE_SYSTEM_NAME STREQUAL osx) | ||
find_path(OPENGL_INCLUDE_DIR GL/gl.h | ||
PATHS ${PC_OPENGL_gl_INCLUDEDIR}) | ||
find_library(OPENGL_gl_LIBRARY NAMES GL | ||
PATHS ${PC_OPENGL_gl_LIBDIR}) | ||
else() | ||
find_library(OPENGL_gl_LIBRARY NAMES OpenGL | ||
PATHS ${CMAKE_OSX_SYSROOT}/System/Library | ||
PATH_SUFFIXES Frameworks | ||
NO_DEFAULT_PATH) | ||
set(OPENGL_INCLUDE_DIR ${OPENGL_gl_LIBRARY}/Headers) | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(OpenGl | ||
REQUIRED_VARS OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) | ||
|
||
if(OPENGL_FOUND) | ||
set(OPENGL_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR}) | ||
set(OPENGL_LIBRARIES ${OPENGL_gl_LIBRARY}) | ||
set(OPENGL_DEFINITIONS -DHAS_GL=1) | ||
endif() | ||
|
||
mark_as_advanced(OPENGL_INCLUDE_DIR OPENGL_gl_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
kodi-screensaver-asteroids (#PACKAGEVERSION#-#TAGREV#~#DIST#) #DIST#; urgency=low | ||
|
||
[ xbmc ] | ||
[ kodi ] | ||
* autogenerated dummy changelog | ||
|
||
-- Arne Morten Kvarving <[email protected]> Sat, 01 Jun 2013 00:59:22 +0200 | ||
|
||
-- Nobody <[email protected]> Sat, 01 Jun 2013 00:59:22 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Source: kodi-screensaver-asteroids | ||
Priority: extra | ||
Maintainer: Arne Morten Kvarving <[email protected]> | ||
Build-Depends: debhelper (>= 8.0.0), cmake, kodi-addon-dev, | ||
Maintainer: Nobody <[email protected]> | ||
Build-Depends: debhelper (>= 9.0.0), cmake, kodi-addon-dev, | ||
libgl1-mesa-dev | ||
Standards-Version: 3.9.5 | ||
Section: libs | ||
Homepage: http://xbmc.org | ||
Homepage: http://kodi.tv | ||
|
||
Package: kodi-screensaver-asteroids | ||
Section: libs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,10 @@ | ||
Format: http://dep.debian.net/deps/dep5 | ||
Upstream-Name: screensaver.asteroids | ||
Source: https://github.com/xbmc/screensaver.asteroids | ||
|
||
Files: * | ||
2005-2013 Team XBMC | ||
License: GPL-2+ | ||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/> | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". | ||
|
||
|
||
Files: debian/* | ||
Copyright: 2013 Arne Morten Kvarving <[email protected]> | ||
Copyright: 2005-2018 Team Kodi | ||
2013 Arne Morten Kvarving <[email protected]> | ||
2013 wsnipex <[email protected]> | ||
License: GPL-2+ | ||
This package is free software; you can redistribute it and/or modify | ||
|
@@ -40,4 +22,3 @@ License: GPL-2+ | |
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
usr/lib/* | ||
usr/share/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<addon | ||
id="screensaver.asteroids" | ||
version="2.1.0" | ||
version="2.2.0" | ||
name="Asteroids" | ||
provider-name="spiff"> | ||
provider-name="Team Kodi"> | ||
<requires>@ADDON_DEPENDS@</requires> | ||
<extension | ||
point="xbmc.ui.screensaver" | ||
library_@PLATFORM@="@LIBRARY_FILENAME@"/> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary>Asteroids screensaver</summary> | ||
<description>Asteroids screensaver</description> | ||
<description>An old-style screen saver where the asteroids are shot away.</description> | ||
<platform>@PLATFORM@</platform> | ||
<assets> | ||
<icon>resources/icon.png</icon> | ||
<fanart>resources/fanart.png</fanart> | ||
<screenshot>resources/screenshot-01.png</screenshot> | ||
<screenshot>resources/screenshot-02.png</screenshot> | ||
<screenshot>resources/screenshot-03.png</screenshot> | ||
</assets> | ||
</extension> | ||
</addon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ out vec4 FragColor; | |
|
||
void main() | ||
{ | ||
FragColor = m_col; | ||
FragColor = m_col; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#version 150 | ||
|
||
in vec3 m_attrpos; | ||
in vec4 m_attrcol; | ||
|
||
out vec4 m_cord; | ||
out vec4 m_col; | ||
|
||
uniform mat4 m_proj; | ||
uniform mat4 m_model; | ||
|
||
void main () | ||
{ | ||
mat4 mvp = m_proj * m_model; | ||
gl_Position = mvp * vec4(m_attrpos.x, m_attrpos.y, m_attrpos.z, 1.0); | ||
m_col = m_attrcol; | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.