mirror of https://github.com/microsoft/vcpkg.git
[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:
parent
6da16a9600
commit
e287d598bc
|
|
@ -1,37 +1,37 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO samtools/htscodecs
|
||||
REF "v${VERSION}"
|
||||
SHA512 79393d6e38677a5538c8e8a4d0077012368476b87fc729acfb1f2e5737d0bd0dd0873e86b0090a9ac5227113ff834cfb30a264afd524038fcef6ba91128495eb
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
0001-no-tests.patch # https://github.com/samtools/htscodecs/pull/120
|
||||
configure_bz2.patch
|
||||
)
|
||||
|
||||
set(FEATURE_OPTIONS "")
|
||||
|
||||
macro(enable_feature feature switch)
|
||||
if("${feature}" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_OPTIONS "--enable-${switch}")
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS "--disable-${switch}")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
enable_feature("bzip2" "bz2")
|
||||
|
||||
vcpkg_make_configure(
|
||||
AUTORECONF
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_make_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO samtools/htscodecs
|
||||
REF "v${VERSION}"
|
||||
SHA512 f89ab2d70a27dc63c30c8dc89b4102b3e18a6a3341814448acc45e304dbf766915e532dba449342fc53c481414268fe662c9389898bd76a10db90725ac3d2f83
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
0001-no-tests.patch # https://github.com/samtools/htscodecs/pull/120
|
||||
configure_bz2.patch
|
||||
)
|
||||
|
||||
set(FEATURE_OPTIONS "")
|
||||
|
||||
macro(enable_feature feature switch)
|
||||
if("${feature}" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_OPTIONS "--enable-${switch}")
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS "--disable-${switch}")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
enable_feature("bzip2" "bz2")
|
||||
|
||||
vcpkg_make_configure(
|
||||
AUTORECONF
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_make_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
"name": "htscodecs",
|
||||
"version": "1.6.6",
|
||||
"port-version": 1,
|
||||
"version": "1.6.7",
|
||||
"description": "Custom compression for CRAM and others.",
|
||||
"homepage": "https://github.com/samtools/htscodecs",
|
||||
"license": "MIT",
|
||||
"license": null,
|
||||
"supports": "!windows",
|
||||
"dependencies": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3869,8 +3869,8 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"htscodecs": {
|
||||
"baseline": "1.6.6",
|
||||
"port-version": 1
|
||||
"baseline": "1.6.7",
|
||||
"port-version": 0
|
||||
},
|
||||
"htslib": {
|
||||
"baseline": "1.23.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "91ca111721e0f70ac37e021d12bd45cab53ad406",
|
||||
"version": "1.6.7",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "86df5a61591944647b05260ee413b712a5c24d3c",
|
||||
"version": "1.6.6",
|
||||
|
|
|
|||
Loading…
Reference in New Issue