mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: libxcb: Use gexps.
* gnu/packages/xorg.scm (libxcb): Use gexps for phases and configure-flags Change-Id: I762476b35ac366a3df9d289d7a22512fe0328077 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
7f5c1c662d
commit
b8058086ed
@@ -5189,19 +5189,21 @@ protocol.")
|
||||
(native-inputs
|
||||
(list pkg-config python-minimal-wrapper))
|
||||
(arguments
|
||||
`(#:configure-flags (list "--enable-xkb"
|
||||
"--disable-static"
|
||||
(string-append "--mandir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/man"))
|
||||
#:phases ,(if (target-hurd?)
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-PATH_MAX
|
||||
(lambda _
|
||||
;; Hurd doesn't define PATH_MAX.
|
||||
(substitute* "src/xcb_util.c"
|
||||
(("PATH_MAX") "4096")))))
|
||||
'%standard-phases)))
|
||||
(list
|
||||
#:configure-flags #~(list "--enable-xkb"
|
||||
"--disable-static"
|
||||
(string-append "--mandir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/man"))
|
||||
#:phases
|
||||
(if (target-hurd?)
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-PATH_MAX
|
||||
(lambda _
|
||||
;; Hurd doesn't define PATH_MAX.
|
||||
(substitute* "src/xcb_util.c"
|
||||
(("PATH_MAX") "4096")))))
|
||||
#~%standard-phases)))
|
||||
(home-page "https://xcb.freedesktop.org/")
|
||||
(synopsis "The X C Binding (XCB) library")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user