Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[base64] Add new port #25091

Closed
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
18 changes: 18 additions & 0 deletions ports/base64/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO aklomp/base64
REF 9ae5ad37720bc94e90719566de48e2444b96b642
SHA512 cbfa5faf3693603708a49744db7d1986aeb595e27f106e55a85213d808156ec89b69b06486c7add3514799ec1f51ccac02c47e5d50810f5b770945ad007c1a0a
HEAD_REF master
)

vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBASE64_BUILD_CLI=OFF
-DCMAKE_INSTALL_INCLUDEDIR="${CURRENT_PACKAGES_DIR}/include"
)
vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/base64)

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
17 changes: 17 additions & 0 deletions ports/base64/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "base64",
"version-semver": "0.5.0",
Adela0814 marked this conversation as resolved.
Show resolved Hide resolved
"description": "Fast Base64 stream encoder/decoder in C99, with SIMD acceleration ",
"homepage": "https://github.com/aklomp/base64",
"license": "BSD-2-Clause",
BurningEnlightenment marked this conversation as resolved.
Show resolved Hide resolved
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
9 changes: 9 additions & 0 deletions versions/b-/base64.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5f8ded2aab08aaf0eb85951517160d1a647e9698",
"version-semver": "0.5.0",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@
"baseline": "2.0.0.1",
"port-version": 1
},
"base64": {
"baseline": "0.5.0",
"port-version": 0
},
"basisu": {
"baseline": "1.11",
"port-version": 6
Expand Down