guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

33/52: gnu: libthai: Add datrie as native-input when cross-compiling.


From: guix-commits
Subject: 33/52: gnu: libthai: Add datrie as native-input when cross-compiling.
Date: Mon, 20 Sep 2021 07:19:36 -0400 (EDT)

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

commit 2b16755f99997c42b986e75c3e48164884afb245
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Aug 25 11:02:28 2021 +0200

    gnu: libthai: Add datrie as native-input when cross-compiling.
    
    This allows the cross-build to succeed.
    
    * gnu/packages/gnome.scm
      (libthai)[native-inputs]: Add "datrie" when cross-compiling.
---
 gnu/packages/gtk.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8a0c7c5..12132db50c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -328,7 +328,11 @@ representing trie.  Trie is a kind of digital search 
tree.")
                        "/share/doc/libthai/html"))))
     (native-inputs
      `(("doxygen" ,doxygen)
-       ("pkg-config" ,pkg-config)))
+       ("pkg-config" ,pkg-config)
+       ;; TODO(core-updates): Make this input unconditional.
+       ,@(if (%current-target-system)
+             `(("datrie" ,libdatrie)) ; for 'trietool'
+             '())))
     (propagated-inputs
      `(("datrie" ,libdatrie)))
     (synopsis "Thai language support library")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]