git: dfd0feabcbae - main - x11/hyprland-qtutils: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 29 Mar 2025 00:21:38 UTC
The branch main has been updated by jbeich:

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

commit dfd0feabcbae1eb348632c553bae4597d4f068e9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-01-10 15:51:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-03-29 00:18:50 +0000

    x11/hyprland-qtutils: add new port
    
    hyprland-qtutils is a small bunch of utility applications that
    hyprland might invoke. These are stuff like dialogs or popups.
    
    https://github.com/hyprwm/hyprland-qtutils
    
    Requested by:   BenoƮt, Schrodinger ZHU Yifan
---
 x11/Makefile                   |  1 +
 x11/hyprland-qtutils/Makefile  | 25 +++++++++++++++++++++++++
 x11/hyprland-qtutils/distinfo  |  3 +++
 x11/hyprland-qtutils/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index c2c6bac50533..cfa56f36d077 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -127,6 +127,7 @@
     SUBDIR += hybrid-bar
     SUBDIR += hyprcursor
     SUBDIR += hypridle
+    SUBDIR += hyprland-qtutils
     SUBDIR += hyprlock
     SUBDIR += hyprpaper
     SUBDIR += hyprpicker
diff --git a/x11/hyprland-qtutils/Makefile b/x11/hyprland-qtutils/Makefile
new file mode 100644
index 000000000000..b67158220726
--- /dev/null
+++ b/x11/hyprland-qtutils/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	hyprland-qtutils
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.3
+CATEGORIES=	x11
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Hyprland QT/qml utility apps
+WWW=		https://github.com/hyprwm/hyprland-qtutils
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libhyprutils.so:devel/hyprutils
+RUN_DEPENDS=	hyprland-qt-support>0:x11-toolkits/hyprland-qt-support
+
+USES=		cmake compiler:c++11-lib pkgconfig qt:6
+USE_GITHUB=	yes
+USE_QT=		base declarative wayland:build
+GH_ACCOUNT=	hyprwm
+LDFLAGS+=	-Wl,--as-needed # Qt deps
+PLIST_FILES=	bin/hyprland-dialog \
+		bin/hyprland-donate-screen \
+		bin/hyprland-update-screen
+
+.include <bsd.port.mk>
diff --git a/x11/hyprland-qtutils/distinfo b/x11/hyprland-qtutils/distinfo
new file mode 100644
index 000000000000..1ca55723cc23
--- /dev/null
+++ b/x11/hyprland-qtutils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736524264
+SHA256 (hyprwm-hyprland-qtutils-v0.1.3_GH0.tar.gz) = 3e57617ebd849ebf074c492bf828efa37a5b47fd6d43b392462874069170c5ed
+SIZE (hyprwm-hyprland-qtutils-v0.1.3_GH0.tar.gz) = 8697
diff --git a/x11/hyprland-qtutils/pkg-descr b/x11/hyprland-qtutils/pkg-descr
new file mode 100644
index 000000000000..947d698fbac4
--- /dev/null
+++ b/x11/hyprland-qtutils/pkg-descr
@@ -0,0 +1,2 @@
+hyprland-qtutils is a small bunch of utility applications that
+hyprland might invoke. These are stuff like dialogs or popups.