diff --git a/recipes/xorg/all/conanfile.py b/recipes/xorg/all/conanfile.py index 3b1e50ba6ef9d..4d70cdd175977 100644 --- a/recipes/xorg/all/conanfile.py +++ b/recipes/xorg/all/conanfile.py @@ -59,15 +59,15 @@ def system_requirements(self): "libxkbfile-devel", "libXrandr-devel", "libXres-devel", "libXScrnSaver-devel", "libXvMC-devel", "xorg-x11-xtrans-devel", "xcb-util-wm-devel", "xcb-util-image-devel", "xcb-util-keysyms-devel", "xcb-util-renderutil-devel", "libXdamage-devel", "libXxf86vm-devel", "libXv-devel", - "xkeyboard-config-devel", "xcb-util-devel"] + "xkeyboard-config-devel", "xcb-util-devel", "libdrm-devel"] elif tools.os_info.with_pacman: packages = ["libxcb", "libfontenc", "libice", "libsm", "libxaw", "libxcomposite", "libxcursor", "libxdamage", "libxdmcp", "libxft", "libxtst", "libxinerama", "libxkbfile", "libxrandr", "libxres", "libxss", "libxvmc", "xtrans", "xcb-util-wm", "xcb-util-image","xcb-util-keysyms", "xcb-util-renderutil", - "libxxf86vm", "libxv", "xkeyboard-config", "xcb-util"] + "libxxf86vm", "libxv", "xkeyboard-config", "xcb-util", "libdrm"] elif tools.os_info.with_zypper: packages = ["xorg-x11-devel", "xcb-util-wm-devel", "xcb-util-image-devel", "xcb-util-keysyms-devel", - "xcb-util-renderutil-devel", "xkeyboard-config", "xcb-util-devel"] + "xcb-util-renderutil-devel", "xkeyboard-config", "xcb-util-devel", "libdrm-devel"] else: self.output.warn("Do not know how to install 'xorg' for {}.".format(tools.os_info.linux_distro)) @@ -75,7 +75,7 @@ def system_requirements(self): packages = ["libX11", "libfontenc", "libice", "libsm", "libxaw", "libxcomposite", "libxcursor", "libxdamage", "libxdmcp", "libxft", "libxtst", "libxinerama", "libxkbfile", "libxrandr", "libxres", "libXScrnSaver", "libxvmc", "xtrans", "xcb-util-wm", "xcb-util-image", "xcb-util-keysyms", "xcb-util-renderutil", - "libxxf86vm", "libxv", "xkeyboard-config", "xcb-util"] + "libxxf86vm", "libxv", "xkeyboard-config", "xcb-util", "libdrm"] if packages: package_tool = tools.SystemPackageTool(conanfile=self, default_mode="verify") package_tool.install_packages(update=True, packages=packages) @@ -88,5 +88,5 @@ def package_info(self): "xcb-xkb", "xcb-icccm", "xcb-image", "xcb-keysyms", "xcb-randr", "xcb-render", "xcb-renderutil", "xcb-shape", "xcb-shm", "xcb-sync", "xcb-xfixes", "xcb-xinerama", "xcb", "xkeyboard-config", "xcb-atom", "xcb-aux", "xcb-event", "xcb-util", - "xcb-dri3"]: + "xcb-dri3", "libdrm"]: self._fill_cppinfo_from_pkgconfig(name)