diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-07-09 05:02:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 14:02:34 -0700 |
| commit | 5e8bcc9d391205824cc5a369a86c68a071847612 (patch) | |
| tree | efd751ece42b607cc42a65662291f3c559c752cd /ports/libwebp | |
| parent | eb9c86f281de2a695b9c19e940c26d3d7f27d877 (diff) | |
| download | vcpkg-5e8bcc9d391205824cc5a369a86c68a071847612.tar.gz vcpkg-5e8bcc9d391205824cc5a369a86c68a071847612.zip | |
[Many ports] fix invalid character in feature name (#12306)
Diffstat (limited to 'ports/libwebp')
| -rw-r--r-- | ports/libwebp/CONTROL | 5 | ||||
| -rw-r--r-- | ports/libwebp/portfile.cmake | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/ports/libwebp/CONTROL b/ports/libwebp/CONTROL index b96114f05..a96f6c40c 100644 --- a/ports/libwebp/CONTROL +++ b/ports/libwebp/CONTROL @@ -1,5 +1,6 @@ Source: libwebp Version: 1.1.0 +Port-Version: 1 Homepage: https://github.com/webmproject/libwebp Description: WebP codec: library to encode and decode images in WebP format Default-Features: simd, nearlossless @@ -21,7 +22,7 @@ Feature: vwebp Description: Build the vwebp viewer tool. Build-Depends: opengl, freeglut (!osx) -Feature: vwebp_sdl +Feature: vwebp-sdl Description: Build the vwebp viewer tool. Build-Depends: libwebp[vwebp], sdl1 (windows) @@ -55,4 +56,4 @@ Description: Enable byte swap for 16 bit colorspaces. Feature: all Description: enable all features except for swap16bitcsp -Build-Depends: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl] (!osx), libwebp[extras] (!osx) +Build-Depends: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp-sdl] (!osx), libwebp[extras] (!osx) diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake index 81040ad05..9bea70aec 100644 --- a/ports/libwebp/portfile.cmake +++ b/ports/libwebp/portfile.cmake @@ -16,11 +16,12 @@ vcpkg_from_github( ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS - FEATURES # <- Keyword FEATURES is required because INVERTED_FEATURES are being used + FEATURES anim WEBP_BUILD_ANIM_UTILS gif2webp WEBP_BUILD_GIF2WEBP img2webp WEBP_BUILD_IMG2WEBP vwebp WEBP_BUILD_VWEBP + vwebp-sdl WEBP_HAVE_SDL info WEBP_BUILD_WEBPINFO mux WEBP_BUILD_WEBPMUX extras WEBP_BUILD_EXTRAS @@ -85,4 +86,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") endif() -file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libwebp" RENAME copyright) +file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |
