Skip to content

Commit b820598

Browse files
committed
x11/plasma5-libkscreen: Properly depend on hwdata.
Sponsored by: Serenity Cybersecurity, LLC
1 parent bee5898 commit b820598

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

x11/plasma5-libkscreen/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
PORTNAME= libkscreen
22
DISTVERSION= ${KDE_PLASMA_VERSION}
3+
PORTREVISION= 1
34
CATEGORIES= x11 kde kde-plasma
45

56
MAINTAINER= kde@FreeBSD.org
67
COMMENT= Plasma5 screen management library
78
WWW= https://www.kde.org/plasma-desktop
89

910
LIB_DEPENDS= libwayland-client.so:graphics/wayland
11+
RUN_DEPENDS= ${PNP_IDS_FILE}:misc/hwdata
1012

1113
USES= cmake compiler:c++11-lib kde:5 pathfix pkgconfig qt:5 tar:xz \
1214
xorg
@@ -16,4 +18,9 @@ USE_QT= core dbus gui wayland x11extras \
1618
buildtools:build qmake:build testlib:build
1719
USE_XORG= x11 xcb xrandr
1820

21+
PNP_IDS_FILE= ${LOCALBASE}/share/hwdata/hwdata/pnp.ids
22+
23+
post-patch:
24+
@${REINPLACE_CMD} -e 's|/usr/share/hwdata/pnp.ids|${PNP_IDS_FILE}|' ${WRKSRC}/src/edid.cpp
25+
1926
.include <bsd.port.mk>

0 commit comments

Comments
 (0)