gnu: Add libepubgen.

* gnu/packages/libreoffice.scm (libepubgen): New variable.
This commit is contained in:
Ricardo Wurmus 2018-06-07 08:30:41 +02:00
parent d6dd64af37
commit 38be0f4245
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -9,6 +9,7 @@
;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -224,6 +225,34 @@ (define-public libe-book
ZVR (simple compressed text format).")
(license mpl2.0)))
(define-public libepubgen
(package
(name "libepubgen")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/libepubgen/libepubgen-"
version "/libepubgen-" version ".tar.xz"))
(sha256
(base32
"1b8mc9zzrqypj1v9zdy3ybc48pw0rfr06cyi7n6grvybjjwq9q03"))))
(build-system gnu-build-system)
(native-inputs
`(("cppunit" ,cppunit)
("pkg-config" ,pkg-config)))
(inputs
`(("libxml2" ,libxml2)
("boost" ,boost)))
(propagated-inputs ; in Requires field of .pkg
`(("librevenge" ,librevenge)))
(home-page "https://sourceforge.net/projects/libepubgen/")
(synopsis "EPUB generator library for librevenge")
(description "libepubgen is an EPUB generator for librevenge. It supports
librevenge's text document interface and--currently in a very limited
way--presentation and vector drawing interfaces.")
(license mpl2.0)))
(define-public libwpg
(package
(name "libwpg")