[shiva] Delist (#42711)

This commit is contained in:
Kai Pastor 2024-12-19 19:04:49 +01:00 committed by GitHub
parent a3ff43d793
commit 54f4adb7f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 84 deletions

View File

@ -1,25 +0,0 @@
diff --git a/modules/python/CMakeLists.txt b/modules/python/CMakeLists.txt
index eef14ee..30130ba 100644
--- a/modules/python/CMakeLists.txt
+++ b/modules/python/CMakeLists.txt
@@ -1,10 +1,10 @@
include(CMakeSources.cmake)
set(MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
+find_package(Python COMPONENTS Interpreter Development)
find_package(pybind11 CONFIG REQUIRED)
-
-if (WIN32)
+if (FALSE)
## We need pyton dll
file(GLOB PYTHON_DLL ${PYTHON_LIBRARIES}/../*.dll)
@@ -19,6 +19,6 @@ endif ()
CREATE_MODULE(shiva::pyscripting "${MODULE_SOURCES}" ${MODULE_PATH} "python")
-target_link_libraries(pyscripting INTERFACE shiva::ecs shiva::input pybind11::embed pybind11::module)
+target_link_libraries(pyscripting INTERFACE shiva::ecs shiva::input pybind11::embed pybind11::module Python::Module)
AUTO_TARGETS_MODULE_INSTALL(pyscripting)

View File

@ -1,22 +0,0 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Milerius/shiva
REF ${VERSION}
SHA512 d1ce33e89b17fa8f82e21b51dfa1308e38c617fea52c34a20b7b6c8643318280df24c043238ddd73ba2dbc139c5b5de1c2cb3add1f5629a54694c78b415d73d1
HEAD_REF master
PATCHES find_python_and_no_copy_dll.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DSHIVA_BUILD_TESTS=OFF
"-DPYTHON_EXECUTABLE=${CURRENT_INSTALLED_DIR}/tools/python3/python${VCPKG_EXECUTABLE_SUFFIX}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,33 +0,0 @@
{
"name": "shiva",
"version": "1.0",
"port-version": 7,
"description": "Modern C++ Game Engine",
"homepage": "https://github.com/Milerius/shiva",
"license": "MIT",
"supports": "!(static & windows)",
"dependencies": [
"boost-dll",
"boost-filesystem",
"boost-stacktrace",
"entt",
"lua",
{
"name": "luafilesystem",
"platform": "windows"
},
"nlohmann-json",
"pybind11",
"python3",
"sol2",
"spdlog",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -8364,10 +8364,6 @@
"baseline": "1.45",
"port-version": 1
},
"shiva": {
"baseline": "1.0",
"port-version": 7
},
"shogun": {
"baseline": "2023-12-19",
"port-version": 1