mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: Add inkbox.
* gnu/packages/qt.scm (inkbox): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
daa6c67fb4
commit
7e3151c19e
1 changed files with 38 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
|
;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
|
||||||
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
|
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
|
||||||
|
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -35,6 +36,7 @@ (define-module (gnu packages ebook)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system meson)
|
#:use-module (guix build-system meson)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
|
#:use-module (guix build-system qt)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
|
@ -376,6 +378,42 @@ (define-public ebook-tools
|
||||||
accessing and converting various ebook file formats.")
|
accessing and converting various ebook file formats.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public inkbox
|
||||||
|
(package
|
||||||
|
(name "inkbox")
|
||||||
|
(version "1.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri
|
||||||
|
(git-reference
|
||||||
|
(url "https://alpinekobox.ddns.net/InkBox/inkbox/")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "126cqn0ixcn608lv2hd9f7zmzj4g448bnpxc7wv9cvg83qqajh5n"))))
|
||||||
|
(build-system qt-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f ; no test suite
|
||||||
|
#:make-flags
|
||||||
|
(list (string-append "PREFIX="
|
||||||
|
(assoc-ref %outputs "out")))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'prefix-opt
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "inkbox.pro"
|
||||||
|
(("/opt/\\$\\$\\{TARGET\\}") (string-append (assoc-ref outputs "out"))))))
|
||||||
|
(replace 'configure
|
||||||
|
(lambda* (#:key make-flags #:allow-other-keys)
|
||||||
|
(apply invoke (cons "qmake" make-flags)))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("qtbase" ,qtbase-5)))
|
||||||
|
(home-page "https://alpinekobox.ddns.net/InkBox/inkbox/")
|
||||||
|
(synopsis "EBook reader")
|
||||||
|
(description "This package provides InkBox eBook reader.")
|
||||||
|
(license license:gpl3)))
|
||||||
|
|
||||||
(define-public liblinebreak
|
(define-public liblinebreak
|
||||||
(package
|
(package
|
||||||
(name "liblinebreak")
|
(name "liblinebreak")
|
||||||
|
|
Loading…
Reference in a new issue