Files
ports/misc/hyprqt6engine/Makefile
T
Jason E. Hale 4dab0722de */*: Bump PORTREVISION for known Qt private API abusers
Qt 6.11.1 edition.

These ports are known to directly use or link to a library that uses the
Qt private API and must be rebuilt with every Qt update.

Qt *public* API/ABI compatability is excellent, so most consumers don't
need to necessarily be rebuilt between patch or even minor releases, but
use of the private API breaks this compatibility between even patch
releases and its use is highly discouraged.

This list [1] is based on histortical data. We don't have time to
revisit every port on the list with each Qt update, so if your port has
dropped Qt private headers and was bumped in error, please remove it
yourself if you have write access to the Wiki or alert someone on kde@.

[1] https://wiki.freebsd.org/KDE/Qt
2026-05-21 12:23:57 -04:00

43 lines
1.1 KiB
Makefile

PORTNAME= hyprqt6engine
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.0
PORTREVISION= 5
CATEGORIES= misc
PATCH_SITES= https://github.com/hyprwm/hyprqt6engine/commit/
PATCHFILES+= 9063e6837b4e282a73b052a0c0371916daccf50a.patch:-p1 # Fix configure with Qt 6.10
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>