libdrm: depend on video-support for the DRM nodes

/dev/dri/card* is 0600 root:root unless video-support is installed to
allocate the video group and ship the hotplug rule that puts the nodes
into it, so anything talking to DRM needs that package present.

libdrm is where that is worth saying once. The dependency is a plain
one, and package-metadata.pl re-emits a selected package's own
conditions onto whatever selects it, so every consumer inherits the
requirement and none of them has to repeat it. That reaches the mesa
providers here and, through them, the video feed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-09-29 18:14:57 +01:00
1 parent 05dc1768cb
commit be93cc553b
1 file changed
+2 -1
+2 -1
View File
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libdrm
PKG_VERSION:=2.4.133
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://dri.freedesktop.org/libdrm
@@ -35,6 +35,7 @@ define Package/libdrm/Default
SUBMENU:=Video
TITLE:=libdrm
URL:=https://dri.freedesktop.org/
DEPENDS:=video-support
endef
define Package/libdrm/description/Default