aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-12-17 13:56:18 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-12-17 15:20:11 +0100
commit021a630676e12c9f490b7cf8dcd2296abe18e744 (patch)
treef79f6911ce9069aa05c6f8805c28f3f31c8e8522 /gnu/packages/radio.scm
parentaec7ea37105c52e013d93364adaf2ab61870c35c (diff)
downloadguix-021a630676e12c9f490b7cf8dcd2296abe18e744.tar
guix-021a630676e12c9f490b7cf8dcd2296abe18e744.tar.gz
gnu: wfview: Update to 1.2d.
* gnu/packages/radio.scm (wfview): Update to 1.2d. [inputs]: Add opus. [arguments]: Update 'configure' phase. Remove custom 'install' phase.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm27
1 files changed, 8 insertions, 19 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 61f6150bd6..cf873f6704 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -2123,19 +2123,19 @@ software-defined radio receivers.")
(define-public wfview
(package
(name "wfview")
- (version "1.0")
+ (version "1.2d")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/eliggett/wfview")
- (commit (string-append "v" version))))
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "16a9afm0nkqx4pzwfxisspybimhqdyr3yjpr7ac7wgpp3520ikzi"))))
+ (base32 "1kpkwxhcacgmprbr8xz840rj9a22513vxrh2q7d3js5i1dva8j2z"))))
(build-system qt-build-system)
(inputs
- (list qcustomplot qtbase-5 qtmultimedia qtserialport))
+ (list opus qcustomplot qtbase-5 qtmultimedia qtserialport))
(arguments
`(#:tests? #f ; No test suite.
#:phases
@@ -2149,23 +2149,12 @@ software-defined radio receivers.")
(("/usr/share")
(string-append (assoc-ref outputs "out") "/share")))))
(replace 'configure
- (lambda _
+ (lambda* (#:key outputs #:allow-other-keys)
(mkdir-p "build")
(chdir "build")
- (invoke "qmake" "../wfview.pro")))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (install-file "wfview"
- (string-append out "/bin"))
- (install-file "wfview.png"
- (string-append out "/share/pixmaps"))
- (install-file "wfview.desktop"
- (string-append out "/share/applications"))
- (let ((dir (string-append
- out "/share/wfview/stylesheets/qdarkstyle")))
- (mkdir-p dir)
- (copy-recursively "qdarkstyle" dir))))))))
+ (invoke "qmake"
+ (string-append "PREFIX=" (assoc-ref outputs "out"))
+ "../wfview.pro"))))))
(home-page "https://wfview.org/")
(synopsis "Software to control Icom radios")
(description