summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-29 15:40:03 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-29 15:40:03 +0100
commit128b2f1503298e21906cd6fe804a87aa08d89eae (patch)
treebfe190b76e8eb15aba79bbaf2054942e963057f3
parent37a202bd1ce7c242f01b3222c03f77b41391ab44 (diff)
downloadguix-128b2f1503298e21906cd6fe804a87aa08d89eae.tar.gz
gnu: scintilla: Update to 5.1.5.
* gnu/packages/text-editors.scm (scintilla): Update to 5.1.5.
[arguments]<#:make-flags>: Use CC-FOR-TARGET.
[native-inputs]: Remove labels.
-rw-r--r--gnu/packages/text-editors.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 5a9f5900e0..4dd13eb710 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -901,17 +901,19 @@ Octave.  TeXmacs is completely extensible via Guile.")
 (define-public scintilla
   (package
     (name "scintilla")
-    (version "5.1.4")
+    (version "5.1.5")
     (source
      (origin
        (method url-fetch)
        (uri (let ((v (apply string-append (string-split version #\.))))
               (string-append "https://www.scintilla.org/scintilla" v ".tgz")))
        (sha256
-        (base32 "0rd3scfs3dwaj85ds8yrcp1r8z0lifi7qv2464k6n1c995amr0nw"))))
+        (base32 "0mwyhjvmvxyip9z169bgpkz4k9la802z438m8bb0f4gyqfbif999"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags (list "GTK3=1" "CC=gcc" "-Cgtk")
+     `(#:make-flags (list "GTK3=1"
+                          ,(string-append "CC=" (cc-for-target))
+                          "-Cgtk")
        #:tests? #f                      ;require un-packaged Pyside
        #:phases
        (modify-phases %standard-phases
@@ -927,8 +929,7 @@ Octave.  TeXmacs is completely extensible via Guile.")
                (for-each (lambda (f) (install-file f include))
                          (find-files "include/" "."))))))))
     (native-inputs
-     `(("pkg-config" ,pkg-config)
-       ("python" ,python-wrapper)))
+     (list pkg-config python-wrapper))
     (inputs
      (list gtk+))
     (home-page "https://www.scintilla.org/")