mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 11:41:36 +08:00
[akali] Remove port (#30748)
* [akali] set discard library * update version * Delete information that is no longer needed * update version * delist port * remove akali.json * revert akali.json
This commit is contained in:
parent
bf4958bce6
commit
0b071047fd
@ -1,38 +0,0 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO winsoft666/akali
|
||||
REF 2e35164a9a2a48a50af06c8ae59fcad0f4d6584e
|
||||
SHA512 103c4da3d318d7ae7da4821e58eced918c9d64dbc6d97e9e6c15fa69731331cf6160f593437366cb3a844fa292a8d875e3e63a679e7fbdeae22bb4d73e3d3144
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" AKALI_STATIC)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DAKALI_STATIC:BOOL=${AKALI_STATIC}
|
||||
-DBUILD_TESTS:BOOL=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cmake/akali")
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/akali)
|
||||
elseif(EXISTS "${CURRENT_PACKAGES_DIR}/share/akali")
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/akali)
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/akali/akali_export.h" "#ifdef AKALI_STATIC" "#if 1")
|
||||
else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/akali/akali_export.h" "#ifdef AKALI_STATIC" "#if 0")
|
||||
endif()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
|
@ -1,19 +0,0 @@
|
||||
{
|
||||
"name": "akali",
|
||||
"version": "1.43",
|
||||
"port-version": 1,
|
||||
"description": "C++ Common Library.",
|
||||
"homepage": "https://github.com/winsoft666/akali",
|
||||
"license": "MIT",
|
||||
"supports": "!(arm | arm64 | uwp)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -56,10 +56,6 @@
|
||||
"baseline": "1.5.0",
|
||||
"port-version": 1
|
||||
},
|
||||
"akali": {
|
||||
"baseline": "1.43",
|
||||
"port-version": 1
|
||||
},
|
||||
"aklomp-base64": {
|
||||
"baseline": "2023-01-06",
|
||||
"port-version": 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user