summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-10-30 16:30:11 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2018-10-30 23:40:42 +0100
commit58cd3123ac4d6fb704a07c2ab8165805db03da9a (patch)
treeb7704275a8a9027d0f62fd77421a49e81fc8c3c0 /gnu
parent61c58b7827b336877758d824aafd0c5e4a50713f (diff)
downloadpatches-58cd3123ac4d6fb704a07c2ab8165805db03da9a.tar
patches-58cd3123ac4d6fb704a07c2ab8165805db03da9a.tar.gz
gnu: pulseview: Update to 0.4.1.
* gnu/packages/electronics.scm (pulseview): Update to 0.4.1. [arguments]: Remove CMAKE_CXX_FLAGS from #:configure-flags. (Keep) build(ing) the unit tests. Add a ‘remove-empty-doc-directory’ phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/electronics.scm18
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index ddee5bac13..bc30e619ec 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -226,7 +226,7 @@ format support.")
(define-public pulseview
(package
(name "pulseview")
- (version "0.4.0")
+ (version "0.4.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -234,9 +234,20 @@ format support.")
version ".tar.gz"))
(sha256
(base32
- "1f8f2342d5yam98mmcb8f9g2vslcwv486bmi4x45pxn68l82ky3q"))))
+ "0bvgmkgz37n2bi9niskpl05hf7rsj1lj972fbrgnlz25s4ywxrwy"))))
+ (build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DCMAKE_CXX_FLAGS=-fext-numeric-literals")))
+ `(#:configure-flags '("-DENABLE_TESTS=y")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'remove-empty-doc-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (with-directory-excursion (string-append out "/share")
+ ;; Use RMDIR to never risk silently deleting files.
+ (rmdir "doc/pulseview")
+ (rmdir "doc"))
+ #t))))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
@@ -247,7 +258,6 @@ format support.")
("libsigrokdecode" ,libsigrokdecode)
("qtbase" ,qtbase)
("qtsvg" ,qtsvg)))
- (build-system cmake-build-system)
(home-page "https://www.sigrok.org/wiki/PulseView")
(synopsis "Qt based logic analyzer, oscilloscope and MSO GUI for sigrok")
(description "PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI