Blame README.rst

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