aboutsummaryrefslogtreecommitdiff
path: root/ports/arcus
diff options
context:
space:
mode:
authorJonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>2021-09-08 12:41:40 +0800
committerGitHub <noreply@github.com>2021-09-07 21:41:40 -0700
commitd1657f4c9b0dedbfd917fc3ffba16f0e106b9fb5 (patch)
treeca17091a4bc8f2986240a0d9e063e96e8e0bd2f6 /ports/arcus
parent8ef3e28099e0d807c6be79520ed217dbcc5c4e85 (diff)
downloadvcpkg-d1657f4c9b0dedbfd917fc3ffba16f0e106b9fb5.tar.gz
vcpkg-d1657f4c9b0dedbfd917fc3ffba16f0e106b9fb5.zip
[arcus/any-lite/aixlog] Update to the latest version (#19977)
* [arcus/any-lite/aixlog] Update to the latest version * update version * Apply requested changes * update version * update vcpkg.json * update version
Diffstat (limited to 'ports/arcus')
-rw-r--r--ports/arcus/CONTROL6
-rw-r--r--ports/arcus/portfile.cmake15
-rw-r--r--ports/arcus/vcpkg.json18
3 files changed, 25 insertions, 14 deletions
diff --git a/ports/arcus/CONTROL b/ports/arcus/CONTROL
deleted file mode 100644
index 297d3b055..000000000
--- a/ports/arcus/CONTROL
+++ /dev/null
@@ -1,6 +0,0 @@
-Source: arcus
-Version: 4.8.0
-Homepage: https://github.com/Ultimaker/libArcus
-Description: This library contains C++ bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library.
-Supports: !uwp
-Build-Depends: protobuf
diff --git a/ports/arcus/portfile.cmake b/ports/arcus/portfile.cmake
index a149c1696..d22a64d30 100644
--- a/ports/arcus/portfile.cmake
+++ b/ports/arcus/portfile.cmake
@@ -3,28 +3,27 @@ vcpkg_fail_port_install(ON_TARGET "UWP")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Ultimaker/libArcus
- REF 4.8.0
- SHA512 44db9b48ab6be08c30f2121d68197a7347eaf3ee255649969a773afbe45ec2433e2cc082aa72f6d40dad7ea28345da858471fff9a129365a4e848df8c8c07689
+ REF 617f6f71572090f73cb44592b12f49567b539e5b #v4.10.0
+ SHA512 cf0954d8b10d9f94165aa5c086d0e58c2925464f9fbe4252535c36d7e6bb12b767d89efb816c9e642f9cd7f0ec0d66d61ca21c5121a05340499d38d5d851f73b
HEAD_REF master
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_PYTHON=OFF
-DBUILD_EXAMPLES=OFF
-DBUILD_STATIC=${ENABLE_STATIC}
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
vcpkg_copy_pdbs()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Arcus TARGET_PATH share/arcus)
+vcpkg_cmake_config_fixup(PACKAGE_NAME Arcus CONFIG_PATH lib/cmake/Arcus)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/arcus/copyright" COPYONLY) \ No newline at end of file
+configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) \ No newline at end of file
diff --git a/ports/arcus/vcpkg.json b/ports/arcus/vcpkg.json
new file mode 100644
index 000000000..bb3d46b35
--- /dev/null
+++ b/ports/arcus/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "arcus",
+ "version-semver": "4.10.0",
+ "description": "This library contains C++ bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library.",
+ "homepage": "https://github.com/Ultimaker/libArcus",
+ "supports": "!uwp",
+ "dependencies": [
+ "protobuf",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}