aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-01-16 15:24:14 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-01-16 15:24:39 +0000
commitb820598114b0fd93f0173dfb2512c8e95752d3d7 (patch)
tree0830acfd31a79d0c7cb0ae33c7fe11c5ea7be8b5
parentbee5898a8a602250e56e72cdaabf3ab3a08dd4a5 (diff)
x11/plasma5-libkscreen: Properly depend on hwdata.
Sponsored by: Serenity Cybersecurity, LLC
-rw-r--r--x11/plasma5-libkscreen/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11/plasma5-libkscreen/Makefile b/x11/plasma5-libkscreen/Makefile
index ec8a6be912cd..08ddd1536a8e 100644
--- a/x11/plasma5-libkscreen/Makefile
+++ b/x11/plasma5-libkscreen/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libkscreen
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
MAINTAINER= kde@FreeBSD.org
@@ -7,6 +8,7 @@ COMMENT= Plasma5 screen management library
WWW= https://www.kde.org/plasma-desktop
LIB_DEPENDS= libwayland-client.so:graphics/wayland
+RUN_DEPENDS= ${PNP_IDS_FILE}:misc/hwdata
USES= cmake compiler:c++11-lib kde:5 pathfix pkgconfig qt:5 tar:xz \
xorg
@@ -16,4 +18,9 @@ USE_QT= core dbus gui wayland x11extras \
buildtools:build qmake:build testlib:build
USE_XORG= x11 xcb xrandr
+PNP_IDS_FILE= ${LOCALBASE}/share/hwdata/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>