diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2020-09-23 06:36:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-22 15:36:04 -0700 |
| commit | 7339aea6f57e85a37ff14e887c5bc040c6f0ac41 (patch) | |
| tree | b255496e66688a8f082cea6ec6e524b9e4def95d /ports/librsync | |
| parent | 0890b5a25fb4d514a879712eecf4842669073f78 (diff) | |
| download | vcpkg-7339aea6f57e85a37ff14e887c5bc040c6f0ac41.tar.gz vcpkg-7339aea6f57e85a37ff14e887c5bc040c6f0ac41.zip | |
[Many ports] Update to the latest version or commit (#13560)
* [Many ports] Update to the latest version or commit
* [libplist] Update version
[libsync] Update patch format
* Update as review suggestions
* [libplist] Revert changes
Diffstat (limited to 'ports/librsync')
| -rw-r--r-- | ports/librsync/001-enable-static-libs.patch | 13 | ||||
| -rw-r--r-- | ports/librsync/CONTROL | 4 | ||||
| -rw-r--r-- | ports/librsync/portfile.cmake | 19 |
3 files changed, 12 insertions, 24 deletions
diff --git a/ports/librsync/001-enable-static-libs.patch b/ports/librsync/001-enable-static-libs.patch deleted file mode 100644 index 4512cdeb9..000000000 --- a/ports/librsync/001-enable-static-libs.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt
-index f0135cb..c30312a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -339,7 +339,7 @@ set(rsync_LIB_SRCS
- src/whole.c
- ${blake2_SRCS})
-
--add_library(rsync SHARED ${rsync_LIB_SRCS})
-+add_library(rsync ${rsync_LIB_SRCS})
- target_link_libraries(rsync ${blake2_LIBS})
-
- # Optionally link zlib and bzip2 if
diff --git a/ports/librsync/CONTROL b/ports/librsync/CONTROL index b17a132eb..2b16c9f75 100644 --- a/ports/librsync/CONTROL +++ b/ports/librsync/CONTROL @@ -1,3 +1,5 @@ Source: librsync
-Version: 2.0.2-1
+Version: 2020-09-16
Description: librsync is a library for calculating and applying network deltas, with an interface designed to ease integration into diverse network applications.
+Homepage: http://librsync.sourcefrog.net/
+Supports: !uwp
diff --git a/ports/librsync/portfile.cmake b/ports/librsync/portfile.cmake index f39578dd3..6344688e4 100644 --- a/ports/librsync/portfile.cmake +++ b/ports/librsync/portfile.cmake @@ -1,23 +1,22 @@ -include(vcpkg_common_functions)
+vcpkg_fail_port_install(ON_TARGET "uwp")
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO librsync/librsync
- REF v2.0.2
- SHA512 5d2bc1d62b37e9ed7416203615d0a0e3c05c4c884b5da63eda10dd5c985845b500331bce226e4d45676729382c85b41528282e25d491afda31ba434ac0fefad7
+ REF d1938c387e86ab5bbf7cb2e84244229c5bbd5ebf # commit 2020-06-04
+ SHA512 2afb844f20e6d74d8874b2022db5c4c4befa09f2cfcf5360ffcdd4fd3ef56270d3ab8de6be76fc68f8648d871c28f3bbe15e4f6f417c0776b542f86ac6a910cb
HEAD_REF master
- PATCHES
- 001-enable-static-libs.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS -DBUILD_RDIFF:BOOL=OFF
- -DENABLE_COMPRESSION:BOOL=OFF
- -DENABLE_TRACE:BOOL=OFF
+ OPTIONS
+ -DBUILD_RDIFF:BOOL=OFF
+ -DENABLE_COMPRESSION:BOOL=OFF
+ -DENABLE_TRACE:BOOL=OFF
)
vcpkg_install_cmake()
@@ -36,7 +35,7 @@ endif() file(INSTALL
${SOURCE_PATH}/COPYING
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/librsync RENAME copyright
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
)
-vcpkg_copy_pdbs()
+vcpkg_copy_pdbs()
\ No newline at end of file |
