gnu: igt-gpu-tools: Include man pages.

* gnu/packages/admin.scm (igt-gpu-tools)[arguments]:
Add a new 'find-rst2man.py phase.
(native-inputs): Add python-docutils.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-14 00:59:06 +01:00
parent cf879dc0b6
commit c4b786fb33
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3550,6 +3550,10 @@ (define-public igt-gpu-tools
`(#:tests? #f ; many of the tests try to load kernel modules
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'find-rst2man.py
(lambda _
(substitute* "man/meson.build"
(("'rst2man'") "'rst2man.py'"))))
(add-after 'unpack 'fix-meson.build
;; Fix ERROR: Function does not take positional arguments.
(lambda _
@ -3566,7 +3570,7 @@ (define-public igt-gpu-tools
libunwind
procps))
(native-inputs
(list bison flex pkg-config))
(list bison flex pkg-config python-docutils))
(home-page "https://gitlab.freedesktop.org/drm/igt-gpu-tools")
(synopsis "Tools for development and testing of the Intel DRM driver")
(description "IGT GPU Tools is a collection of tools for development and