mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:01:39 +08:00
[libhsplasma] Add new port (#13174)
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parent
b5f00aefc9
commit
adc1719f0e
10
ports/libhsplasma/CONTROL
Normal file
10
ports/libhsplasma/CONTROL
Normal file
@ -0,0 +1,10 @@
|
||||
Source: libhsplasma
|
||||
Version: 2020.08.30
|
||||
Homepage: https://github.com/H-uru/libhsplasma
|
||||
Description: Cross-platform Plasma data and network library
|
||||
Build-Depends: libjpeg-turbo, libpng, string-theory, zlib
|
||||
Supports: !(arm|uwp)
|
||||
|
||||
Feature: net
|
||||
Description: Network functionality
|
||||
Build-Depends: openssl
|
35
ports/libhsplasma/portfile.cmake
Normal file
35
ports/libhsplasma/portfile.cmake
Normal file
@ -0,0 +1,35 @@
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO H-uru/libhsplasma
|
||||
REF afd9c46fa72afbbaf5260800ecfde0704ba2a475
|
||||
SHA512 21774b465ede7fe5e44df4470ed6867977ac9249400ba6d0bed33fd0e856d467de1afe79afb8a4dc6145eef21c5a3f79590b5cfa3ea1337cc355ca8f3bf1a11c
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
net ENABLE_NET
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
-DENABLE_PHYSX=OFF
|
||||
-DENABLE_PYTHON=OFF
|
||||
-DENABLE_TOOLS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(
|
||||
CONFIG_PATH share/cmake/HSPlasma
|
||||
TARGET_PATH share/HSPlasma
|
||||
)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
@ -567,6 +567,7 @@ hiredis:arm-uwp=fail
|
||||
hiredis:x64-uwp=fail
|
||||
hpx:x64-windows-static=fail
|
||||
hpx:x64-linux=fail
|
||||
libhsplasma:x64-windows-static=fail
|
||||
hwloc:arm64-windows=fail
|
||||
hwloc:arm-uwp=fail
|
||||
hwloc:x64-uwp=fail
|
||||
|
Loading…
Reference in New Issue
Block a user