mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add libwmf.
* gnu/packages/image.scm (libwmf): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b005157c9b
commit
efa77baf26
1 changed files with 39 additions and 0 deletions
|
@ -20,6 +20,9 @@ (define-module (gnu packages image)
|
|||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages file)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:))
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
|
@ -120,3 +123,39 @@ (define-public libtiff
|
|||
(license (license:bsd-style "file://COPYRIGHT"
|
||||
"See COPYRIGHT in the distribution."))
|
||||
(home-page "http://www.libtiff.org/")))
|
||||
|
||||
(define-public libwmf
|
||||
(package
|
||||
(name "libwmf")
|
||||
(version "0.2.8.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append
|
||||
"http://sourceforge.net/projects/wvware/files/" name "/" version
|
||||
"/" name "-" version ".tar.gz/download"))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1y3wba4q8pl7kr51212jwrsz1x6nslsx1gsjml1x0i8549lmqd2v"))))
|
||||
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("freetype" ,freetype)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libpng",libpng)
|
||||
("libxml2" ,libxml2)
|
||||
("zlib" ,zlib)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(synopsis "Library for reading images in the Microsoft WMF format")
|
||||
(description
|
||||
"libwmf is a library for reading vector images in Microsoft's native
|
||||
Windows Metafile Format (WMF) and for either (a) displaying them in, e.g., an X
|
||||
window; or (b) converting them to more standard/free file formats such as, e.g.,
|
||||
the W3C's XML-based Scaleable Vector Graphic (SVG) format.")
|
||||
(home-page "http://wvware.sourceforge.net/libwmf.html")
|
||||
|
||||
;; 'COPYING' is the GPLv2, but file headers say LGPLv2.0+.
|
||||
(license license:lgpl2.0+)))
|
||||
|
|
Loading…
Reference in a new issue