diff options
Diffstat (limited to 'misc/hyprqt6engine/Makefile')
-rw-r--r-- | misc/hyprqt6engine/Makefile | 38 |
1 files changed, 38 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> |