~ruther/guix-local

4f5f246334adfc5440bbbdb93d10d25274ef6cc5 — Cayetano Santos 11 months ago 4f368f0
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>
2 files changed, 12 insertions(+), 12 deletions(-)

M gnu/packages/engineering.scm
M gnu/packages/sml.scm
M gnu/packages/engineering.scm => gnu/packages/engineering.scm +11 -11
@@ 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/")

M gnu/packages/sml.scm => gnu/packages/sml.scm +1 -1
@@ 47,7 47,7 @@
                "1s7lpnxg826r2lm2c81j9a61zwljy2ybkqwadjiwrfi0hmbczn89"))))
    (build-system gnu-build-system)
    (inputs
     (list gmp lesstif libffi libx11 libxt))
     (list gmp libffi libx11 libxt))
    (arguments
     '(#:configure-flags
       (list "--with-gmp"