diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-07-26 18:28:21 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-26 23:26:18 +0200 |
| commit | 4f5f246334adfc5440bbbdb93d10d25274ef6cc5 (patch) | |
| tree | eacde0200d84c2836e8845ecba91191ea496f8fd /gnu/packages/engineering.scm | |
| parent | 4f368f0cfa6de77f41ea5caf09c47d8d012d676b (diff) | |
gnu: librnd: Update to 4.3.2.
* gnu/packages/engineering.scm (librnd): Update to 4.3.2.
[build-system]: Switch to glib-or-gtk.
[arguments]<#:phases>: Merge cc-is-gcc into configure phase.
[inputs]: Add gtkglext and libepoxy.
Change-Id: If0bb0feadc83cba97f93c5122c83b9f1771c3fd5
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/engineering.scm')
| -rw-r--r-- | gnu/packages/engineering.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index c03d4e8c9d3..e00b9cd412e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -67,6 +67,7 @@ #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module (guix build-system guile) + #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) @@ -568,29 +569,28 @@ features."))) (define-public librnd (package (name "librnd") - (version "4.0.2") + (version "4.3.2") (source (origin (method url-fetch) - (uri (string-append "http://www.repo.hu/projects/librnd/releases/" - "librnd-" version ".tar.bz2")) + (uri (string-append "http://www.repo.hu/projects/librnd/" + "releases/librnd-" version ".tar.bz2")) (sha256 (base32 - "0z578x3sd8yjfbhivy1hz4hlgiy43qq6x7mnby872plpm08vgqxz")))) - (build-system gnu-build-system) + "1qjv6gg9fb3rpvr1y9l5nbzz2xk2sa4nqz0dgwvds5hc1bmd97mf")))) + (build-system glib-or-gtk-build-system) (arguments (list #:tests? #false ;no check target #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'cc-is-gcc - (lambda _ (setenv "CC" #$(cc-for-target)))) + ;; The configure script doesn't tolerate most of our configure + ;; flags. (replace 'configure - ;; The configure script doesn't tolerate most of our configure flags. (lambda _ - (invoke "sh" "configure" - (string-append "--prefix=" #$output))))))) + (setenv "CC" #$(cc-for-target)) + (invoke "./configure" (string-append "--prefix=" #$output))))))) (inputs - (list gd gtk glib glu)) + (list gd glib glu gtk gtkglext libepoxy)) (native-inputs (list pkg-config)) (home-page "http://repo.hu/projects/librnd/") |
