diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2021-09-15 03:01:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-14 12:01:57 -0700 |
| commit | a35e2377cfb8a48aa5a5fdfb0d94b9e598c0b782 (patch) | |
| tree | b581fdece6a99cafaf1d2df96cbabd24ee4d701e /ports/cimg | |
| parent | e201002b4f4827d7b7b672f0c5c672a77fc3b77d (diff) | |
| download | vcpkg-a35e2377cfb8a48aa5a5fdfb0d94b9e598c0b782.tar.gz vcpkg-a35e2377cfb8a48aa5a5fdfb0d94b9e598c0b782.zip | |
[cimg/libgd/libfabric] Update to latest release version (#20068)
* [cimg/libgd/libfabric] Update to latest release version
* Remove empty line
* [libgd] Update the patch
* Small changes
* [libgd] Update to version semver
Diffstat (limited to 'ports/cimg')
| -rw-r--r-- | ports/cimg/portfile.cmake | 24 | ||||
| -rw-r--r-- | ports/cimg/vcpkg.json | 11 |
2 files changed, 20 insertions, 15 deletions
diff --git a/ports/cimg/portfile.cmake b/ports/cimg/portfile.cmake index 98b9c25d6..8e128a33e 100644 --- a/ports/cimg/portfile.cmake +++ b/ports/cimg/portfile.cmake @@ -1,21 +1,21 @@ vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH - REPO "dtschump/CImg" - REF a0e7ecb55130bdf90756033c1e1470eae4b88c1a #v2.9.4 + REPO dtschump/CImg + REF b33dcc8f9f1acf1f276ded92c04f8231f6c23fcd # v2.9.9 + SHA512 327c72320e7cac386ba72d417c45b9e8b40df34650370c34e687c362731919af1b447b2ee498f21278d4af155f0d9dbfabd222856d5f18c2e05569fa638a5909 HEAD_REF master - SHA512 0fc814b67ce9f035a68308850117b40cb54d731cb559bf1b6f46e1ec1e29d473e805818018ac411529b51510468cfbe4427aa52a354f919d7f1ce84bd285a47d) +) -file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) +file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" ) -vcpkg_install_cmake() +vcpkg_cmake_install() # Move cmake files, ensuring they will be 3 directories up the import prefix -file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/${PORT}) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug) +file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") -file(INSTALL ${SOURCE_PATH}/Licence_CeCILL-C_V1-en.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -file(INSTALL ${SOURCE_PATH}/Licence_CeCILL_V2-en.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright2) +file(INSTALL "${SOURCE_PATH}/Licence_CeCILL-C_V1-en.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +file(INSTALL "${SOURCE_PATH}/Licence_CeCILL_V2-en.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright2) diff --git a/ports/cimg/vcpkg.json b/ports/cimg/vcpkg.json index c7e58a67c..cc1c448bd 100644 --- a/ports/cimg/vcpkg.json +++ b/ports/cimg/vcpkg.json @@ -1,7 +1,12 @@ { "name": "cimg", - "version-string": "2.9.4", - "port-version": 1, + "version": "2.9.9", "description": "The CImg Library is a small, open-source, and modern C++ toolkit for image processing", - "homepage": "https://github.com/dtschump/CImg" + "homepage": "https://github.com/dtschump/CImg", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] } |
