Files
2026-10-04 04:07:15 +00:00

37 lines
962 B
Makefile

PORTNAME= deskflow
DISTVERSIONPREFIX= v
DISTVERSION= 1.27.0
CATEGORIES= sysutils
PATCH_SITES= https://github.com/deskflow/deskflow/commit/
MAINTAINER= ykasap@gmail.com
COMMENT= Mouse and keyboard sharing utility
WWW= https://deskflow.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libei.so:x11/libei \
libportal.so:deskutils/libportal \
libxkbcommon.so:x11/libxkbcommon
USES= cmake compiler:c++20-lang gl gnome pkgconfig qt:6 ssl xorg
USE_GITHUB= yes
USE_GL= opengl
USE_GNOME= glib20
USE_QT= base translations tools:build
USE_XORG= ice sm x11 xext xi xinerama xkbfile xrandr xtst
OPTIONS_DEFINE= DOCS
post-patch:
# Hardcoded paths need to be replaced
@${REINPLACE_CMD} -e 's|/usr/local/share/X11/xkb|${PREFIX}/share/X11/xkb|' \
${WRKSRC}/src/lib/deskflow/unix/AppUtilUnix.cpp
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' \
${WRKSRC}/src/lib/common/Settings.h
.include <bsd.port.mk>