[libqrencode] fix feature tools (#30103)

This commit is contained in:
autoantwort 2023-03-13 04:59:51 +01:00 committed by GitHub
parent ff5e394293
commit 01ddb47f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -44,6 +44,9 @@ if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/qrencode${EXECUTABLE_SUFFIX}")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/qrencode") file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/qrencode")
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/qrencode${EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/tools/qrencode/qrencode${EXECUTABLE_SUFFIX}") file(RENAME "${CURRENT_PACKAGES_DIR}/bin/qrencode${EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/tools/qrencode/qrencode${EXECUTABLE_SUFFIX}")
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/qrencode") vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/qrencode")
if (NOT VCPKG_TARGET_IS_WINDOWS OR VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
endif() endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,7 +1,7 @@
{ {
"name": "libqrencode", "name": "libqrencode",
"version-semver": "4.1.1", "version-semver": "4.1.1",
"port-version": 1, "port-version": 2,
"description": "libqrencode - a fast and compact QR Code encoding library", "description": "libqrencode - a fast and compact QR Code encoding library",
"homepage": "https://github.com/fukuchi/libqrencode", "homepage": "https://github.com/fukuchi/libqrencode",
"dependencies": [ "dependencies": [

View File

@ -4326,7 +4326,7 @@
}, },
"libqrencode": { "libqrencode": {
"baseline": "4.1.1", "baseline": "4.1.1",
"port-version": 1 "port-version": 2
}, },
"librabbitmq": { "librabbitmq": {
"baseline": "0.11.0", "baseline": "0.11.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "95a96c8314e54441e3ee64dd92d3c7b9d9f409f1",
"version-semver": "4.1.1",
"port-version": 2
},
{ {
"git-tree": "52b904615b0dcea800292c9eaf2f06da32f2160d", "git-tree": "52b904615b0dcea800292c9eaf2f06da32f2160d",
"version-semver": "4.1.1", "version-semver": "4.1.1",