mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:18:05 +08:00
[sail] Remove feature svg (#30233)
* [sail] Remove feature svg * update version * update version
This commit is contained in:
parent
956745569c
commit
321262837d
@ -9,7 +9,7 @@ vcpkg_from_github(
|
||||
# Enable selected codecs
|
||||
set(ONLY_CODECS "")
|
||||
|
||||
foreach(CODEC avif bmp gif ico jpeg jpeg2000 pcx png psd qoi svg tga tiff wal webp xbm)
|
||||
foreach(CODEC avif bmp gif ico jpeg jpeg2000 pcx png psd qoi tga tiff wal webp xbm)
|
||||
if (${CODEC} IN_LIST FEATURES)
|
||||
list(APPEND ONLY_CODECS ${CODEC})
|
||||
endif()
|
||||
@ -19,7 +19,6 @@ list(JOIN ONLY_CODECS "\;" ONLY_CODECS_ESCAPED)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
|
||||
OPTIONS
|
||||
-DSAIL_COMBINE_CODECS=ON
|
||||
-DSAIL_ONLY_CODECS=${ONLY_CODECS_ESCAPED}
|
||||
@ -57,4 +56,4 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sail/sail-common/config.h"
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "sail",
|
||||
"version-semver": "0.9.0-rc3",
|
||||
"port-version": 1,
|
||||
"description": "The missing small and fast image decoding library for humans (not for machines)",
|
||||
"homepage": "https://github.com/HappySeaFox/sail",
|
||||
"license": "MIT",
|
||||
@ -133,9 +134,6 @@
|
||||
"qoi": {
|
||||
"description": "Enable QOI codec"
|
||||
},
|
||||
"svg": {
|
||||
"description": "Enable SVG codec"
|
||||
},
|
||||
"tga": {
|
||||
"description": "Enable TGA codec"
|
||||
},
|
||||
|
@ -7038,7 +7038,7 @@
|
||||
},
|
||||
"sail": {
|
||||
"baseline": "0.9.0-rc3",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"sais": {
|
||||
"baseline": "2.4.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "66576c788934d4684f862ba663b49f1bb80c4d4d",
|
||||
"version-semver": "0.9.0-rc3",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3ead16b38ab4954a49a3c353b5f7b6fdaf5b7b42",
|
||||
"version-semver": "0.9.0-rc3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user