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

[clipboardxx] Add new port #24023

Merged
merged 17 commits into from
Apr 14, 2022
Merged
14 changes: 14 additions & 0 deletions ports/clipboardcxx/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Download the code from GitHub
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Arian8j2/ClipboardXX
REF d404c39ba384f8e16555610b3633cd7b58d84c59
SHA512 503bc78cd9fd6096fa92524973d19cbc9169fca91450837a2af7f1518eb928dce10c01e446de1ab76ae0dc366b26831df403f021118fe5c3c2eaeb4d752f638f
HEAD_REF master
)

# Install the header only source files to the right location
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})

# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
6 changes: 6 additions & 0 deletions ports/clipboardcxx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "clipboardcxx",
"version-date": "2022-02-04",
"description": "Header only, lightweight and cross platform C++ library for copy and paste text from clipboard.",
"license": "MIT"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,10 @@
"baseline": "1.5.0",
"port-version": 0
},
"clipboardcxx": {
"baseline": "2022-02-04",
"port-version": 0
},
"clipp": {
"baseline": "2019-04-30",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/c-/clipboardcxx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "92f575bce3f4eb282588c2aa54644cfd3088643a",
"version-date": "2022-02-04",
"port-version": 0
}
]
}