[byte-lite] Update to 0.3.0 (#20908)

* Update byte-lite to 0.3.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2021-10-22 08:46:24 +02:00 committed by GitHub
parent 3bcdecedb5
commit ff67049ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 19 deletions

View File

@ -1,29 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinmoene/byte-lite
REF v0.2.0
SHA512 eefc730a39453dfc367a4478a84d4825cd85721d3c332a57321d0a5c3040a4d45921603ff24220f968dd21df61acea856ae30db8bae6c1e835a1755fb03c84b7
REF v0.3.0
SHA512 a49c7cf820db2bcf63f231324bca72642161fcaa4ecd9e4b18aa752902f393a3983014feae824fa4f5dea0e7182eadded1a9a83c469fa4039d4d17b3c814b2ef
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBYTE_LITE_OPT_BUILD_TESTS=OFF
-DBYTE_LITE_OPT_BUILD_EXAMPLES=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(
CONFIG_PATH lib/cmake/${PORT}
)
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug
${CURRENT_PACKAGES_DIR}/lib
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)
file(INSTALL
${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
)
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,15 @@
{
"name": "byte-lite",
"version-string": "0.2.0",
"port-version": 1,
"description": "A C++17-like byte type for C++98, C++11 and later in a single-file header-only library"
"version": "0.3.0",
"description": "A C++17-like byte type for C++98, C++11 and later in a single-file header-only library",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5bc136e43764a88f51b7750b1937cd548177c79c",
"version": "0.3.0",
"port-version": 0
},
{
"git-tree": "d83b7cf23d9a7b17c28fda5fcd36a25dd8a085ef",
"version-string": "0.2.0",

View File

@ -1173,8 +1173,8 @@
"port-version": 2
},
"byte-lite": {
"baseline": "0.2.0",
"port-version": 1
"baseline": "0.3.0",
"port-version": 0
},
"bzip2": {
"baseline": "1.0.8",