git: 763a98971634 - main - sysutils/hyprpolkitagent: add port: Polkit authentication agent written in QT/QML

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 18 Aug 2025 10:53:21 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=763a98971634c224f9e07d292dc0aab4c0fb65b8

commit 763a98971634c224f9e07d292dc0aab4c0fb65b8
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-08-18 10:51:51 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-08-18 10:53:08 +0000

    sysutils/hyprpolkitagent: add port: Polkit authentication agent written in QT/QML
    
    A simple polkit authentication agent for Hyprland, written in QT/QML.
    
    hyprpolkitagent is a polkit authentication daemon. It is required for
    GUI applications to be able to request elevated privileges.
    
    WWW: https://github.com/hyprwm/hyprpolkitagent
---
 sysutils/Makefile                  |  1 +
 sysutils/hyprpolkitagent/Makefile  | 30 ++++++++++++++++++++++++++++++
 sysutils/hyprpolkitagent/distinfo  |  3 +++
 sysutils/hyprpolkitagent/pkg-descr |  4 ++++
 4 files changed, 38 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 0d3eeb964304..dab4f227e9dc 100755
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -516,6 +516,7 @@
     SUBDIR += httplog
     SUBDIR += hw-probe
     SUBDIR += hwstat
+    SUBDIR += hyprpolkitagent
     SUBDIR += i2c-tools
     SUBDIR += i7z
     SUBDIR += iat
diff --git a/sysutils/hyprpolkitagent/Makefile b/sysutils/hyprpolkitagent/Makefile
new file mode 100644
index 000000000000..516f9f2d5d4d
--- /dev/null
+++ b/sysutils/hyprpolkitagent/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	hyprpolkitagent
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.3
+CATEGORIES=	sysutils
+
+MAINTAINER=	tagattie@FreeBSD.org
+COMMENT=	Polkit authentication agent written in QT/QML
+WWW=		https://github.com/hyprwm/hyprpolkitagent
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libhyprutils.so:devel/hyprutils \
+		libpolkit-agent-1.so:sysutils/polkit \
+		libpolkit-qt6-core-1.so:sysutils/polkit-qt-1@qt6
+
+USES=		cmake gettext-runtime gl gnome pkgconfig qt:6
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hyprwm
+
+USE_GL=		gl opengl
+USE_GNOME=	glib20
+USE_QT=		base declarative
+
+PLIST_FILES=	lib/systemd/user/${PORTNAME}.service \
+		libexec/${PORTNAME} \
+		share/dbus-1/services/org.hyprland.${PORTNAME}.service
+
+.include <bsd.port.mk>
diff --git a/sysutils/hyprpolkitagent/distinfo b/sysutils/hyprpolkitagent/distinfo
new file mode 100644
index 000000000000..9e495274b84e
--- /dev/null
+++ b/sysutils/hyprpolkitagent/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1754170692
+SHA256 (hyprwm-hyprpolkitagent-v0.1.3_GH0.tar.gz) = a8fa714b92d47331f056b608cb731dd1f5cc3845a9109cb22c6e6eb55b4eac84
+SIZE (hyprwm-hyprpolkitagent-v0.1.3_GH0.tar.gz) = 32857
diff --git a/sysutils/hyprpolkitagent/pkg-descr b/sysutils/hyprpolkitagent/pkg-descr
new file mode 100644
index 000000000000..3b55e36cb56a
--- /dev/null
+++ b/sysutils/hyprpolkitagent/pkg-descr
@@ -0,0 +1,4 @@
+A simple polkit authentication agent for Hyprland, written in QT/QML.
+
+hyprpolkitagent is a polkit authentication daemon. It is required for
+GUI applications to be able to request elevated privileges.