diff options
| author | Sztergbaum Roman <roman.sztergbaum@epitech.eu> | 2018-08-04 06:34:14 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-08-03 21:34:14 -0700 |
| commit | 954aa35e6ead92546e14084c0fcde2cf7d0e0cef (patch) | |
| tree | 21c22fe5a58ca688c02d6788dc6a6adf9c0bbb0f | |
| parent | 2c69e82f59b8026aa2bd583bf43ed7fac59558c4 (diff) | |
| download | vcpkg-954aa35e6ead92546e14084c0fcde2cf7d0e0cef.tar.gz vcpkg-954aa35e6ead92546e14084c0fcde2cf7d0e0cef.zip | |
[shiva] update shiva to 0.7.2 with proper plugins installation (#4014)
| -rw-r--r-- | ports/shiva-sfml/CONTROL | 2 | ||||
| -rw-r--r-- | ports/shiva-sfml/portfile.cmake | 29 | ||||
| -rw-r--r-- | ports/shiva/CONTROL | 2 | ||||
| -rw-r--r-- | ports/shiva/portfile.cmake | 4 |
4 files changed, 29 insertions, 8 deletions
diff --git a/ports/shiva-sfml/CONTROL b/ports/shiva-sfml/CONTROL index 697a4eb2c..d912c2773 100644 --- a/ports/shiva-sfml/CONTROL +++ b/ports/shiva-sfml/CONTROL @@ -1,4 +1,4 @@ Source: shiva-sfml
-Version: 0.7
+Version: 0.7.2
Description: shiva-sfml plugins of shiva C++ engine
Build-Depends: sfml (windows), shiva
diff --git a/ports/shiva-sfml/portfile.cmake b/ports/shiva-sfml/portfile.cmake index 72cd61344..3b4432de1 100644 --- a/ports/shiva-sfml/portfile.cmake +++ b/ports/shiva-sfml/portfile.cmake @@ -3,8 +3,8 @@ include(vcpkg_common_functions) vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Milerius/shiva
- REF 0.7
- SHA512 08591ce23ef717330c2fdc0518c383bebeda1a5eed93011b44280a409154729add70a0e913c2dae0d8332f4d6aee931ab8ba9957097435eadcff38e692e348ec
+ REF 0.7.2
+ SHA512 0bd1543ba6067d303640820a17a24ec02c6ab8333f86bd3431c09f5a2ea4ca47379ec06a90e3a0658dba967504cb8a63f85c2f0cbfb51a7c59130b235948d600
HEAD_REF master
)
@@ -22,9 +22,30 @@ file(GLOB PLUGINS ${SOURCE_PATH}/bin/systems/*) message(STATUS "PLUGINS -> ${PLUGINS}")
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/shiva-sfml)
+
+##! Pre removing
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
+
+##! Include
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
-file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include/shiva-sfml)
-file(COPY ${PLUGINS} DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
+
+##! Release
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/shiva)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/shiva/plugins)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/shiva/plugins/shiva-sfml)
+
+##! Debug
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib/shiva)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib/shiva/plugins)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib/shiva/plugins/shiva-sfml)
+
+##! Copy Plugins
+file(COPY ${PLUGINS} DESTINATION ${CURRENT_PACKAGES_DIR}/lib/shiva/plugins/shiva-sfml)
+file(COPY ${PLUGINS} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib/shiva/plugins/shiva-sfml)
+
file(WRITE ${CURRENT_PACKAGES_DIR}/include/shiva-sfml/empty.h "")
file(WRITE ${CURRENT_PACKAGES_DIR}/share/shiva-sfml/copyright "")
diff --git a/ports/shiva/CONTROL b/ports/shiva/CONTROL index 1107466c7..8f4df8b82 100644 --- a/ports/shiva/CONTROL +++ b/ports/shiva/CONTROL @@ -1,4 +1,4 @@ Source: shiva
-Version: 0.7
+Version: 0.7.2
Description: Modern C++ Game Engine
Build-Depends: boost-stacktrace, boost-filesystem, boost-dll, entt, eastl, lua (windows), luafilesystem (windows), sol2, pybind11, spdlog
diff --git a/ports/shiva/portfile.cmake b/ports/shiva/portfile.cmake index 565a2aa09..e0156058d 100644 --- a/ports/shiva/portfile.cmake +++ b/ports/shiva/portfile.cmake @@ -3,8 +3,8 @@ include(vcpkg_common_functions) vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Milerius/shiva
- REF 0.7
- SHA512 08591ce23ef717330c2fdc0518c383bebeda1a5eed93011b44280a409154729add70a0e913c2dae0d8332f4d6aee931ab8ba9957097435eadcff38e692e348ec
+ REF 0.7.2
+ SHA512 0bd1543ba6067d303640820a17a24ec02c6ab8333f86bd3431c09f5a2ea4ca47379ec06a90e3a0658dba967504cb8a63f85c2f0cbfb51a7c59130b235948d600
HEAD_REF master
)
|
