git: 939f5c29af58 - main - x11-wm/gamescope: restore hwdata dependency after 146bb4da8d31

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 19:21:17 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=939f5c29af58f95a2cd1ca407f71a84a7e8712d8

commit 939f5c29af58f95a2cd1ca407f71a84a7e8712d8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-13 19:15:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-13 19:21:16 +0000

    x11-wm/gamescope: restore hwdata dependency after 146bb4da8d31
    
    gamescope uses pkg-config to get pnp.ids location (like wlroots)
    but parses it at runtime (unlike wlroots).
    https://github.com/Plagman/gamescope/commit/5fca0702ab2c
    https://github.com/Plagman/gamescope/commit/f4a33bd37e49
---
 x11-wm/gamescope/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile
index 54067811d230..7783b60e6589 100644
--- a/x11-wm/gamescope/Makefile
+++ b/x11-wm/gamescope/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gamescope
 DISTVERSION=	3.11.51
+PORTREVISION=	1
 CATEGORIES=	x11-wm # wayland: depends on https://github.com/Plagman/gamescope/issues/543
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -28,6 +29,7 @@ LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim \
 		libwayland-server.so:graphics/wayland \
 		libwlroots.so:x11-toolkits/wlroots \
 		libxkbcommon.so:x11/libxkbcommon
+RUN_DEPENDS=	hwdata>0:misc/hwdata
 
 USES=		compiler:c++11-lib meson pkgconfig sdl xorg
 USE_GITHUB=	yes