diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-21 15:21:11 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-21 15:21:11 -0800 |
| commit | 2906ad00d3d85b33bf6dda6145c1a97ba8d3cb32 (patch) | |
| tree | 41284ed91152a4f54d5de85537af474c2cfbc0c3 | |
| parent | 568d333c1f3380411c1f19e093e9124ea363a493 (diff) | |
| download | vcpkg-2906ad00d3d85b33bf6dda6145c1a97ba8d3cb32.tar.gz vcpkg-2906ad00d3d85b33bf6dda6145c1a97ba8d3cb32.zip | |
[nana] Update version to fix build error. Resolves #688
| -rw-r--r-- | ports/nana/CONTROL | 2 | ||||
| -rw-r--r-- | ports/nana/portfile.cmake | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/ports/nana/CONTROL b/ports/nana/CONTROL index e7692526f..96d79560f 100644 --- a/ports/nana/CONTROL +++ b/ports/nana/CONTROL @@ -1,4 +1,4 @@ Source: nana
-Version: 1.4.1
+Version: 1.4.1-66be23c9204c5567d1c51e6f57ba23bffa517a7c
Description: Cross-platform library for GUI programming in modern C++ style.
Build-Depends: zlib, libpng, libjpeg-turbo
diff --git a/ports/nana/portfile.cmake b/ports/nana/portfile.cmake index 66fca68fa..970590608 100644 --- a/ports/nana/portfile.cmake +++ b/ports/nana/portfile.cmake @@ -1,10 +1,11 @@ include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/nana)
+set(VERSION 66be23c9204c5567d1c51e6f57ba23bffa517a7c)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/nana-${VERSION})
vcpkg_download_distfile(ARCHIVE
- URLS "http://downloads.sourceforge.net/project/nanapro/Nana/Nana 1.x/nana 1.4.1.zip"
- FILENAME "nana 1.4.1.zip"
- SHA512 38a4fe4c9f932d0e69753c0c1e28d0c8f7cc1ab73c639b87dd5ba102ed25da1ee04c93ec5d6bb79945f7bc118cc131022604c75c1bb6eaced3a071eb137115cd)
+ URLS "https://github.com/cnjinhao/nana/archive/${VERSION}.zip"
+ FILENAME "nana-${VERSION}.zip"
+ SHA512 07a611850ebdd3be29fcc5dd199511af859da9e6ad9365b41900ab669e2c1c506c9c264a13a35d60b2d7906b577c8412f2423d67595b75f4de6f6c65b1db1f37)
vcpkg_extract_source_archive(${ARCHIVE})
@@ -32,5 +33,5 @@ endif() vcpkg_copy_pdbs()
-file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/nana)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/nana/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/nana/copyright)
+file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/nana)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/nana/LICENSE ${CURRENT_PACKAGES_DIR}/share/nana/copyright)
|
