Blame README.rst

Packit Service 103f6b
libdrm - userspace library for drm
Packit Service 103f6b
----------------------------------
Packit Service 103f6b
Packit Service 103f6b
This is libdrm, a userspace library for accessing the DRM, direct rendering
Packit Service 103f6b
manager, on Linux, BSD and other operating systems that support the ioctl
Packit Service 103f6b
interface.
Packit Service 103f6b
The library provides wrapper functions for the ioctls to avoid exposing the
Packit Service 103f6b
kernel interface directly, and for chipsets with drm memory manager, support
Packit Service 103f6b
for tracking relocations and buffers.
Packit Service 103f6b
New functionality in the kernel DRM drivers typically requires a new libdrm,
Packit Service 103f6b
but a new libdrm will always work with an older kernel.
Packit Service 103f6b
Packit Service 103f6b
libdrm is a low-level library, typically used by graphics drivers such as
Packit Service 103f6b
the Mesa drivers, the X drivers, libva and similar projects.
Packit Service 103f6b
Packit Service 103f6b
Packit Service 103f6b
Compiling
Packit Service 103f6b
---------
Packit Service 103f6b
Packit Service 103f6b
To set up meson:
Packit Service 103f6b
Packit Service 103f6b
    meson builddir/
Packit Service 103f6b
Packit Service 103f6b
By default this will install into /usr/local, you can change your prefix
Packit Service 103f6b
with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after 
Packit Service 103f6b
the initial meson setup).
Packit Service 103f6b
Packit Service 103f6b
Then use ninja to build and install:
Packit Service 103f6b
Packit Service 103f6b
    ninja -C builddir/ install
Packit Service 103f6b
Packit Service 103f6b
If you are installing into a system location you will need to run install
Packit Service 103f6b
separately, and as root.