mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: cairo: Support building for the Hurd.
Gobject-introspection and libdrm does not build for the Hurd. Poppler depends on nss, which does not build for the Hurd. * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the Hurd, do not include gobject-introspection. [inputs]: Likewise, do not include libdrm, poppler.
This commit is contained in:
parent
784610d6d6
commit
69142dbea4
1 changed files with 10 additions and 3 deletions
|
@ -35,6 +35,7 @@
|
|||
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
|
||||
;;; Copyright © 2023 Sergiu Ivanov <sivanov@colimite.fr>
|
||||
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
|
||||
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -194,15 +195,21 @@ (define-public cairo
|
|||
(assoc-ref %outputs "doc")
|
||||
"/share/gtk-doc/html"))))
|
||||
(native-inputs
|
||||
`(("gobject-introspection" ,gobject-introspection)
|
||||
`(,@(if (target-hurd?)
|
||||
'()
|
||||
`(("gobject-introspection" ,gobject-introspection)))
|
||||
("pkg-config" ,pkg-config)
|
||||
("python" ,python-wrapper)))
|
||||
(inputs
|
||||
`(("bash-minimal" ,bash-minimal) ;for glib-or-gtk-wrap
|
||||
("drm" ,libdrm)
|
||||
,@(if (target-hurd?)
|
||||
'()
|
||||
`(("drm" ,libdrm)))
|
||||
("ghostscript" ,ghostscript)
|
||||
("libspectre" ,libspectre)
|
||||
("poppler" ,poppler)))
|
||||
,@(if (target-hurd?)
|
||||
'()
|
||||
`(("poppler" ,poppler)))))
|
||||
(propagated-inputs
|
||||
`( ;; ("cogl" ,cogl)
|
||||
;; ("directfb" ,directfb)
|
||||
|
|
Loading…
Reference in a new issue