mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
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
This commit is contained in:
parent
e592c6f47a
commit
146bb4da8d
@ -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"
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user