BSD Ports

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

SystemPortVersion
MidnightBSDgraphics/libdrm2.4.131,1
FreeBSDgraphics/libdrm2.4.134,1
DragonFlygraphics/libdrm2.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

Library 1

Build dependencies 2
Run dependencies 1

Configuration

Options name: graphics_libdrm

OptionDefaultDescription
TESTSoffBuild 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
FileSizeSHA256
libdrm-2.4.131.tar.xz43580845ba9983b51c896406a3d654de81d313b953b76e6391e2797073d543c5f617d5
Master sites 1
  • https://dri.freedesktop.org/libdrm/