summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsysutils/Makefile1
-rw-r--r--sysutils/hyprpolkitagent/Makefile30
-rw-r--r--sysutils/hyprpolkitagent/distinfo3
-rw-r--r--sysutils/hyprpolkitagent/pkg-descr4
4 files changed, 38 insertions, 0 deletions
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.