Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2024 09:35:33 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 187bfb4532bf - main - x11/plasma6-libkscreen: libksreen uses hwdata, provice a dependency
Message-ID:  <202411250935.4AP9ZX2B019244@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=187bfb4532bfa54c5499e18c0a1c635b77e21e3c

commit 187bfb4532bfa54c5499e18c0a1c635b77e21e3c
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-25 09:34:27 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-25 09:34:27 +0000

    x11/plasma6-libkscreen: libksreen uses hwdata, provice a dependency
    
    Sponsored by:   Future Crew, LLC
---
 x11/plasma6-libkscreen/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/x11/plasma6-libkscreen/Makefile b/x11/plasma6-libkscreen/Makefile
index adc3f31459c4..ccabc553c8c2 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,9 @@ USE_KDE=	config \
 USE_QT=		base wayland
 USE_XORG=	xcb
 
+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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411250935.4AP9ZX2B019244>