ffcaf9158c
https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L231 Build would fail without this patch using this defconfig: BR2_x86_64=y BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_SUPERTUXKART=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_XORG7=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Romain Naour <romain.naour@gmail.com> Tested-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# supertuxkart
|
|
#
|
|
################################################################################
|
|
|
|
SUPERTUXKART_VERSION = 0.9.2
|
|
SUPERTUXKART_SOURCE = supertuxkart-$(SUPERTUXKART_VERSION)-src.tar.xz
|
|
SUPERTUXKART_SITE = http://downloads.sourceforge.net/project/supertuxkart/SuperTuxKart/$(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 = \
|
|
freetype \
|
|
jpeg \
|
|
libcurl \
|
|
libgl \
|
|
libglu \
|
|
libogg \
|
|
libpng \
|
|
libvorbis \
|
|
openal \
|
|
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.
|
|
SUPERTUXKART_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
|
|
SUPERTUXKART_DEPENDENCIES += libfribidi
|
|
SUPERTUXKART_CONF_OPTS += -DUSE_FRIBIDI=ON
|
|
else
|
|
SUPERTUXKART_CONF_OPTS += -DUSE_FRIBIDI=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
|
|
SUPERTUXKART_DEPENDENCIES += bluez5_utils
|
|
SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=ON
|
|
else
|
|
# Wiimote support relies on bluez5.
|
|
SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|