unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Guillaume Le Vaillant <glv@posteo.net>
To: 48217@debbugs.gnu.org
Cc: Guillaume Le Vaillant <glv@posteo.net>
Subject: [bug#48217] [PATCH v2 3/9] gnu: aptdec: Update to 1.7-1.5f91799.
Date: Wed,  5 May 2021 08:48:18 +0000	[thread overview]
Message-ID: <20210505084824.22275-3-glv@posteo.net> (raw)
In-Reply-To: <20210505084824.22275-1-glv@posteo.net>

* gnu/packages/radio.scm (aptdec): Update to 1.7-1.5f91799.
  [build-system]: Switch to cmake-build-system.
  [arguments]: Remove 'make-flags". Remove custom 'configure' and 'install'
  phases.
---
 gnu/packages/radio.scm | 65 ++++++++++++++++--------------------------
 1 file changed, 25 insertions(+), 40 deletions(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 910f63959a..73f0d03e01 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -246,50 +246,35 @@ memory contents between them.")
                    license:lgpl3+)))) ; chirp/elib_intl.py
 
 (define-public aptdec
-  (package
-    (name "aptdec")
-    (version "1.7")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/Xerbo/aptdec")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1hf0zb51qc6fyhdjxyij1n3vgwnw3cwksc3r11szbhkml14qjnzk"))))
-    (build-system gnu-build-system)
-    (inputs
-     `(("libpng" ,libpng)
-       ("libsndfile" ,libsndfile)))
-    (arguments
-     `(#:make-flags
-       (list
-        (string-append "CC="
-                       (if ,(%current-target-system)
-                           (string-append (assoc-ref %build-inputs "cross-gcc")
-                                          "/bin/" ,(%current-target-system) "-gcc")
-                           "gcc"))
-        (string-append "PREFIX=" %output)
-        (string-append "RPM_BUILD_ROOT=" %output))
-       #:tests? #f ; no tests
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (install-file "atpdec" (string-append out "/bin")))
-             #t)))))
-    (home-page "https://github.com/Xerbo/aptdec")
-    (synopsis "NOAA Automatic Picture Transmission (APT) decoder")
-    (description "Aptdec decodes Automatic Picture Transmission (APT) images.
+  ;; No release since 2013, use commit directly.
+  (let ((commit "5f91799637d93dfe7791caa7e9a6683050c4f8f3")
+        (revision "1"))
+    (package
+      (name "aptdec")
+      (version (git-version "1.7" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Xerbo/aptdec")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0i7vkjjrq392gs9qaibr7j3v4hijqqg8458dn21dwh16ncrvr9bp"))))
+      (build-system cmake-build-system)
+      (inputs
+       `(("libpng" ,libpng)
+         ("libsndfile" ,libsndfile)))
+      (arguments
+       `(#:tests? #f))  ; no tests
+      (home-page "https://github.com/Xerbo/aptdec")
+      (synopsis "NOAA Automatic Picture Transmission (APT) decoder")
+      (description "Aptdec decodes Automatic Picture Transmission (APT) images.
 These are medium resolution images of the Earth transmitted by, among other
 satellites, the POES NOAA weather satellite series.  These transmissions are
 on a frequency of 137 MHz.  They can be received using an inexpensive antenna
 and a dedicated receiver.")
-    (license license:gpl2+)))
+      (license license:gpl2+))))
 
 (define-public redsea
   (package
-- 
2.31.1





  parent reply	other threads:[~2021-05-05  8:50 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04  8:46 [bug#48217] [PATCH 0/9] Add sdrangel Guillaume Le Vaillant
2021-05-04  8:56 ` [bug#48217] [PATCH 1/9] gnu: Add csdr Guillaume Le Vaillant
2021-05-04  8:56   ` [bug#48217] [PATCH 2/9] gnu: Add serialdv Guillaume Le Vaillant
2021-05-04  8:56   ` [bug#48217] [PATCH 3/9] gnu: aptdec: Update to 1.7-1.5f91799 Guillaume Le Vaillant
2021-05-04  8:57   ` [bug#48217] [PATCH 4/9] gnu: Add cm256cc Guillaume Le Vaillant
2021-05-04  8:57   ` [bug#48217] [PATCH 5/9] gnu: Add libdab Guillaume Le Vaillant
2021-05-04  8:57   ` [bug#48217] [PATCH 6/9] gnu: Add sgp4 Guillaume Le Vaillant
2021-05-04  8:57   ` [bug#48217] [PATCH 7/9] gnu: Add sdrangel Guillaume Le Vaillant
2021-05-04  8:57   ` [bug#48217] [PATCH 8/9] gnu: Add dsdcc Guillaume Le Vaillant
2021-05-04  8:57   ` [bug#48217] [PATCH 9/9] gnu: sdrangel: Add dsdcc support Guillaume Le Vaillant
2021-05-04 16:39     ` Leo Famulari
2021-05-04 20:02     ` Leo Famulari
2021-05-04 21:48       ` Guillaume Le Vaillant
2021-05-04 20:00   ` [bug#48217] [PATCH 1/9] gnu: Add csdr Leo Famulari
2021-05-04 21:34     ` Guillaume Le Vaillant
2021-05-04 16:38 ` [bug#48217] [PATCH 0/9] Add sdrangel Leo Famulari
2021-05-05  8:48   ` [bug#48217] [PATCH v2 1/9] gnu: Add csdr Guillaume Le Vaillant
2021-05-05  8:48     ` [bug#48217] [PATCH v2 2/9] gnu: Add serialdv Guillaume Le Vaillant
2021-05-05  8:48     ` Guillaume Le Vaillant [this message]
2021-05-05  8:48     ` [bug#48217] [PATCH v2 4/9] gnu: Add cm256cc Guillaume Le Vaillant
2021-05-05 11:22       ` Maxime Devos
2021-05-05 13:37         ` Guillaume Le Vaillant
2021-05-05  8:48     ` [bug#48217] [PATCH v2 5/9] gnu: Add libdab Guillaume Le Vaillant
2021-05-05  8:48     ` [bug#48217] [PATCH v2 6/9] gnu: Add sgp4 Guillaume Le Vaillant
2021-05-05  8:48     ` [bug#48217] [PATCH v2 7/9] gnu: Add mbelib Guillaume Le Vaillant
2021-05-05  8:48     ` [bug#48217] [PATCH v2 8/9] gnu: Add dsdcc Guillaume Le Vaillant
2021-05-05  8:48     ` [bug#48217] [PATCH v2 9/9] gnu: Add sdrangel Guillaume Le Vaillant
2021-05-07 16:48     ` bug#48217: [PATCH 0/9] " Guillaume Le Vaillant
2021-05-08  2:32       ` [bug#48217] " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210505084824.22275-3-glv@posteo.net \
    --to=glv@posteo.net \
    --cc=48217@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).