mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[libevdev] add new port (#44626)
This commit is contained in:
21
ports/libevdev/portfile.cmake
Normal file
21
ports/libevdev/portfile.cmake
Normal file
@@ -0,0 +1,21 @@
|
||||
vcpkg_from_gitlab(
|
||||
GITLAB_URL https://gitlab.freedesktop.org/
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO libevdev/libevdev
|
||||
REF "libevdev-${VERSION}"
|
||||
SHA512 9f5496e3a158a41078285741861382b5fb48679b78065e6313b985de8b1832d1a5cb21954e15f4ab69d1c97093c925a51a2263228c5b0d59f3a90a29e374f1d0
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_meson(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-Ddocumentation=disabled
|
||||
-Dtools=disabled
|
||||
-Dtests=disabled
|
||||
)
|
||||
|
||||
vcpkg_install_meson()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
14
ports/libevdev/vcpkg.json
Normal file
14
ports/libevdev/vcpkg.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "libevdev",
|
||||
"version": "1.13.4",
|
||||
"description": "Wrapper library for evdev devices",
|
||||
"homepage": "https://www.freedesktop.org/wiki/Software/libevdev",
|
||||
"license": "MIT",
|
||||
"supports": "linux",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4580,6 +4580,10 @@
|
||||
"baseline": "4.33",
|
||||
"port-version": 3
|
||||
},
|
||||
"libevdev": {
|
||||
"baseline": "1.13.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"libevent": {
|
||||
"baseline": "2.1.12+20230128",
|
||||
"port-version": 1
|
||||
|
||||
9
versions/l-/libevdev.json
Normal file
9
versions/l-/libevdev.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2b6c9f7cbaf86a2b06893062ce120394de6ab77d",
|
||||
"version": "1.13.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user