diff --git a/ports/slikenet/CONTROL b/ports/slikenet/CONTROL deleted file mode 100644 index 5753ce9aa354a4..00000000000000 --- a/ports/slikenet/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Source: slikenet -Version: 2019-10-22-2 -Homepage: https://github.com/SLikeSoft/SLikeNet -Description: SLikeNetT is an Open Source/Free Software cross-platform network engine written in C++ and specifially designed for games (and applications which have comparable requirements on a network engine like games) building upon the discontinued RakNet network engine which had more than 13 years of active development. -Build-Depends: openssl -Supports: !uwp diff --git a/ports/slikenet/portfile.cmake b/ports/slikenet/portfile.cmake index c321f653c5917e..ba5ef493feef65 100644 --- a/ports/slikenet/portfile.cmake +++ b/ports/slikenet/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_fail_port_install(ON_TARGET "UWP") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO SLikeSoft/SLikeNet - REF cca394f05e9e9e3e315a85539e648f267d3f2fcc - SHA512 410954bda5a7be309eb71c3078f8ea67ff21aae2ce923f01db77b09265969f1350afb45b90194118bfad274f0a36a2d3bbc38d86a15507fdfc4bc8edc4a0204c + REF 358462052fce7e585fc1cce0a17a7042ba724c08 + SHA512 2c932b0a7910ec36dd6a340dd841cefcf259fbdadadff220747d13752181ea14e3c5f05331beb36dea21c0de360edc270ff4c55375bbea23ee2149828f07e9ab HEAD_REF master PATCHES fix-install.patch @@ -12,13 +12,8 @@ vcpkg_from_github( #Uses an outdated OpenSSL version and is in an experimental namespace any way. As such we delete it here file(REMOVE_RECURSE "${SOURCE_PATH}/Source/src/crypto" "${SOURCE_PATH}/Source/include/slikenet/crypto") -if (VCPKG_LIBRARY_LINKAGE STREQUAL "static") - set(SLIKENET_ENABLE_STATIC TRUE) - set(SLIKENET_ENABLE_DLL FALSE) -else() - set(SLIKENET_ENABLE_STATIC FALSE) - set(SLIKENET_ENABLE_DLL TRUE) -endif() +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" SLIKENET_ENABLE_STATIC) +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" SLIKENET_ENABLE_DLL) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} diff --git a/ports/slikenet/vcpkg.json b/ports/slikenet/vcpkg.json new file mode 100644 index 00000000000000..158a28c4851c81 --- /dev/null +++ b/ports/slikenet/vcpkg.json @@ -0,0 +1,10 @@ +{ + "name": "slikenet", + "version-date": "2021-06-07", + "description": "SLikeNetT is an Open Source/Free Software cross-platform network engine written in C++ and specifially designed for games (and applications which have comparable requirements on a network engine like games) building upon the discontinued RakNet network engine which had more than 13 years of active development.", + "homepage": "https://github.com/SLikeSoft/SLikeNet", + "supports": "!uwp", + "dependencies": [ + "openssl" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 9a3c6efaa1c240..726db582502492 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5829,7 +5829,7 @@ "port-version": 0 }, "slikenet": { - "baseline": "2019-10-22-2", + "baseline": "2021-06-07", "port-version": 0 }, "sltbench": { diff --git a/versions/s-/slikenet.json b/versions/s-/slikenet.json index 5bb738ff0f3c0e..ee83f0113e39ba 100644 --- a/versions/s-/slikenet.json +++ b/versions/s-/slikenet.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ac7b0f3e2e112489c1d66b390c22e050bd410783", + "version-date": "2021-06-07", + "port-version": 0 + }, { "git-tree": "fd99081ecbebc7fe7639cc9a61899ff6fb977d04", "version-string": "2019-10-22-2",