gnu: fbcat: Update to 0.5.2.

* gnu/packages/linux.scm (fbcat): Update to 0.5.2.
[arguments]: Don't return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-09-04 18:06:10 +02:00
parent 6360212994
commit 039eb73b66
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -7275,14 +7275,14 @@ (define-public snapscreenshot
(define-public fbcat (define-public fbcat
(package (package
(name "fbcat") (name "fbcat")
(version "0.5.1") (version "0.5.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/jwilk/fbcat/releases/download/" (uri (string-append "https://github.com/jwilk/fbcat/releases/download/"
version "/" name "-" version ".tar.gz")) version "/" name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0pj9hxmwhbz6kmd7847yx2jh1scl9l25zgndyi8s9vlzdkq2q8d7")))) (base32 "07q6f0xj7b4gjvn69qfn0g04yd0ch8ndzyigcz8nnrhli0cvsbh6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
;; The fbgrab wrapper can use one of several PPM-to-PNG converters. We ;; The fbgrab wrapper can use one of several PPM-to-PNG converters. We
@ -7306,8 +7306,7 @@ (define-public fbcat
(("fbcat" all) (("fbcat" all)
(string-append out "/bin/" all)) (string-append out "/bin/" all))
(("pnmtopng" all) (("pnmtopng" all)
(string-append pnmtopng "/bin/" all))) (string-append pnmtopng "/bin/" all))))))
#t)))
(add-after 'install 'split-fbgrab-output (add-after 'install 'split-fbgrab-output
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -7318,8 +7317,7 @@ (define-public fbcat
(mkdir-p (dirname new)) (mkdir-p (dirname new))
(rename-file old new))) (rename-file old new)))
(list "bin/fbgrab" (list "bin/fbgrab"
"share/man/man1/fbgrab.1")) "share/man/man1/fbgrab.1"))))))))
#t))))))
(home-page "https://jwilk.net/software/fbcat") (home-page "https://jwilk.net/software/fbcat")
(synopsis "Take a screenshot of the contents of the Linux framebuffer") (synopsis "Take a screenshot of the contents of the Linux framebuffer")
(description (description