diff --git a/ports/datraw/portfile.cmake b/ports/datraw/portfile.cmake new file mode 100644 index 0000000000..0226cc19e7 --- /dev/null +++ b/ports/datraw/portfile.cmake @@ -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") diff --git a/ports/datraw/vcpkg.json b/ports/datraw/vcpkg.json new file mode 100644 index 0000000000..428deb8e2c --- /dev/null +++ b/ports/datraw/vcpkg.json @@ -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" +} diff --git a/versions/baseline.json b/versions/baseline.json index 1d9935e905..13f9a9dc67 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/d-/datraw.json b/versions/d-/datraw.json new file mode 100644 index 0000000000..f91e7ec0a0 --- /dev/null +++ b/versions/d-/datraw.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b125e43a3f58c35a31755006e118216a94c72036", + "version": "1.0.9", + "port-version": 0 + } + ] +}