[luminoengine] new port (#29668)

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* desc

* fix for guidelines

* format

* Run x-add-version

* Add supports

* Default is core only

* Default is core only

* add version

* uwp unsupported

* add version

* rename port

* add version

* fix config path

* add version
This commit is contained in:
lriki 2023-02-22 02:48:11 +09:00 committed by GitHub
parent 5ea703d315
commit 3ceba3d976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,32 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO LuminoEngine/Lumino
REF v0.10.1
SHA512 f43e48b36a48b5fcce4767de087f9953c905ac0af5522042a93c39ec75e4c9489b8910bc5b2f6fd129ce197309377a14b6eb9177a6ea9db4f5c2e7d1b13a137d
HEAD_REF main
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
engine LUMINO_BUILD_ENGINE
)
vcpkg_cmake_configure(
SOURCE_PATH
"${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
-DLUMINO_BUILD_EXAMPLES=OFF
-DLN_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/lumino)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_copy_pdbs()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

4
ports/luminoengine/usage Normal file
View File

@ -0,0 +1,4 @@
luminoengine provides CMake targets:
find_package(Lumino CONFIG REQUIRED)
target_link_libraries(main PRIVATE lumino::Lumino)

View File

@ -0,0 +1,58 @@
{
"name": "luminoengine",
"version": "0.10.1",
"description": "C++17 games and visualization toolkit.",
"homepage": "https://github.com/LuminoEngine/Lumino",
"license": "MIT",
"supports": "x64 & windows & !uwp",
"dependencies": [
"gtest",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"engine": {
"description": "Make engine module.",
"dependencies": [
"box2d",
"bullet3",
{
"name": "freetype",
"features": [
"png",
"zlib"
]
},
"glad",
"glfw3",
"glslang",
{
"name": "imgui",
"features": [
"docking-experimental"
]
},
"libogg",
"libpng",
"libvorbis",
"nanovg",
"openal-soft",
"pcre2",
"spirv-cross",
"stb",
"tinygltf",
"tinyobjloader",
"toml11",
"vulkan-headers",
"yaml-cpp",
"zlib"
]
}
}
}

View File

@ -4824,6 +4824,10 @@
"baseline": "3.0.0",
"port-version": 1
},
"luminoengine": {
"baseline": "0.10.1",
"port-version": 0
},
"lunasvg": {
"baseline": "2.3.1",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "e82d1c7a586546412c2ab3d121e72aaf54df7bb1",
"version": "0.10.1",
"port-version": 0
}
]
}