[htscodecs] Update to 1.6.7 (#52593)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Weihang Ding 2026-06-27 02:09:05 +08:00 committed by GitHub
parent 6da16a9600
commit e287d598bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 46 additions and 42 deletions

View File

@ -1,37 +1,37 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO samtools/htscodecs REPO samtools/htscodecs
REF "v${VERSION}" REF "v${VERSION}"
SHA512 79393d6e38677a5538c8e8a4d0077012368476b87fc729acfb1f2e5737d0bd0dd0873e86b0090a9ac5227113ff834cfb30a264afd524038fcef6ba91128495eb SHA512 f89ab2d70a27dc63c30c8dc89b4102b3e18a6a3341814448acc45e304dbf766915e532dba449342fc53c481414268fe662c9389898bd76a10db90725ac3d2f83
HEAD_REF master HEAD_REF master
PATCHES PATCHES
0001-no-tests.patch # https://github.com/samtools/htscodecs/pull/120 0001-no-tests.patch # https://github.com/samtools/htscodecs/pull/120
configure_bz2.patch configure_bz2.patch
) )
set(FEATURE_OPTIONS "") set(FEATURE_OPTIONS "")
macro(enable_feature feature switch) macro(enable_feature feature switch)
if("${feature}" IN_LIST FEATURES) if("${feature}" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS "--enable-${switch}") list(APPEND FEATURE_OPTIONS "--enable-${switch}")
else() else()
list(APPEND FEATURE_OPTIONS "--disable-${switch}") list(APPEND FEATURE_OPTIONS "--disable-${switch}")
endif() endif()
endmacro() endmacro()
enable_feature("bzip2" "bz2") enable_feature("bzip2" "bz2")
vcpkg_make_configure( vcpkg_make_configure(
AUTORECONF AUTORECONF
SOURCE_PATH "${SOURCE_PATH}" SOURCE_PATH "${SOURCE_PATH}"
OPTIONS OPTIONS
${FEATURE_OPTIONS} ${FEATURE_OPTIONS}
) )
vcpkg_make_install() vcpkg_make_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_fixup_pkgconfig() vcpkg_fixup_pkgconfig()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

View File

@ -1,10 +1,9 @@
{ {
"name": "htscodecs", "name": "htscodecs",
"version": "1.6.6", "version": "1.6.7",
"port-version": 1,
"description": "Custom compression for CRAM and others.", "description": "Custom compression for CRAM and others.",
"homepage": "https://github.com/samtools/htscodecs", "homepage": "https://github.com/samtools/htscodecs",
"license": "MIT", "license": null,
"supports": "!windows", "supports": "!windows",
"dependencies": [ "dependencies": [
{ {

View File

@ -3869,8 +3869,8 @@
"port-version": 0 "port-version": 0
}, },
"htscodecs": { "htscodecs": {
"baseline": "1.6.6", "baseline": "1.6.7",
"port-version": 1 "port-version": 0
}, },
"htslib": { "htslib": {
"baseline": "1.23.1", "baseline": "1.23.1",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "91ca111721e0f70ac37e021d12bd45cab53ad406",
"version": "1.6.7",
"port-version": 0
},
{ {
"git-tree": "86df5a61591944647b05260ee413b712a5c24d3c", "git-tree": "86df5a61591944647b05260ee413b712a5c24d3c",
"version": "1.6.6", "version": "1.6.6",