git: 4e91e0e02b3d - 2023Q1 - x11-toolkits/wlroots: limit hwdata dependency to DRM as build only
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Feb 2023 19:14:16 UTC
The branch 2023Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e91e0e02b3d53d6c4db0582d8148eb0973f3100 commit 4e91e0e02b3d53d6c4db0582d8148eb0973f3100 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-02-13 18:10:12 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-02-13 19:14:01 +0000 x11-toolkits/wlroots: limit hwdata dependency to DRM as build only pnp.ids is converted to pnpids.c, so won't pick up changes without rebuild. pnp.ids is also unused when nesting on X11 or Wayland (WLR_BACKENDS != drm). https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/eec95e3d5e1a (cherry picked from commit 146bb4da8d31a34f013b593b85f47796cd06158d) --- x11-toolkits/wlroots/Makefile | 6 +++--- x11-wm/gamescope/Makefile | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile index 1a818713af4f..5d0313843037 100644 --- a/x11-toolkits/wlroots/Makefile +++ b/x11-toolkits/wlroots/Makefile @@ -1,6 +1,7 @@ PORTNAME= wlroots DISTVERSION= 0.16.2 DISTVERSIONSUFFIX= -g${GL_COMMIT:C/(.{12}).*/\1/} +PORTREVISION= 1 CATEGORIES= x11-toolkits PATCH_SITES+= https://github.com/swaywm/${GL_PROJECT}/commit/:github @@ -16,14 +17,12 @@ WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= wayland-protocols>=1.27:graphics/wayland-protocols \ - hwdata>0:misc/hwdata +BUILD_DEPENDS= wayland-protocols>=1.27:graphics/wayland-protocols LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libseat.so:sysutils/seatd \ libxkbcommon.so:x11/libxkbcommon -RUN_DEPENDS= hwdata>0:misc/hwdata USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes @@ -39,6 +38,7 @@ OPTIONS_DEFAULT=DRM OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support +DRM_BUILD_DEPENDS= hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libinput.so:x11/libinput DRM_VARS= BACKENDS+="drm libinput" diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile index b81a85e23bb6..54067811d230 100644 --- a/x11-wm/gamescope/Makefile +++ b/x11-wm/gamescope/Makefile @@ -19,6 +19,7 @@ BUILD_DEPENDS= glslangValidator:graphics/glslang \ libliftoff>=0.3.0<0.4.0:graphics/libliftoff \ vulkan-headers>0:graphics/vulkan-headers \ wayland-protocols>=1.17:graphics/wayland-protocols \ + hwdata>0:misc/hwdata \ wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libdrm.so:graphics/libdrm \