2020-09-01 08:56:42 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO H-uru/libhsplasma
|
2022-06-08 19:35:11 +08:00
|
|
|
REF 2327302a62b891f551b5f6daf899cf86997dce72 # 2022.05.19
|
|
|
|
SHA512 89755e502e4a66a56013e3ff52c8d0c2350e5681be49c1b47f580591e3c3da24c587dee5af4f9524ea43f2d86f24ecef611d62d6045b293eb8d09cd5f0ac3d18
|
2020-09-01 08:56:42 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
2021-09-08 22:45:37 +08:00
|
|
|
FEATURES
|
|
|
|
net ENABLE_NET
|
2020-09-01 08:56:42 +08:00
|
|
|
)
|
|
|
|
|
2021-09-08 22:45:37 +08:00
|
|
|
vcpkg_cmake_configure(
|
2020-09-01 08:56:42 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
${FEATURE_OPTIONS}
|
|
|
|
-DENABLE_PHYSX=OFF
|
|
|
|
-DENABLE_PYTHON=OFF
|
|
|
|
-DENABLE_TOOLS=OFF
|
|
|
|
)
|
|
|
|
|
2021-09-08 22:45:37 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME HSPlasma CONFIG_PATH share/cmake/HSPlasma)
|
2020-09-01 08:56:42 +08:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2021-09-08 22:45:37 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2022-06-08 19:35:11 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2022-01-26 02:31:15 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|