mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[drm] document libdrm requirements
This commit is contained in:
parent
f3c38f3430
commit
dc60c13112
@ -12,7 +12,7 @@ prepackaged on many distributions. Otherwise, acquire the current source via
|
|||||||
|
|
||||||
Install build dependencies:
|
Install build dependencies:
|
||||||
|
|
||||||
`apt-get install build-essential cmake doctest-dev zlib1g-dev libavformat-dev libavutil-dev libgpm-dev libncurses-dev libqrcodegen-dev libswscale-dev libunistring-dev pandoc pkg-config`
|
`apt-get install build-essential cmake doctest-dev zlib1g-dev libavformat-dev libavutil-dev libdrm-dev libgpm-dev libncurses-dev libqrcodegen-dev libswscale-dev libunistring-dev pandoc pkg-config`
|
||||||
|
|
||||||
If you only intend to build core Notcurses (without multimedia support), you
|
If you only intend to build core Notcurses (without multimedia support), you
|
||||||
can omit `libavformat-dev`, `libavutil-dev`, and `libswscale-dev` from this
|
can omit `libavformat-dev`, `libavutil-dev`, and `libswscale-dev` from this
|
||||||
@ -95,12 +95,13 @@ but must be `Debug` for use of `USE_COVERAGE`.
|
|||||||
* `DFSG_BUILD`: leave out all content considered non-free under the Debian Free
|
* `DFSG_BUILD`: leave out all content considered non-free under the Debian Free
|
||||||
Software Guidelines
|
Software Guidelines
|
||||||
* `BUILD_TESTING`: build test targets
|
* `BUILD_TESTING`: build test targets
|
||||||
* `USE_ASAN`: build with AddressSanitizer
|
* `USE_ASAN`: build with AddressSanitizer (debug builds only!)
|
||||||
* `USE_CPP`: build C++ code (requires a C++ compiler)
|
* `USE_CPP`: build C++ code (requires a C++ compiler)
|
||||||
* `USE_COVERAGE`: build coverage support (for developers, requires use of Clang)
|
* `USE_COVERAGE`: build coverage support (for developers, requires use of Clang)
|
||||||
* `USE_DOCTEST`: build `notcurses-tester` with Doctest, requires `BUILD_TESTING`
|
* `USE_DOCTEST`: build `notcurses-tester` with Doctest, requires `BUILD_TESTING`
|
||||||
* `USE_DOCTEST=on` requires `USE_CPP=off`
|
* `USE_DOCTEST=on` cannot be used with `USE_CPP=off`
|
||||||
* `USE_DOXYGEN`: build interlinked HTML documentation with Doxygen
|
* `USE_DOXYGEN`: build interlinked HTML documentation with Doxygen
|
||||||
|
* `USE_DRM`: build DRM support via libdrm
|
||||||
* `USE_GPM`: build GPM console mouse support via libgpm
|
* `USE_GPM`: build GPM console mouse support via libgpm
|
||||||
* `USE_MULTIMEDIA`: `ffmpeg` for FFmpeg, `oiio` for OpenImageIO, `none` for none
|
* `USE_MULTIMEDIA`: `ffmpeg` for FFmpeg, `oiio` for OpenImageIO, `none` for none
|
||||||
* `oiio` cannot be used with `USE_CPP=off`
|
* `oiio` cannot be used with `USE_CPP=off`
|
||||||
|
@ -110,6 +110,7 @@ may well be possible to use still older versions. Let me know of any successes!
|
|||||||
* (OPTIONAL) (OpenImageIO, testing, C++ bindings): A C++17 compiler
|
* (OPTIONAL) (OpenImageIO, testing, C++ bindings): A C++17 compiler
|
||||||
* (build+runtime) From [NCURSES](https://invisible-island.net/ncurses/announce.html): terminfo 6.1+
|
* (build+runtime) From [NCURSES](https://invisible-island.net/ncurses/announce.html): terminfo 6.1+
|
||||||
* (build+runtime) GNU [libunistring](https://www.gnu.org/software/libunistring/) 0.9.10+
|
* (build+runtime) GNU [libunistring](https://www.gnu.org/software/libunistring/) 0.9.10+
|
||||||
|
* (OPTIONAL) (build+runtime) [libdrm](https://01.org/linuxgraphics/community/libdrm) 2.4+
|
||||||
* (OPTIONAL) (build+runtime) [libgpm](https://www.nico.schottelius.org/software/gpm/) 1.20+
|
* (OPTIONAL) (build+runtime) [libgpm](https://www.nico.schottelius.org/software/gpm/) 1.20+
|
||||||
* (OPTIONAL) (build+runtime) From QR-Code-generator: [libqrcodegen](https://github.com/nayuki/QR-Code-generator) 1.5.0+
|
* (OPTIONAL) (build+runtime) From QR-Code-generator: [libqrcodegen](https://github.com/nayuki/QR-Code-generator) 1.5.0+
|
||||||
* (OPTIONAL) (build+runtime) From [FFmpeg](https://www.ffmpeg.org/): libswscale 5.0+, libavformat 57.0+, libavutil 56.0+
|
* (OPTIONAL) (build+runtime) From [FFmpeg](https://www.ffmpeg.org/): libswscale 5.0+, libavformat 57.0+, libavutil 56.0+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user