Initial Commit
- initial default booting image
This commit is contained in:
46
package/supertuxkart/Config.in
Normal file
46
package/supertuxkart/Config.in
Normal file
@@ -0,0 +1,46 @@
|
||||
config BR2_PACKAGE_SUPERTUXKART
|
||||
bool "supertuxkart"
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_INSTALL_LIBSTDCPP # openal
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS # openal
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_ENET
|
||||
select BR2_PACKAGE_HARFBUZZ
|
||||
select BR2_PACKAGE_JPEG
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
select BR2_PACKAGE_LIBOGG
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_LIBSQUISH
|
||||
select BR2_PACKAGE_LIBVORBIS
|
||||
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
|
||||
select BR2_PACKAGE_OPENAL
|
||||
select BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_XLIB_LIBXRANDR
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID if BR2_PACKAGE_BLUEZ5_UTILS && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # runtime
|
||||
help
|
||||
Karts. Nitro. Action! SuperTuxKart is a free 3D arcade kart
|
||||
racer with multiple karts, tracks and modes you can play.
|
||||
Beat the evil Nolok by any means necessary, and make the
|
||||
mascot kingdom safe once again!
|
||||
|
||||
http://supertuxkart.sourceforge.net/Main_Page
|
||||
|
||||
comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 9"
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|
||||
|| !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
|
||||
|| !BR2_PACKAGE_HAS_LIBGL \
|
||||
|| BR2_TOOLCHAIN_USES_MUSL
|
||||
4
package/supertuxkart/supertuxkart.hash
Normal file
4
package/supertuxkart/supertuxkart.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://github.com/supertuxkart/stk-code/releases/tag/1.5
|
||||
sha256 33cf8841e4ff4082d80b9248014295bbbea61d14683e86dff100e3ab8f7b27cb SuperTuxKart-1.5-src.tar.gz
|
||||
# Locally computed
|
||||
sha256 d27207a5213f746aac53893e9ecc18456e9595d3ffa662bd1ec9eb10787c214a COPYING
|
||||
70
package/supertuxkart/supertuxkart.mk
Normal file
70
package/supertuxkart/supertuxkart.mk
Normal file
@@ -0,0 +1,70 @@
|
||||
################################################################################
|
||||
#
|
||||
# supertuxkart
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SUPERTUXKART_VERSION = 1.5
|
||||
SUPERTUXKART_SOURCE = SuperTuxKart-$(SUPERTUXKART_VERSION)-src.tar.gz
|
||||
# Do not use the github helper here, the generated tarball is *NOT*
|
||||
# the same as the one uploaded by upstream for the release.
|
||||
SUPERTUXKART_SITE = https://github.com/supertuxkart/stk-code/releases/download/$(SUPERTUXKART_VERSION)
|
||||
|
||||
# Supertuxkart itself is GPL-3.0+, but it bundles a few libraries with different
|
||||
# licenses. Irrlicht, bullet and angelscript have Zlib license, while glew is
|
||||
# BSD-3-Clause. Since they are linked statically, the result is GPL-3.0+.
|
||||
SUPERTUXKART_LICENSE = GPL-3.0+
|
||||
SUPERTUXKART_LICENSE_FILES = COPYING
|
||||
|
||||
SUPERTUXKART_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
freetype \
|
||||
enet \
|
||||
harfbuzz \
|
||||
jpeg \
|
||||
libcurl \
|
||||
libgl \
|
||||
libogg \
|
||||
libpng \
|
||||
libsquish \
|
||||
libvorbis \
|
||||
openal \
|
||||
sdl2 \
|
||||
xlib_libXrandr \
|
||||
zlib
|
||||
|
||||
# Since supertuxkart is not installing libstkirrlicht.so, and since it is
|
||||
# the only user of the bundled libraries, turn off shared libraries entirely.
|
||||
# Disable In-game recorder (there is no libopenglrecorder package)
|
||||
SUPERTUXKART_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_RECORDER=OFF \
|
||||
-DNO_SHADERC=on \
|
||||
-DUSE_SYSTEM_ENET=ON \
|
||||
-DUSE_SYSTEM_SQUISH=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
|
||||
SUPERTUXKART_DEPENDENCIES += bluez5_utils
|
||||
SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=ON -DUSE_SYSTEM_WIIUSE=ON
|
||||
SUPERTUXKART_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
else
|
||||
# Wiimote support relies on bluez5.
|
||||
SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=OFF
|
||||
endif
|
||||
|
||||
# Prefer openssl (the default) over mbedtls
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
SUPERTUXKART_DEPENDENCIES += openssl
|
||||
SUPERTUXKART_CONF_OPTS += -DUSE_CRYPTO_OPENSSL=ON
|
||||
else
|
||||
SUPERTUXKART_DEPENDENCIES += mbedtls
|
||||
SUPERTUXKART_CONF_OPTS += -DUSE_CRYPTO_OPENSSL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
||||
SUPERTUXKART_DEPENDENCIES += sqlite
|
||||
SUPERTUXKART_CONF_OPTS += -DUSE_SQLITE3=ON
|
||||
else
|
||||
SUPERTUXKART_CONF_OPTS += -DUSE_SQLITE3=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user