Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2024 07:14:31 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2417cb6450eb - main - devel/libuiohook: New port: C library to provide global keyboard and mouse hooks from userland
Message-ID:  <202401190714.40J7EVJU084795@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2417cb6450eb28a8fc1e079776304bdef981cb30

commit 2417cb6450eb28a8fc1e079776304bdef981cb30
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-19 06:47:42 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-19 07:14:24 +0000

    devel/libuiohook: New port: C library to provide global keyboard and mouse hooks from userland
---
 devel/Makefile             |  1 +
 devel/libuiohook/Makefile  | 25 +++++++++++++++++++++++++
 devel/libuiohook/distinfo  |  3 +++
 devel/libuiohook/pkg-descr |  1 +
 devel/libuiohook/pkg-plist |  7 +++++++
 5 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index adc75a7ca812..5ed6a5ffcd63 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1428,6 +1428,7 @@
     SUBDIR += libubox
     SUBDIR += libudev-devd
     SUBDIR += libuinputplus
+    SUBDIR += libuiohook
     SUBDIR += libukcprog
     SUBDIR += libunicode
     SUBDIR += libuninum
diff --git a/devel/libuiohook/Makefile b/devel/libuiohook/Makefile
new file mode 100644
index 000000000000..1f212672481c
--- /dev/null
+++ b/devel/libuiohook/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	libuiohook
+DISTVERSION=	1.2.2-11
+DISTVERSIONSUFFIX=	-gf259ff3
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	C library to provide global keyboard and mouse hooks from userland
+WWW=		https://github.com/kwhat/libuiohook
+
+LICENSE=	LGPL20
+LICENSE_FILE=	${WRKSRC}/COPYING.LESSER.md
+
+LIB_DEPENDS=	libxkbcommon.so:x11/libxkbcommon \
+		libxkbfile.so:x11/libxkbfile
+
+USES=		cmake pkgconfig xorg
+USE_XORG=	x11 xcb xinerama xt xtst
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	kwhat
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+.include <bsd.port.mk>
diff --git a/devel/libuiohook/distinfo b/devel/libuiohook/distinfo
new file mode 100644
index 000000000000..5d916873d030
--- /dev/null
+++ b/devel/libuiohook/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1705645716
+SHA256 (kwhat-libuiohook-1.2.2-11-gf259ff3_GH0.tar.gz) = 51f64194e4afafab3414c1c120e8da178d666439880222b878fcf19c2ce33019
+SIZE (kwhat-libuiohook-1.2.2-11-gf259ff3_GH0.tar.gz) = 113855
diff --git a/devel/libuiohook/pkg-descr b/devel/libuiohook/pkg-descr
new file mode 100644
index 000000000000..a4f1b6aee061
--- /dev/null
+++ b/devel/libuiohook/pkg-descr
@@ -0,0 +1 @@
+libUIOHook is a cross-platform keyboard and mouse hooking from userland.
diff --git a/devel/libuiohook/pkg-plist b/devel/libuiohook/pkg-plist
new file mode 100644
index 000000000000..ad1d68dc1a79
--- /dev/null
+++ b/devel/libuiohook/pkg-plist
@@ -0,0 +1,7 @@
+include/uiohook.h
+lib/cmake/uiohook/uiohook-config-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/uiohook/uiohook-config.cmake
+lib/libuiohook.so
+lib/libuiohook.so.1
+lib/libuiohook.so.1.2.0
+libdata/pkgconfig/uiohook.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401190714.40J7EVJU084795>