mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: xaos: Update to 4.2.1.
* gnu/packages/maths.scm (xaos): Update to 4.2.1. [arguments]: Patch call to "lrelease" in XaoS.pro.
This commit is contained in:
parent
d018a11ee0
commit
685e4733ad
1 changed files with 8 additions and 6 deletions
|
@ -4480,7 +4480,7 @@ (define-public wcalc
|
||||||
(define-public xaos
|
(define-public xaos
|
||||||
(package
|
(package
|
||||||
(name "xaos")
|
(name "xaos")
|
||||||
(version "4.0")
|
(version "4.2.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -4489,7 +4489,7 @@ (define-public xaos
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00110p5xscjsmn7avfqgydn656zbmdj3l3y2fpv9b4ihzpid8n7a"))))
|
"0maw5am6rrkyjrprfg113zjq37mqj0iaznkg4h2927ff7wrprc94"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs `(("gettext" ,gettext-minimal)
|
(native-inputs `(("gettext" ,gettext-minimal)
|
||||||
("qtbase" ,qtbase)
|
("qtbase" ,qtbase)
|
||||||
|
@ -4512,12 +4512,14 @@ (define-public xaos
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
;; The DESTDIR is originally set to install the xaos binary to
|
|
||||||
;; the "bin" folder inside the build directory. Setting make
|
|
||||||
;; flags doesn't seem to change this.
|
|
||||||
(substitute* "XaoS.pro"
|
(substitute* "XaoS.pro"
|
||||||
|
;; The DESTDIR is originally set to install the xaos binary to
|
||||||
|
;; the "bin" folder inside the build directory. Setting make
|
||||||
|
;; flags doesn't seem to change this.
|
||||||
(("DESTDIR.*$")
|
(("DESTDIR.*$")
|
||||||
(string-append "DESTDIR=" out "/bin")))
|
(string-append "DESTDIR=" out "/bin"))
|
||||||
|
;; Set the correct path to the lrelease binary.
|
||||||
|
(("lrelease-qt5") "lrelease"))
|
||||||
(substitute* "src/include/config.h"
|
(substitute* "src/include/config.h"
|
||||||
(("/usr/share/XaoS")
|
(("/usr/share/XaoS")
|
||||||
(string-append out "/share/XaoS")))
|
(string-append out "/share/XaoS")))
|
||||||
|
|
Loading…
Reference in a new issue