summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-07-26 18:42:39 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-26 23:26:18 +0200
commitcac335b38ff182067cfffd227c9bb1bcb1a17613 (patch)
tree28029b0df87bb3144160d3fcdf523d86474f4ca0
parent4f5f246334adfc5440bbbdb93d10d25274ef6cc5 (diff)
gnu: pcb-rnd: Update to 3.1.7b.
* gnu/packages/engineering.scm (pcb-rnd): Update to 3.1.7b. [inherit]: Remove. [build-system]: Switch to glib-or-gtk. [arguments]: Activate tests. <#:phases>: Merge cc-is-gcc into configure phase. [inputs]: Set to librnd. [synopsys, license]: Add. [description]: Update. Change-Id: I879b5226b7712723c09a3e0f6cb93d2d4c90e6fd Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/engineering.scm32
1 files changed, 16 insertions, 16 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index e00b9cd412..52e4c0cbf0 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -654,35 +654,35 @@ optimizer; and it can produce photorealistic and design review images.")
(license license:gpl2+)))
(define-public pcb-rnd
- (package (inherit pcb)
+ (package
(name "pcb-rnd")
- (version "3.1.1")
+ (version "3.1.7b")
(source (origin
(method url-fetch)
- (uri (string-append "http://repo.hu/projects/pcb-rnd/releases/"
- "pcb-rnd-" version ".tar.gz"))
+ (uri (string-append "http://repo.hu/projects/pcb-rnd/"
+ "releases/pcb-rnd-" version ".tar.gz"))
(sha256
(base32
- "0szcsp2049wh3wslv7743wbjqllrmphi07yz0933sz4vf6f1c8dg"))))
+ "1djsa0w53l6nvhwv28rlhpva55ir9n3xdvjgnjj8fgvcmrqlzrsl"))))
+ (build-system glib-or-gtk-build-system)
(arguments
(list
- #:tests? #false ;no check target
+ #:test-target "test"
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'cc-is-gcc
- (lambda _ (setenv "CC" #$(cc-for-target))))
(replace 'configure
- ;; The configure script doesn't tolerate most of our configure flags.
+ ;; The configure script doesn't tolerate most of our configure
+ ;; flags.
(lambda _
+ (setenv "CC" #$(cc-for-target))
(setenv "LIBRND_PREFIX" #$(this-package-input "librnd"))
- (invoke "sh" "configure"
- (string-append "--prefix=" #$output)))))))
- (inputs
- (modify-inputs (package-inputs pcb)
- (append librnd)))
+ (invoke "./configure" (string-append "--prefix=" #$output)))))))
+ (inputs (list 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.")))
+ (synopsis "Modular layout editor")
+ (description "@code{Pcb-rnd} is a @acronym{Printed Circuit Board} layout
+editor, part of the RiNgDove EDA suite.")
+ (license license:gpl2+)))
(define-public fastcap
(package