Initial Commit
- initial default booting image
This commit is contained in:
26
package/flare-engine/0001-Minimum-CMake-version-3.5.patch
Normal file
26
package/flare-engine/0001-Minimum-CMake-version-3.5.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From 9500379f886484382bba2f893faf49865de9f2c0 Mon Sep 17 00:00:00 2001
|
||||
From: Justin Jacobs <jajdorkster@gmail.com>
|
||||
Date: Sat, 5 Apr 2025 18:27:55 -0400
|
||||
Subject: [PATCH] Minimum CMake version = 3.5
|
||||
|
||||
From the CMake 4.0 release notes:
|
||||
> Compatibility with versions of CMake older than 3.5 has been removed.
|
||||
|
||||
Upstream: https://github.com/flareteam/flare-engine/commit/9500379f886484382bba2f893faf49865de9f2c0
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 897c19c3d..def8121c4 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
Project (Flare)
|
||||
-cmake_minimum_required (VERSION 2.8.12)
|
||||
+cmake_minimum_required (VERSION 3.5)
|
||||
|
||||
Set (PACKAGE "FLARE")
|
||||
Set (VERSION "1.14")
|
||||
21
package/flare-engine/Config.in
Normal file
21
package/flare-engine/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_FLARE_ENGINE
|
||||
bool "flare-engine"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # SDL2
|
||||
select BR2_PACKAGE_LIBPNG # SDL2_IMAGE needs libpng support
|
||||
select BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_SDL2_IMAGE
|
||||
select BR2_PACKAGE_SDL2_MIXER
|
||||
select BR2_PACKAGE_SDL2_TTF
|
||||
select BR2_PACKAGE_TREMOR # for SDL2_mixer ogg support
|
||||
help
|
||||
Flare (Free Libre Action Roleplaying Engine) is a simple game
|
||||
engine built to handle a very specific kind of game:
|
||||
single-player 2D action RPGs.
|
||||
Flare is not a reimplementation of an existing game or engine.
|
||||
It is a tribute to and exploration of the action RPG genre.
|
||||
|
||||
https://flarerpg.org
|
||||
|
||||
comment "flare-engine needs a toolchain w/ C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
||||
3
package/flare-engine/flare-engine.hash
Normal file
3
package/flare-engine/flare-engine.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 2c1bafeaa5ac26c10449bfcb7151b06e8a22547aa7364d2a39bbcb135aa50a09 flare-engine-1.14.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
26
package/flare-engine/flare-engine.mk
Normal file
26
package/flare-engine/flare-engine.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# flare-engine
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLARE_ENGINE_VERSION = 1.14
|
||||
FLARE_ENGINE_SITE = $(call github,flareteam,flare-engine,v$(FLARE_ENGINE_VERSION))
|
||||
FLARE_ENGINE_LICENSE = GPL-3.0+
|
||||
FLARE_ENGINE_LICENSE_FILES = COPYING
|
||||
|
||||
FLARE_ENGINE_DEPENDENCIES += sdl2 sdl2_image sdl2_mixer sdl2_ttf tremor
|
||||
|
||||
# Don't use /usr/games and /usr/share/games
|
||||
FLARE_ENGINE_CONF_OPTS += -DBINDIR=bin -DDATADIR=share/flare
|
||||
|
||||
# CMAKE_BUILD_TYPE is only used to set optimization and debug flags, all of
|
||||
# which we want Buildroot to steer explicitly. Explicitly set a fake build type
|
||||
# to get this control.
|
||||
FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Buildroot
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
FLARE_ENGINE_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -O0"
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user