graphics/libdrm 2.4.131,1 MidnightBSD
Direct Rendering Manager library and headers
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- graphics
Description
This is libdrm, a userspace library for accessing the DRM, direct rendering manager, on Linux, BSD and other operating systems that support the ioctl interface. The library provides wrapper functions for the ioctls to avoid exposing the kernel interface directly, and for chipsets with drm memory manager, support for tracking relocations and buffers. New functionality in the kernel DRM drivers typically requires a new libdrm, but a new libdrm will always work with an older kernel.
libdrm is a low-level library, typically used by graphics drivers such as the Mesa drivers, the X drivers, libva and similar projects.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/libdrm | 2.4.131,1 |
| FreeBSD | graphics/libdrm | 2.4.134,1 |
| DragonFly | graphics/libdrm | 2.4.123,1 |
Install
Binary package:
mport install libdrm
From mports:
cd /usr/mports/graphics/libdrm && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libdrm>0:graphics/libdrm
LIB_DEPENDS= libdrm.so:graphics/libdrm
Dependencies
As this port's Makefile names them.
Build 1
rst2man: textproc/py-docutils
Library 1
libpciaccess.so: devel/libpciaccess
Build dependencies 2
Run dependencies 1
Required by 44
- accessibility/gammastep
- accessibility/redshift
- cad/brlcad
- cad/openvsp
- devel/electron39
- devel/electron40
- devel/electron41
- devel/electron42
- devel/electron43
- editors/vscode
- graphics/egl-wayland
- graphics/egl-x11
- graphics/kmscube
- graphics/libliftoff
- graphics/qt5-wayland
- math/octave
- multimedia/arcan
- multimedia/emby-server
- multimedia/emby-server46
- multimedia/libva
- multimedia/wf-recorder
- net/x11vnc
- sysutils/consolekit2
- www/chromium
- www/chromium-bin
- www/ungoogled-chromium
- www/webkit2-gtk
- x11-drivers/xf86-video-amdgpu
- x11-drivers/xf86-video-ati
- x11-drivers/xf86-video-intel
- x11-drivers/xf86-video-vmware
- x11-servers/xwayland
- x11-toolkits/gtk40
- x11-toolkits/qt5-gui
- x11-toolkits/wlroots
- x11-toolkits/wlroots015
- x11-toolkits/wlroots016
- x11-toolkits/wlroots018
- x11-toolkits/wlroots019
- x11-wm/chamfer
- x11-wm/mutter
- x11-wm/sway
- x11/xdg-desktop-portal-hyprland
- x11/xdg-desktop-portal-wlr
Configuration
Options name: graphics_libdrm
| Option | Default | Description |
|---|---|---|
| TESTS | off | Build and install test programs |
- USES
- gnome meson pkgconfig tar:xz
- Service scripts
- none
Files
Manual pages 6
- drm(7)
- drm-kms(7)
- drm-memory(7)
- drmAvailable(3)
- drmHandleEvent(3)
- drmModeGetResources(3)
pkg-plist 64
- bin/amdgpu_stress
- bin/drmdevice
- bin/modeprint
- bin/modetest
- bin/proptest
- bin/vbltest
- include/libdrm/amdgpu.h
- include/libdrm/amdgpu_drm.h
- include/libdrm/drm.h
- include/libdrm/drm_fourcc.h
- include/libdrm/drm_mode.h
- include/libdrm/drm_sarea.h
- include/libdrm/i915_drm.h
- include/libdrm/intel_aub.h
- include/libdrm/intel_bufmgr.h
- include/libdrm/intel_debug.h
- include/libdrm/mach64_drm.h
- include/libdrm/mga_drm.h
- include/libdrm/msm_drm.h
- include/libdrm/nouveau_drm.h
- include/libdrm/qxl_drm.h
- include/libdrm/r128_drm.h
- include/libdrm/r600_pci_ids.h
- include/libdrm/radeon_bo.h
- include/libdrm/radeon_bo_gem.h
- include/libdrm/radeon_bo_int.h
- include/libdrm/radeon_cs.h
- include/libdrm/radeon_cs_gem.h
- include/libdrm/radeon_cs_int.h
- include/libdrm/radeon_drm.h
- include/libdrm/radeon_surface.h
- include/libdrm/savage_drm.h
- include/libdrm/sis_drm.h
- include/libdrm/tegra_drm.h
- include/libdrm/vc4_drm.h
- include/libdrm/via_drm.h
- include/libdrm/virtgpu_drm.h
- include/libdrm/vmwgfx_drm.h
- include/libsync.h
- include/xf86drm.h
- include/xf86drmMode.h
- lib/libdrm.so
- lib/libdrm.so.2
- lib/libdrm.so.2.131.0
- lib/libdrm_amdgpu.so
- lib/libdrm_amdgpu.so.1
- lib/libdrm_amdgpu.so.1.131.0
- lib/libdrm_intel.so
- lib/libdrm_intel.so.1
- lib/libdrm_intel.so.1.131.0
- lib/libdrm_radeon.so
- lib/libdrm_radeon.so.1
- lib/libdrm_radeon.so.1.131.0
- libdata/pkgconfig/libdrm.pc
- libdata/pkgconfig/libdrm_amdgpu.pc
- libdata/pkgconfig/libdrm_intel.pc
- libdata/pkgconfig/libdrm_radeon.pc
- share/man/man3/drmAvailable.3.gz
- share/man/man3/drmHandleEvent.3.gz
- share/man/man3/drmModeGetResources.3.gz
- share/man/man7/drm-kms.7.gz
- share/man/man7/drm-memory.7.gz
- share/man/man7/drm.7.gz
- share/libdrm/amdgpu.ids
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libdrm-2.4.131.tar.xz | 435808 | 45ba9983b51c896406a3d654de81d313b953b76e6391e2797073d543c5f617d5 |
Master sites 1
- https://dri.freedesktop.org/libdrm/