mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: libvterm: Update to 0.3.3.
* gnu/packages/terminals.scm (libvterm): Update to 0.3.3. [source]: Use launchpad.net url. [arguments]: Use CC-FOR-TARGET. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
901eaca92b
commit
8d5304b143
1 changed files with 13 additions and 6 deletions
|
@ -35,6 +35,7 @@
|
||||||
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
||||||
;;; Copyright © 2023 Aaron Covrig <aaron.covrig.us@ieee.org>
|
;;; Copyright © 2023 Aaron Covrig <aaron.covrig.us@ieee.org>
|
||||||
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
||||||
|
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -629,19 +630,25 @@ (define-public unibilium
|
||||||
(define-public libvterm
|
(define-public libvterm
|
||||||
(package
|
(package
|
||||||
(name "libvterm")
|
(name "libvterm")
|
||||||
(version "0.3.1")
|
(version "0.3.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.leonerd.org.uk/code/libvterm/"
|
(uri (string-append
|
||||||
"libvterm-" version ".tar.gz"))
|
"https://launchpad.net/libvterm/trunk/v"
|
||||||
|
(version-major+minor version)
|
||||||
|
"/+download/libvterm-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "15y3y23kfpcda7n79ym3gp1abzn8mshxrad8s3gnhls82nfava15"))))
|
(base32 "1q16fbznm54p24hqvw8c9v3347apk86ybsxyghsbsa11vm1ny589"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
;; FIXME: cross build fails.
|
||||||
|
;; ld: src/.libs/encoding.o: error adding symbols: file in wrong format
|
||||||
|
;; collect2: error: ld returned 1 exit status
|
||||||
|
(string-append "CC=" ,(cc-for-target))
|
||||||
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
Loading…
Reference in a new issue