mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +08:00
libtracepoint, libeventheader-tracepoint, libeventheader-decode (#31571)
* New ports: libtracepoint, libeventheader-decode, libeventheader-tracepoint * Versions: libtracepoint, libeventheader-decode, libeventheader-tracepoint
This commit is contained in:
parent
f5b0415c54
commit
b9fc501b62
24
ports/libeventheader-decode/portfile.cmake
Normal file
24
ports/libeventheader-decode/portfile.cmake
Normal file
@ -0,0 +1,24 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO "microsoft/LinuxTracepoints"
|
||||
REF f3a5b3e4c12a19924a4d6fc30a7681742fd7eb01
|
||||
SHA512 f94a3cf1367ec4749f40217923f1158da40caaf5cd75529d1ca9a5e8b51c581f0aec286f715a88b6203f9979a2e32ad69efde1738a12fa71a0301b8ddbfcc6e4
|
||||
HEAD_REF main)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/libeventheader-decode-cpp"
|
||||
OPTIONS
|
||||
-DBUILD_SAMPLES=OFF
|
||||
-DBUILD_TOOLS=OFF)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME eventheader-decode
|
||||
CONFIG_PATH lib/cmake/eventheader-decode)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
22
ports/libeventheader-decode/vcpkg.json
Normal file
22
ports/libeventheader-decode/vcpkg.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "libeventheader-decode",
|
||||
"version": "1.0.0",
|
||||
"description": "EventHeader tracepoint decoding classes for C++",
|
||||
"homepage": "https://github.com/microsoft/LinuxTracepoints/",
|
||||
"license": "MIT",
|
||||
"supports": "linux | windows",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "libeventheader-tracepoint",
|
||||
"version>=": "1.0.0"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
37
ports/libeventheader-tracepoint/portfile.cmake
Normal file
37
ports/libeventheader-tracepoint/portfile.cmake
Normal file
@ -0,0 +1,37 @@
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
set(VCPKG_BUILD_TYPE release) # Windows port only includes headers.
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO "microsoft/LinuxTracepoints"
|
||||
REF f3a5b3e4c12a19924a4d6fc30a7681742fd7eb01
|
||||
SHA512 f94a3cf1367ec4749f40217923f1158da40caaf5cd75529d1ca9a5e8b51c581f0aec286f715a88b6203f9979a2e32ad69efde1738a12fa71a0301b8ddbfcc6e4
|
||||
HEAD_REF main)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/libeventheader-tracepoint"
|
||||
OPTIONS
|
||||
-DBUILD_SAMPLES=OFF
|
||||
-DBUILD_TOOLS=OFF)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME eventheader-tracepoint
|
||||
CONFIG_PATH lib/cmake/eventheader-tracepoint
|
||||
DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME eventheader-headers
|
||||
CONFIG_PATH lib/cmake/eventheader-headers)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
22
ports/libeventheader-tracepoint/vcpkg.json
Normal file
22
ports/libeventheader-tracepoint/vcpkg.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "libeventheader-tracepoint",
|
||||
"version": "1.0.0",
|
||||
"description": "EventHeader-encoded Linux tracepoints for C/C++",
|
||||
"homepage": "https://github.com/microsoft/LinuxTracepoints/",
|
||||
"license": "MIT",
|
||||
"supports": "linux | windows",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "libtracepoint",
|
||||
"version>=": "1.0.0"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
37
ports/libtracepoint/portfile.cmake
Normal file
37
ports/libtracepoint/portfile.cmake
Normal file
@ -0,0 +1,37 @@
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
set(VCPKG_BUILD_TYPE release) # Windows port only includes headers.
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO "microsoft/LinuxTracepoints"
|
||||
REF f3a5b3e4c12a19924a4d6fc30a7681742fd7eb01
|
||||
SHA512 f94a3cf1367ec4749f40217923f1158da40caaf5cd75529d1ca9a5e8b51c581f0aec286f715a88b6203f9979a2e32ad69efde1738a12fa71a0301b8ddbfcc6e4
|
||||
HEAD_REF main)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/libtracepoint"
|
||||
OPTIONS
|
||||
-DBUILD_SAMPLES=OFF
|
||||
-DBUILD_TESTS=OFF)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME tracepoint
|
||||
CONFIG_PATH lib/cmake/tracepoint
|
||||
DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME tracepoint-headers
|
||||
CONFIG_PATH lib/cmake/tracepoint-headers)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
18
ports/libtracepoint/vcpkg.json
Normal file
18
ports/libtracepoint/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "libtracepoint",
|
||||
"version": "1.0.0",
|
||||
"description": "Linux tracepoints interface for C/C++",
|
||||
"homepage": "https://github.com/microsoft/LinuxTracepoints/",
|
||||
"license": "MIT",
|
||||
"supports": "linux | windows",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -3992,6 +3992,14 @@
|
||||
"baseline": "2.1.12+20230128",
|
||||
"port-version": 0
|
||||
},
|
||||
"libeventheader-decode": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"libeventheader-tracepoint": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"libevhtp": {
|
||||
"baseline": "1.2.18",
|
||||
"port-version": 5
|
||||
@ -4624,6 +4632,10 @@
|
||||
"baseline": "2.0.9",
|
||||
"port-version": 0
|
||||
},
|
||||
"libtracepoint": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"libu2f-server": {
|
||||
"baseline": "1.1.0",
|
||||
"port-version": 5
|
||||
|
9
versions/l-/libeventheader-decode.json
Normal file
9
versions/l-/libeventheader-decode.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fd67531cc60d91c4d8b45da15cd7414b398b9cd7",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
9
versions/l-/libeventheader-tracepoint.json
Normal file
9
versions/l-/libeventheader-tracepoint.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d8ba8b72bb5c6dde050b85f84e01efb6b36d535c",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
9
versions/l-/libtracepoint.json
Normal file
9
versions/l-/libtracepoint.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f60f9a909a55a04c9bc87b6a3e10df5f0faec1a4",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user