mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libudev-fbsd: add package
This package provides a small udev shim originally intended for FreeBSD/devd, but it works well for our non-systemd-environment as well. It has limited features, but it's enough to detect and enumerate input devices. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -11,6 +11,7 @@ install(TARGETS udev LIBRARY DESTINATION
|
||||
install(FILES libudev.h DESTINATION include)
|
||||
|
||||
set(PKG_CONFIG_NAME libudev)
|
||||
+set(PKG_CONFIG_DESCRIPTION small udev shim for FreeBSD/devd)
|
||||
set(PKG_CONFIG_REQUIRES libevdev)
|
||||
set(PKG_CONFIG_LIBDIR "\${prefix}/lib")
|
||||
set(PKG_CONFIG_INCLUDEDIR "\${prefix}/include")
|
||||
--- a/src/pkg-config.pc.cmake
|
||||
+++ b/src/pkg-config.pc.cmake
|
||||
@@ -3,6 +3,7 @@ libdir=${PKG_CONFIG_LIBDIR}
|
||||
includedir=${PKG_CONFIG_INCLUDEDIR}
|
||||
|
||||
Name: ${PKG_CONFIG_NAME}
|
||||
+Description: ${PKG_CONFIG_DESCRIPTION}
|
||||
Version: 143
|
||||
Requires: ${PKG_CONFIG_REQUIRES}
|
||||
Libs: ${PKG_CONFIG_LIBS}
|
||||
Reference in New Issue
Block a user