Skip to content

Commit

Permalink
x11/plasma5-libkscreen: Properly depend on hwdata.
Browse files Browse the repository at this point in the history
Sponsored by:	Serenity Cybersecurity, LLC
  • Loading branch information
arrowd committed Jan 16, 2024
1 parent bee5898 commit b820598
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions x11/plasma5-libkscreen/Makefile
@@ -1,12 +1,14 @@
PORTNAME= libkscreen
DISTVERSION= ${KDE_PLASMA_VERSION}
PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma

MAINTAINER= kde@FreeBSD.org
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
Expand All @@ -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>

0 comments on commit b820598

Please sign in to comment.