mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 16:42:47 +08:00
[liburing] Update to version 2.1 (#24637)
* [liburing] Update to version 2.1 * format vcpkg.json * x-add-version * apply suggestion * version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
parent
a7dfa7d10f
commit
85f216ff85
@ -4,8 +4,8 @@ index fa4d970..8607074 100644
|
|||||||
+++ b/liburing.spec
|
+++ b/liburing.spec
|
||||||
@@ -1,5 +1,5 @@
|
@@ -1,5 +1,5 @@
|
||||||
Name: liburing
|
Name: liburing
|
||||||
-Version: 0.7
|
-Version: 2.0
|
||||||
+Version: 2.0
|
+Version: 2.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Linux-native io_uring I/O access library
|
Summary: Linux-native io_uring I/O access library
|
||||||
License: (GPLv2 with exceptions and LGPLv2+) or MIT
|
License: (GPLv2 with exceptions and LGPLv2+) or MIT
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO axboe/liburing
|
REPO axboe/liburing
|
||||||
REF liburing-2.0
|
REF 41a61c97c2e3df4475c93fdf5026d575ce3f1377 #liburing-2.1
|
||||||
SHA512 8a7b37600246d44a94d3fed1ca4bb60e76f9ddc60bd3c237e600b60e77961a1125c8a1f230cb7569f959acf10b68b91aafb4935c1c2fd13d5df7373b374e47f5
|
SHA512 adbfee9a775ff0977c192b52f5cc2c52b2b40bf5e7c0c1153d88b7767889c7c8a39863da0bce3ebed0f396a453e879633ecf1c79f4f2c4f89407ff896d8b6222
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
fix-spec-version.patch # update version value for pkgconfig(.pc) files
|
fix-spec-version.patch # update version value for pkgconfig(.pc) files
|
||||||
@ -11,22 +11,25 @@ vcpkg_from_github(
|
|||||||
|
|
||||||
# note: check ${SOURCE_PATH}/liburing.spec before updating configure options
|
# note: check ${SOURCE_PATH}/liburing.spec before updating configure options
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
COPY_SOURCE
|
COPY_SOURCE
|
||||||
)
|
)
|
||||||
vcpkg_install_make()
|
vcpkg_install_make()
|
||||||
vcpkg_fixup_pkgconfig()
|
vcpkg_fixup_pkgconfig()
|
||||||
|
|
||||||
file(INSTALL ${SOURCE_PATH}/LICENSE
|
file(INSTALL "${SOURCE_PATH}/LICENSE"
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
file(INSTALL ${CURRENT_PORT_DIR}/usage
|
file(INSTALL "${CURRENT_PORT_DIR}/usage"
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
|
|
||||||
# note: {SOURCE_PATH}/src/Makefile makes liburing.so from liburing.a.
|
# note: {SOURCE_PATH}/src/Makefile makes liburing.so from liburing.a.
|
||||||
# For dynamic, remove intermediate file liburing.a when install is finished.
|
# For dynamic, remove intermediate file liburing.a when install is finished.
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/lib/liburing.a
|
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/liburing.a"
|
||||||
${CURRENT_PACKAGES_DIR}/lib/liburing.a
|
"${CURRENT_PACKAGES_DIR}/lib/liburing.a"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/man)
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/man")
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/man2")
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/man3")
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/man7")
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "liburing",
|
"name": "liburing",
|
||||||
"version": "2.0",
|
"version": "2.1",
|
||||||
"port-version": 3,
|
|
||||||
"description": "Linux-native io_uring I/O access library",
|
"description": "Linux-native io_uring I/O access library",
|
||||||
"homepage": "https://github.com/axboe/liburing",
|
"homepage": "https://github.com/axboe/liburing",
|
||||||
|
"license": null,
|
||||||
"supports": "linux"
|
"supports": "linux"
|
||||||
}
|
}
|
||||||
|
@ -4125,8 +4125,8 @@
|
|||||||
"port-version": 3
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"liburing": {
|
"liburing": {
|
||||||
"baseline": "2.0",
|
"baseline": "2.1",
|
||||||
"port-version": 3
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"libusb": {
|
"libusb": {
|
||||||
"baseline": "1.0.26",
|
"baseline": "1.0.26",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "2abcbd2b104e5dbd5406cac8f3f9a3ae7fc47647",
|
||||||
|
"version": "2.1",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "10bf5144950610a1f587342c5107bf4fdfb52658",
|
"git-tree": "10bf5144950610a1f587342c5107bf4fdfb52658",
|
||||||
"version": "2.0",
|
"version": "2.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user