[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: pcb-rnd: Update to 3.1.0.
From: |
guix-commits |
Subject: |
09/10: gnu: pcb-rnd: Update to 3.1.0. |
Date: |
Tue, 14 Mar 2023 09:20:03 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 8fb1edcceb01d7118f5408421b4a024f6ccde098
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Mar 12 23:28:58 2023 +0100
gnu: pcb-rnd: Update to 3.1.0.
* gnu/packages/engineering.scm (pcb-rnd): Update to 3.1.0.
[inputs]: Add librnd.
[arguments]: Use gexp; set LIBRND_PREFIX.
---
gnu/packages/engineering.scm | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index c463e1c86f..44235439b1 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -511,26 +511,30 @@ optimizer; and it can produce photorealistic and design
review images.")
(define-public pcb-rnd
(package (inherit pcb)
(name "pcb-rnd")
- (version "2.2.4")
+ (version "3.1.0")
(source (origin
(method url-fetch)
(uri (string-append "http://repo.hu/projects/pcb-rnd/releases/"
"pcb-rnd-" version ".tar.gz"))
(sha256
(base32
- "06ylc2rd4yvzp3krk62q9dbi13h0yq1x257fbjkh10vfjn0ga5c2"))))
+ "0yw4sf4qrmmai48f3f5byn2fphc453myjszh3sy9z0dnfcz3x7fw"))))
(arguments
- `(#:tests? #f ; no check target
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'cc-is-gcc
- (lambda _ (setenv "CC" "gcc") #t))
- (replace 'configure
- ;; The configure script doesn't tolerate most of our configure
flags.
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "sh" "configure"
- (string-append "--prefix="
- (assoc-ref outputs "out"))))))))
+ (list
+ #:tests? #false ;no check target
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'cc-is-gcc
+ (lambda _ (setenv "CC" "gcc")))
+ (replace 'configure
+ ;; The configure script doesn't tolerate most of our configure
flags.
+ (lambda _
+ (setenv "LIBRND_PREFIX" #$(this-package-input "librnd"))
+ (invoke "sh" "configure"
+ (string-append "--prefix=" #$output)))))))
+ (inputs
+ (modify-inputs (package-inputs pcb)
+ (append librnd)))
(home-page "http://repo.hu/projects/pcb-rnd/")
(description "PCB RND is a fork of the GNU PCB circuit board editing tool
featuring various improvements and bug fixes.")))
- branch master updated (a6009e0bf8 -> 633c935e0a), guix-commits, 2023/03/14
- 03/10: gnu: lepton-eda: Adjust format., guix-commits, 2023/03/14
- 02/10: gnu: lepton-eda: Use gexp for arguments., guix-commits, 2023/03/14
- 01/10: gnu: lepton-eda: Drop input labels., guix-commits, 2023/03/14
- 04/10: gnu: pcb: Use gexp., guix-commits, 2023/03/14
- 05/10: gnu: pcb: Update to 4.3.0., guix-commits, 2023/03/14
- 07/10: gnu: pcb: Remove eudev., guix-commits, 2023/03/14
- 09/10: gnu: pcb-rnd: Update to 3.1.0.,
guix-commits <=
- 08/10: gnu: Add librnd., guix-commits, 2023/03/14
- 06/10: gnu: pcb: Drop input labels., guix-commits, 2023/03/14
- 10/10: gnu: r-tidyverse: Update to 2.0.0., guix-commits, 2023/03/14