From bc7915de7e0b09c6610ae7090f7c6056167c35d1 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sat, 2 Aug 2025 19:36:40 +0200 Subject: [PATCH] gnu: lepton-eda: Restore dependency on pcb. * gnu/packages/engineering.scm (lepton-eda): Restore dependency on pcb. [arguments]<#:configure-flags>: Add --with-pcb-datadir and --with-pcb-lib-path. [inputs]: Add pcb. Change-Id: Ifb5ab4eac149e12f140f29be7359aaee37e01da0 Signed-off-by: Andreas Enge --- gnu/packages/engineering.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index d66f43adabec63444eadf16bfc22e35d6bc66498..c6905d330805356428f80cd2a6804f3b6d6728c3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -451,11 +451,14 @@ utilities.") ;; and then in .gmo files. To avoid that, simply make sure 'msgmerge' ;; never runs. See . "ac_cv_path_MSGMERGE=true" - ;; FIXME: pcb package is broken at this point; it might be replaced - ;; by pcb-rnd or use pcb again when fixed. - ;; (string-append "--with-pcb-datadir=" pcb "/share") - ;; (string-append "--with-pcb-lib-path=" pcb - ;; "/share/pcb/pcblib-newlib:" pcb "/share/pcb/newlib") + (string-append "--with-pcb-datadir=" + #$(this-package-input "pcb") + "/share") + (string-append "--with-pcb-lib-path=" + #$(this-package-input "pcb") + "/share/pcb/pcblib-newlib:" + #$(this-package-input "pcb") + "/share/pcb/newlib") "--with-gtk3" "CFLAGS=-fcommon" "--enable-guild" @@ -558,6 +561,7 @@ utilities.") gtksheet guile-3.0 guile-readline + pcb shared-mime-info)) (home-page "https://lepton-eda.github.io/") (synopsis "GPL Electronic Design Automation")