aboutsummaryrefslogtreecommitdiff
path: root/ports/librsync
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-09-08 12:40:10 +0800
committerGitHub <noreply@github.com>2021-09-07 21:40:10 -0700
commit8ef3e28099e0d807c6be79520ed217dbcc5c4e85 (patch)
treef32d007a0770658982ac5f5cebab58d6a9539c8c /ports/librsync
parent4814a512905e288df1b5d544e60775abcc5a1ca0 (diff)
downloadvcpkg-8ef3e28099e0d807c6be79520ed217dbcc5c4e85.tar.gz
vcpkg-8ef3e28099e0d807c6be79520ed217dbcc5c4e85.zip
[libuv/librsync/libqrencode] Update to latest release version (#19972)
* [libuv/librsync/libqrencode] Update to latest release version * Update the baseline version * [libuv] Add new source file epoll.c * Update the source * Small changes
Diffstat (limited to 'ports/librsync')
-rw-r--r--ports/librsync/CONTROL6
-rw-r--r--ports/librsync/portfile.cmake34
-rw-r--r--ports/librsync/vcpkg.json13
3 files changed, 27 insertions, 26 deletions
diff --git a/ports/librsync/CONTROL b/ports/librsync/CONTROL
deleted file mode 100644
index bb1bb15f2..000000000
--- a/ports/librsync/CONTROL
+++ /dev/null
@@ -1,6 +0,0 @@
-Source: librsync
-Version: 2020-09-16
-Port-Version: 1
-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 a701f76ca..e9bb64ab9 100644
--- a/ports/librsync/portfile.cmake
+++ b/ports/librsync/portfile.cmake
@@ -5,44 +5,38 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO librsync/librsync
- REF d1938c387e86ab5bbf7cb2e84244229c5bbd5ebf # commit 2020-06-04
- SHA512 2afb844f20e6d74d8874b2022db5c4c4befa09f2cfcf5360ffcdd4fd3ef56270d3ab8de6be76fc68f8648d871c28f3bbe15e4f6f417c0776b542f86ac6a910cb
+ REF 42b636d2a65ab6914ea7cac50886da28192aaf9b # V2.3.2
+ SHA512 4903a64e327a7d49ae5f741b7b9fe3a76018010147249e2bc53917b06d31ee0f9b917f6c3e36a2d241ae66c19fa881113b59911d777742a859922486d9fe9c4c
HEAD_REF master
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_RDIFF:BOOL=OFF
-DENABLE_COMPRESSION:BOOL=OFF
-DENABLE_TRACE:BOOL=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
-if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/rsync.dll)
- file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
- file(RENAME ${CURRENT_PACKAGES_DIR}/lib/rsync.dll ${CURRENT_PACKAGES_DIR}/bin/rsync.dll)
+if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/rsync.dll")
+ file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/bin")
+ file(RENAME "${CURRENT_PACKAGES_DIR}/lib/rsync.dll" "${CURRENT_PACKAGES_DIR}/bin/rsync.dll")
endif()
-if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/rsync.dll)
- file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin)
- file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/rsync.dll ${CURRENT_PACKAGES_DIR}/debug/bin/rsync.dll)
+if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/rsync.dll")
+ file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/bin")
+ file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/rsync.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/rsync.dll")
endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/librsync_export.h
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/librsync_export.h"
"# ifdef LIBRSYNC_STATIC_DEFINE"
"# if 1 /* LIBRSYNC_STATIC_DEFINE */"
)
endif()
-file(INSTALL
- ${SOURCE_PATH}/COPYING
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
-)
-
vcpkg_copy_pdbs()
+file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/librsync/vcpkg.json b/ports/librsync/vcpkg.json
new file mode 100644
index 000000000..34aafdb9b
--- /dev/null
+++ b/ports/librsync/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "librsync",
+ "version-semver": "2.3.2",
+ "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",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
+ ]
+}