diff options
| author | Daniel <supsuper@gmail.com> | 2019-03-11 20:15:08 +0000 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-03-11 13:15:08 -0700 |
| commit | 7dcf30197ec2988eb6725e920ffa6527bce3a150 (patch) | |
| tree | 1742f99577e79265789ccac72866580f4f592c24 /ports/sdl2-gfx | |
| parent | 37ddeed0ead71cf4fa3770b5affb83a2a9230976 (diff) | |
| download | vcpkg-7dcf30197ec2988eb6725e920ffa6527bce3a150.tar.gz vcpkg-7dcf30197ec2988eb6725e920ffa6527bce3a150.zip | |
Update various SDL2-based libraries (#5623)
* [sdl2-gfx] Update to 1.0.4
* [sdl2-mixer] Update to 2.0.4 (#4934)
* [sdl2-image] Update to 2.0.4
* [sdl2-ttf] Update to 2.0.15
* [sdl2-gfx,-image,-ttf] Use vcpkg_extract_source_archive_ex()
Diffstat (limited to 'ports/sdl2-gfx')
| -rw-r--r-- | ports/sdl2-gfx/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sdl2-gfx/portfile.cmake | 18 |
2 files changed, 14 insertions, 6 deletions
diff --git a/ports/sdl2-gfx/CONTROL b/ports/sdl2-gfx/CONTROL index a06c8abcb..950afc00f 100644 --- a/ports/sdl2-gfx/CONTROL +++ b/ports/sdl2-gfx/CONTROL @@ -1,4 +1,4 @@ Source: sdl2-gfx -Version: 1.0.3-3 +Version: 1.0.4 Build-Depends: sdl2 Description: Graphics primitives (line, circle, rectangle etc.) with AA support, rotozoomer and other drawing related support functions wrapped up in a C based add-on library for the Simple Direct Media (SDL) cross-platform API layer. diff --git a/ports/sdl2-gfx/portfile.cmake b/ports/sdl2-gfx/portfile.cmake index f7c2d63f6..9cc6a6ca8 100644 --- a/ports/sdl2-gfx/portfile.cmake +++ b/ports/sdl2-gfx/portfile.cmake @@ -1,11 +1,19 @@ include(vcpkg_common_functions) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/SDL2_gfx-1.0.3) + +set(VERSION 1.0.4) + vcpkg_download_distfile(ARCHIVE - URLS "http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-1.0.3.zip" - FILENAME "SDL2_gfx-1.0.3.zip" - SHA512 f68485f71acf979aba68f3575f260fbc95a59496a9639498bcff80ffbfdb157c82a44bb5a0b0e3b1e157376ea4ff2f196f50466e6f24d850f94cfe7c24b1a497 + URLS "http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${VERSION}.zip" + FILENAME "SDL2_gfx-${VERSION}.zip" + SHA512 213b481469ba2161bd8558a7a5427b129420193b1c3895923d515f69f87991ed2c99bbc44349c60b4bcbb7d7d2255c1f15ee8a3523c26502070cfaacccaa5242 ) -vcpkg_extract_source_archive(${ARCHIVE}) + +vcpkg_extract_source_archive_ex( + OUT_SOURCE_PATH SOURCE_PATH + ARCHIVE ${ARCHIVE} + REF ${VERSION} +) + file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) vcpkg_configure_cmake( |
