summaryrefslogtreecommitdiff
path: root/misc/hyprqt6engine
diff options
context:
space:
mode:
Diffstat (limited to 'misc/hyprqt6engine')
-rw-r--r--misc/hyprqt6engine/Makefile38
-rw-r--r--misc/hyprqt6engine/distinfo3
-rw-r--r--misc/hyprqt6engine/pkg-descr2
3 files changed, 43 insertions, 0 deletions
diff --git a/misc/hyprqt6engine/Makefile b/misc/hyprqt6engine/Makefile
new file mode 100644
index 000000000000..72d33645ac4e
--- /dev/null
+++ b/misc/hyprqt6engine/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= hyprqt6engine
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.0
+CATEGORIES= misc
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Qt6 theme provider for Hyprland
+WWW= https://github.com/hyprwm/hyprqt6engine
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
+ libhyprutils.so:devel/hyprutils \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= cmake gl kde:6 localbase:ldflags pkgconfig qt:6
+
+USE_GITHUB= yes
+GH_ACCOUNT= hyprwm
+
+USE_LDCONFIG= yes
+
+USE_GL= gl opengl
+USE_QT= base
+USE_KDE= colorscheme config iconthemes
+
+PLIST_FILES= lib/libhyprqt6engine-common.so \
+ ${QT_PLUGINDIR}/platformthemes/libhyprqt6engine.so \
+ ${QT_PLUGINDIR}/styles/libhypr-style.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|' \
+ ${WRKSRC}/common/config/ConfigManager.cpp
+ @${REINPLACE_CMD} -e 's|/usr/share|${DATADIR:H}|' \
+ ${WRKSRC}/common/common.cpp
+
+.include <bsd.port.mk>
diff --git a/misc/hyprqt6engine/distinfo b/misc/hyprqt6engine/distinfo
new file mode 100644
index 000000000000..2b08eca4a2ae
--- /dev/null
+++ b/misc/hyprqt6engine/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758664273
+SHA256 (hyprwm-hyprqt6engine-v0.1.0_GH0.tar.gz) = e52692168faa51a53e6f05c12114e79ead76787045668c65d41225a13a318f62
+SIZE (hyprwm-hyprqt6engine-v0.1.0_GH0.tar.gz) = 11780
diff --git a/misc/hyprqt6engine/pkg-descr b/misc/hyprqt6engine/pkg-descr
new file mode 100644
index 000000000000..57a7fecdfc7f
--- /dev/null
+++ b/misc/hyprqt6engine/pkg-descr
@@ -0,0 +1,2 @@
+hyprqt6engine provides a theme for Qt6 apps. It's a replacement for
+qt6ct, compatible with KDE Apps / KColorScheme.