git: b820598114b0 - main - x11/plasma5-libkscreen: Properly depend on hwdata.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jan 2024 15:24:57 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b820598114b0fd93f0173dfb2512c8e95752d3d7
commit b820598114b0fd93f0173dfb2512c8e95752d3d7
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-16 15:24:14 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-16 15:24:39 +0000
x11/plasma5-libkscreen: Properly depend on hwdata.
Sponsored by: Serenity Cybersecurity, LLC
---
x11/plasma5-libkscreen/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
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>