git: 43332591cb75 - main - x11/plasma6-libkscreen: add missing dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Mar 2025 21:55:54 UTC
The branch main has been updated by makc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=43332591cb752b4b5bfe66ed655472c4f965aeed
commit 43332591cb752b4b5bfe66ed655472c4f965aeed
Author: Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-03-14 21:53:15 +0000
Commit: Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-03-14 21:55:29 +0000
x11/plasma6-libkscreen: add missing dependency
---
x11/plasma6-libkscreen/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/x11/plasma6-libkscreen/Makefile b/x11/plasma6-libkscreen/Makefile
index adc3f31459c4..77ab4d7c3a62 100644
--- a/x11/plasma6-libkscreen/Makefile
+++ b/x11/plasma6-libkscreen/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libkscreen
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
COMMENT= KDE screen management software
@@ -7,6 +8,7 @@ MAINTAINER= kde@FreeBSD.org
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
+RUN_DEPENDS= ${PNP_IDS_FILE}:misc/hwdata
USES= cmake compiler:c++11-lib gl kde:6 pkgconfig qt:6 tar:xz xorg
USE_GL= gl opengl
@@ -15,4 +17,10 @@ USE_KDE= config \
USE_QT= base wayland
USE_XORG= xcb
+PNP_IDS_FILE= ${LOCALBASE}/share/hwdata/pnp.ids
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/hwdata/pnp.ids|${PNP_IDS_FILE}|' \
+ ${WRKSRC}/src/edid.cpp
+
.include <bsd.port.mk>