Initial Commit
- initial default booting image
This commit is contained in:
22
package/oatpp/0001-cmake4.patch
Normal file
22
package/oatpp/0001-cmake4.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 06232810f7c23cc8a91864a504df412255a370b6 Mon Sep 17 00:00:00 2001
|
||||
From: Leonid Stryzhevskyi <lganzzzo@gmail.com>
|
||||
Date: Tue, 23 Apr 2024 01:20:20 +0300
|
||||
Subject: [PATCH] refactor json namespaces
|
||||
|
||||
Upstream: https://github.com/oatpp/oatpp/commit/06232810f7c23cc8a91864a504df412255a370b6
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
[backported only the cmake bump]
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 9d41c8b2e..14ab71acf 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
|
||||
|
||||
file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/src/oatpp/core/base/Environment.hpp" OATPP_VERSION_MACRO REGEX "#define OATPP_VERSION \"[0-9]+.[0-9]+.[0-9]+\"$")
|
||||
string(REGEX REPLACE "#define OATPP_VERSION \"([0-9]+.[0-9]+.[0-9]+)\"$" "\\1" oatpp_VERSION "${OATPP_VERSION_MACRO}")
|
||||
13
package/oatpp/Config.in
Normal file
13
package/oatpp/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_OATPP
|
||||
bool "oatpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Oat++ is an open-source C++ web framework for highly scalable
|
||||
and resource-efficient web applications. It provides all the
|
||||
necessary components for production-grade development.
|
||||
|
||||
https://oatpp.io/docs/start
|
||||
|
||||
comment "oatpp needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/oatpp/oatpp.hash
Normal file
3
package/oatpp/oatpp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 9dd31f005ab0b3e8895a478d750d7dbce99e42750a147a3c42a9daecbddedd64 oatpp-1.3.1.tar.gz
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
||||
22
package/oatpp/oatpp.mk
Normal file
22
package/oatpp/oatpp.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# oatpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OATPP_VERSION = 1.3.1
|
||||
OATPP_SITE = $(call github,oatpp,oatpp,$(OATPP_VERSION))
|
||||
OATPP_LICENSE = Apache-2.0
|
||||
OATPP_LICENSE_FILES = LICENSE
|
||||
OATPP_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF -DOATPP_BUILD_TESTS=OFF
|
||||
OATPP_INSTALL_STAGING = YES
|
||||
# Only builds a static lib and headers
|
||||
OATPP_INSTALL_TARGET = NO
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
|
||||
OATPP_CONF_OPTS += -DOATPP_COMPAT_BUILD_NO_SET_AFFINITY=OFF
|
||||
else
|
||||
OATPP_CONF_OPTS += -DOATPP_COMPAT_BUILD_NO_SET_AFFINITY=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user