mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:53:02 +08:00
[restinio] Update to 0.7.0 (#35083)
* RESTinio updated to v.0.7.0. * Fix manifest format. * x-add-version for RESTinio-0.7.0. * Remove files that not needed anymore. * x-add-version for updated RESTinio port. * Remove comment with vim settings. * x-add-version for updated RESTinio's portfile.
This commit is contained in:
parent
6b07285422
commit
b54e364833
@ -1,12 +0,0 @@
|
||||
diff --git a/dev/restinio/cmake/restinio-config.cmake.in b/dev/restinio/cmake/restinio-config.cmake.in
|
||||
index b8df667..02db4d8 100644
|
||||
--- a/dev/restinio/cmake/restinio-config.cmake.in
|
||||
+++ b/dev/restinio/cmake/restinio-config.cmake.in
|
||||
@@ -1,3 +1,7 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
+include(CMakeFindDependencyMacro)
|
||||
+find_dependency(unofficial-http-parser)
|
||||
+find_dependency(fmt)
|
||||
+
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/restinio-targets.cmake)
|
@ -1,10 +0,0 @@
|
||||
diff --git a/vcpkg/CMakeLists.txt b/vcpkg/CMakeLists.txt
|
||||
index 2c36cda..be3d6ce 100644
|
||||
--- a/vcpkg/CMakeLists.txt
|
||||
+++ b/vcpkg/CMakeLists.txt
|
||||
@@ -1,4 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.3)
|
||||
+project(restinio-vcpkg CXX)
|
||||
|
||||
SET(CMAKE_CXX_STANDARD 14)
|
||||
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
|
@ -2,18 +2,27 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO stiffstream/restinio
|
||||
REF "v.${VERSION}"
|
||||
SHA512 0d69567a68f17f3ad30978f1ee165e673f77332f519c2e9429284d87886f90c0dea46b8dcaedb55cf4c1611eca79b9196178e37deb56ad89272ca19382f290bc
|
||||
PATCHES
|
||||
fix-cmake-config.diff
|
||||
fix-project.diff
|
||||
SHA512 de9929d9ed6acf9574482ffa3f865a550e319716c9cfc5a9e2e9f604169206df022d55e0e55174c66f0edc04a4491c028755272067e55ae646ecfccc1573f78f
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/vcpkg"
|
||||
SOURCE_PATH "${SOURCE_PATH}/dev"
|
||||
OPTIONS
|
||||
-DRESTINIO_INSTALL=ON
|
||||
-DRESTINIO_TEST=OFF
|
||||
-DRESTINIO_SAMPLE=OFF
|
||||
-DRESTINIO_BENCHMARK=OFF
|
||||
-DRESTINIO_WITH_SOBJECTIZER=OFF
|
||||
-DRESTINIO_ASIO_SOURCE=standalone
|
||||
-DRESTINIO_DEP_STANDALONE_ASIO=find
|
||||
-DRESTINIO_DEP_LLHTTP=find
|
||||
-DRESTINIO_DEP_FMT=find
|
||||
-DRESTINIO_DEP_EXPECTED_LITE=find
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/restinio)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
{
|
||||
"name": "restinio",
|
||||
"version": "0.6.19",
|
||||
"version": "0.7.0",
|
||||
"description": "A header-only C++14 library that gives you an embedded HTTP/Websocket server targeted primarily for asynchronous processing of HTTP-requests.",
|
||||
"homepage": "https://github.com/Stiffstream/restinio",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
"asio",
|
||||
"expected-lite",
|
||||
"fmt",
|
||||
"http-parser",
|
||||
"llhttp",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
@ -7429,7 +7429,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"restinio": {
|
||||
"baseline": "0.6.19",
|
||||
"baseline": "0.7.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"rexo": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "06ab98765576c8b3d11f5a9a1d4125e0176c482a",
|
||||
"version": "0.7.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "fa95495106621bad74854c9f376a2c5e1b936f05",
|
||||
"version": "0.6.19",
|
||||
|
Loading…
Reference in New Issue
Block a user