aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-09 21:06:26 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:11 +0200
commit01daea59c5c695bbfa45a307371f22f0c090d535 (patch)
tree58ef5f101e70930332111170277d659554e4b7f3 /gnu
parent7fb994ebbf881bae1dc042db1f166250096535a0 (diff)
downloadguix-01daea59c5c695bbfa45a307371f22f0c090d535.tar.gz
guix-01daea59c5c695bbfa45a307371f22f0c090d535.zip
gnu: libxkbcommon: Add doc output.
* gnu/packages/xdisorg.scm (libxkbcommon)[arguments]: Restyle. <#:phases>: Add 'move-doc. [outputs]: Add doc. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I28ed23167f24e2cc3e29c0de3507fe76cf0fb5d2
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xdisorg.scm24
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index c63f834423..57a15602d3 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -555,6 +555,7 @@ avoiding password prompts when X11 forwarding has already been setup.")
(sha256
(base32
"0awwz5pg9x5bj0d7dpg4a7bd4gl6k55mlpxwb12534fkrpn19p0f"))))
+ (outputs '("out" "doc"))
(build-system meson-build-system)
(inputs
(list libx11
@@ -572,13 +573,22 @@ avoiding password prompts when X11 forwarding has already been setup.")
(list pkg-config-for-build)
'())))
(arguments
- (list #:configure-flags
- #~(list (string-append "-Dxkb-config-root="
- (search-input-directory
- %build-inputs "share/X11/xkb"))
- (string-append "-Dx-locale-root="
- (search-input-directory
- %build-inputs "share/X11/locale")))))
+ (list
+ #:configure-flags
+ #~(list (string-append "-Dxkb-config-root="
+ (search-input-directory
+ %build-inputs "share/X11/xkb"))
+ (string-append "-Dx-locale-root="
+ (search-input-directory
+ %build-inputs "share/X11/locale")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda _
+ (let ((old (string-append #$output "/share/doc"))
+ (new (string-append #$output:doc "/share/doc")))
+ (mkdir-p (dirname new))
+ (rename-file old new)))))))
(home-page "https://xkbcommon.org/")
(synopsis "Library to handle keyboard descriptions")
(description "Xkbcommon is a library to handle keyboard descriptions,
pan>Merge branch 'master' into core-updatesMark H Weaver 2018-04-26gnu: retroarch: Fix hash....Rutger Helling 2018-04-24gnu: retroarch: Update to 1.7.2....Rutger Helling 2018-04-23gnu: ffmpeg: Update to 4.0....Rutger Helling 2018-04-21Merge branch 'master' into core-updatesMark H Weaver 2018-04-17gnu: nestopia-ue: Update to 1.48....Kei Kebreau 2018-04-15gnu: mupen64plus-video-z64: Fix glew.h location....Manolis Ragkousis 2018-04-15gnu: mgba: Update to 0.6.3....Rutger Helling 2018-04-10Merge branch 'master' into core-updatesMark H Weaver 2018-04-09gnu: retroarch: Update checksum....Rutger Helling 2018-04-09gnu: mgba: Update to 0.6.2....Rutger Helling 2018-03-20Merge branch 'master' into core-updatesMark H Weaver 2018-03-17gnu: Fix common unquote typos....Tobias Geerinckx-Rice 2018-03-16gnu: All snippets report errors using exceptions, else return #t....Mark H Weaver 2018-02-23gnu: dolphin-emu: Enable Vulkan video backend....Rutger Helling 2018-02-22gnu: dolphin-emu: Shorten the source snippet....Efraim Flashner 2018-02-22gnu: dolphin-emu: Enable building on aarch64-linux....Efraim Flashner 2018-02-22gnu: Move emulation packages from games to emulators....Rutger Helling 2018-02-22gnu: Add dolphin-emu....Rutger Helling