Skip to content

Commit

Permalink
[datraw] Add new port (#36183)
Browse files Browse the repository at this point in the history
* [datraw] new port

* header-only
  • Loading branch information
moritz-h authored Jan 19, 2024
1 parent d0b17db commit 15ee6c3
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ports/datraw/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set(VCPKG_BUILD_TYPE release) # header-only library

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO UniStuttgart-VISUS/datraw
REF "v${VERSION}"
SHA512 f38401e0e878f8df8e1b7b9750f4e7fec6920495bfb914a694aab166a0ffbda6dec189693a0d5b9aadb760789706e255f49a382d4e902002aef7120033dce016
HEAD_REF master
)

file(COPY "${SOURCE_PATH}/datraw/datraw.h" "${SOURCE_PATH}/datraw/datraw"
DESTINATION "${CURRENT_PACKAGES_DIR}/include")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENCE.md")
7 changes: 7 additions & 0 deletions ports/datraw/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "datraw",
"version": "1.0.9",
"description": "C++ reimplementation of VIS's datraw library.",
"homepage": "https://github.com/UniStuttgart-VISUS/datraw",
"license": "MIT"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2108,6 +2108,10 @@
"baseline": "3.0.1",
"port-version": 5
},
"datraw": {
"baseline": "1.0.9",
"port-version": 0
},
"dav1d": {
"baseline": "1.3.0",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/d-/datraw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b125e43a3f58c35a31755006e118216a94c72036",
"version": "1.0.9",
"port-version": 0
}
]
}

0 comments on commit 15ee6c3

Please sign in to comment.