[libdicom] Add new port (#45121)

This commit is contained in:
myd7349 2025-04-24 02:51:14 +08:00 committed by GitHub
parent 983621a752
commit acd65983f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ImagingDataCommons/libdicom
REF "v${VERSION}"
SHA512 dd3145721436eaab80e14750210c1b7528a0d23b77aa2e94acfd1bb24d22e3e3a616133f48244aa1927bf835a5d541c3ca3136518b740cd58114cd753f662917
HEAD_REF main
)
vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dtests=false
)
vcpkg_install_meson()
vcpkg_copy_pdbs()
vcpkg_copy_tools(TOOL_NAMES dcm-dump dcm-getframe AUTO_CLEAN)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

16
ports/libdicom/vcpkg.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "libdicom",
"version": "1.2.0",
"description": "libdicom is a C library and a set of command-line tools for reading DICOM WSI files",
"homepage": "https://github.com/ImagingDataCommons/libdicom",
"documentation": "https://libdicom.readthedocs.io/en/latest/",
"license": "MIT",
"supports": "!android & !uwp & !(arm64 & windows)",
"dependencies": [
"uthash",
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}

View File

@ -4548,6 +4548,10 @@
"baseline": "1.23",
"port-version": 0
},
"libdicom": {
"baseline": "1.2.0",
"port-version": 0
},
"libdisasm": {
"baseline": "0.23",
"port-version": 11

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b0bd7c81e911db67f34976ce8c4a35179fb70768",
"version": "1.2.0",
"port-version": 0
}
]
}