guix_mirror_bot pushed a commit to branch master
in repository guix.

commit cac335b38ff182067cfffd227c9bb1bcb1a17613
Author: Cayetano Santos <[email protected]>
AuthorDate: Sat Jul 26 18:42:39 2025 +0200

    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 <[email protected]>
---
 gnu/packages/engineering.scm | 32 ++++++++++++++++----------------
 1 file 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

Reply via email to