Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions ports/steamhelper/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tomh500/SteamHelper
REF 1.0.1
SHA512 e689df4340cd5d80f277109eabb33a6ecc5541be7525361ba7ed93f37b14f76cd8c4faee790937d8403eb4af81f50182aad3aa5643b4f5c1e6adec836c886000
HEAD_REF main
)


vcpkg_configure_cmake(

Check warning on line 10 in ports/steamhelper/portfile.cmake

View workflow job for this annotation

GitHub Actions / Check

The function vcpkg_configure_cmake is deprecated. Please use vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA # 提高编译速度
)

vcpkg_install_cmake()

Check warning on line 15 in ports/steamhelper/portfile.cmake

View workflow job for this annotation

GitHub Actions / Check

The function vcpkg_install_cmake is deprecated. Please use vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_copy_pdbs()

file(GLOB_RECURSE LICENSE_FILE "${SOURCE_PATH}/LICENSE*")

if(LICENSE_FILE)
file(INSTALL "${LICENSE_FILE}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
else()
message(FATAL_ERROR "Could not find LICENSE file in ${SOURCE_PATH}")
endif()
8 changes: 8 additions & 0 deletions ports/steamhelper/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "steamhelper",
"version": "1.0.0",
"description": "A C++ library for Steam path discovery and ID conversion (32-bit to 64-bit).",
"homepage": "https://github.com/tomh500/SteamHelper",
"license": "MIT",
"supports": "windows"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9628,6 +9628,10 @@
"baseline": "4.8.1",
"port-version": 0
},
"steamhelper": {
"baseline": "1.0.0",
"port-version": 0
},
"stella-cv-fbow": {
"baseline": "0.0.1",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/s-/steamhelper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "9150938a0078eebf95c9501af658f5fc415cbcc7",
"version": "1.0.0",
"port-version": 0
}
]
}
Loading