mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
4f368f0cfa
commit
4f5f246334
2 changed files with 12 additions and 12 deletions
|
@ -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/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue