diff options
| author | Maximilian Kruse <maxkruse1996@gmail.com> | 2020-03-06 19:07:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-06 10:07:49 -0800 |
| commit | c520e1f3e072ae85454406bde4b15abae353d9a6 (patch) | |
| tree | bf6562ce4fae6c50fa3adbfd7a34fec7c52237f4 /ports/tinyfiledialogs | |
| parent | d0a465518ef185b3c0c9ef0cfced221181654448 (diff) | |
| download | vcpkg-c520e1f3e072ae85454406bde4b15abae353d9a6.tar.gz vcpkg-c520e1f3e072ae85454406bde4b15abae353d9a6.zip | |
[tinyfiledialogs] download from archive, not temporary ref (#10111)
* Update tinyfiledialogs to download from archive
I have additionally messaged the original maintainer about a fixed-version download, so we will finally have some consistent building of this package.
* Update ci.baseline.txt
* Update CONTROL
* Update portfile.cmake
* Change download path to be version specific
* Download Path now plain
* Change position of Supports tag
* Update package version
* Update portfile.cmake
Update portfile to download to a specified archive version name.
Diffstat (limited to 'ports/tinyfiledialogs')
| -rw-r--r-- | ports/tinyfiledialogs/CONTROL | 3 | ||||
| -rw-r--r-- | ports/tinyfiledialogs/portfile.cmake | 14 |
2 files changed, 13 insertions, 4 deletions
diff --git a/ports/tinyfiledialogs/CONTROL b/ports/tinyfiledialogs/CONTROL index 346c8f886..c4435bd77 100644 --- a/ports/tinyfiledialogs/CONTROL +++ b/ports/tinyfiledialogs/CONTROL @@ -1,4 +1,5 @@ Source: tinyfiledialogs -Version: 3.4.3 +Version: 3.4.3-1 Description: Highly portable and cross-platform dialogs for native inputbox, passwordbox, colorpicker and more Homepage: https://sourceforge.net/projects/tinyfiledialogs/ +Supports: !uwp diff --git a/ports/tinyfiledialogs/portfile.cmake b/ports/tinyfiledialogs/portfile.cmake index bc9dff033..5deecdc71 100644 --- a/ports/tinyfiledialogs/portfile.cmake +++ b/ports/tinyfiledialogs/portfile.cmake @@ -1,9 +1,17 @@ +vcpkg_fail_port_install(ON_TARGET "uwp") + vcpkg_check_linkage(ONLY_STATIC_LIBRARY) -vcpkg_from_git( +vcpkg_download_distfile(ARCHIVE + URLS "https://sourceforge.net/projects/tinyfiledialogs/files/v3.4/tinyfiledialogs-3.4.3.zip/download" + FILENAME "tinyfiledialogs-3.4.3.zip" + SHA512 b4a8c8fa5ff53a0972ce9dd1a4a473eaeb82689e5a47553b83e9220ea7e0ec582d87111728088ab6d314972e6531653b11fbd8c05c5e46fbe5bc4d29c7fe23fb +) + +vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH - URL https://git.code.sf.net/p/tinyfiledialogs/code - REF f7789c57db4269495a6702625351a15e5ee17542 + ARCHIVE ${ARCHIVE} + REF v3.4.3 ) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) |
