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

[saucer, lockpp] add new port #25111

Merged
merged 13 commits into from
Jun 16, 2022
15 changes: 15 additions & 0 deletions ports/lockpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Soundux/lockpp
REF v1.0.2
SHA512 6d92d3bbcbad3e2afd844ab95526e1eb49a7722d0d9d972ff85df561bbb9dc0b7a8aa5c83847f6832a806e52dde427ec0bcd11570b095d9cce7e35b3717e1f51
HEAD_REF master
)

vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})

vcpkg_cmake_install()


file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
13 changes: 13 additions & 0 deletions ports/lockpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "lockpp",
"version": "1.0.2",
"description": "A C++17 Library that provides mutex protected objects",
"homepage": "https://github.com/Soundux/lockpp",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
19 changes: 19 additions & 0 deletions ports/saucer/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO saucer/saucer
REF e7040e95c9cd13d831feed70e5d07ce06be6149d
SHA512 54d7142f6bb81d568d0ee67af97ab443bdaca2c9ddfdb26cdb0d7afc1fb8366583aaaf34ce56bfa99dfff7559e4bfe17b48e6c07f6fd8be4cfa938fb8e35ac39
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS -Dsaucer_prefer_remote=OFF
)

vcpkg_cmake_install()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
30 changes: 30 additions & 0 deletions ports/saucer/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "saucer",
"version": "1.0.0",
"description": "Next-gen desktop apps with web-frontend in C++",
"homepage": "https://saucer.github.io/",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
"fmt",
"lockpp",
"nlohmann-json",
{
"name": "qt5-webchannel",
"platform": "!windows"
},
{
"name": "qt5-webengine",
"platform": "!windows"
},
"tl-expected",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "wil",
"platform": "windows"
}
]
}
10 changes: 9 additions & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@
},
"hareflow": {
"baseline": "0.1.0",
"port-version": 0
"port-version": 0
},
"harfbuzz": {
"baseline": "4.2.0",
Expand Down Expand Up @@ -4288,6 +4288,10 @@
"baseline": "0.9.29",
"port-version": 2
},
"lockpp": {
"baseline": "1.0.2",
"port-version": 0
},
"lodepng": {
"baseline": "2021-12-04",
"port-version": 1
Expand Down Expand Up @@ -6360,6 +6364,10 @@
"baseline": "3.6.2",
"port-version": 0
},
"saucer": {
"baseline": "1.0.0",
"port-version": 0
},
"sbp": {
"baseline": "3.4.10",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/l-/lockpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a186ea76115669b87e581cdc125423e950322d70",
"version": "1.0.2",
"port-version": 0
}
]
}
9 changes: 9 additions & 0 deletions versions/s-/saucer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "c6273805c7643e96fd6367ab4cab588fb5ba2c05",
"version": "1.0.0",
"port-version": 0
}
]
}