mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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:
1 parent
05dc1768cb
commit
be93cc553b
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user