From 177b42552f0f1aa5c5e52f5e441a00eaac9def8e Mon Sep 17 00:00:00 2001 From: David Hashe Date: Wed, 15 Jul 2015 23:15:45 -0500 Subject: [PATCH] gnu: Add exempi. * gnu/packages/freedesktop.scm (exempi): New variable. --- gnu/packages/freedesktop.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 5cdb4568c5..996b178234 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015 Andy Wingo ;;; Copyright © 2015 Ludovic Courtès ;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015 David Hashe ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,8 @@ #:use-module (gnu packages glib) ;intltool #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) + #:use-module (gnu packages boost) + #:use-module (gnu packages compression) #:use-module (gnu packages doxygen) #:use-module (gnu packages libffi)) @@ -265,3 +268,30 @@ display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers.") (license license:x11))) + +(define-public exempi + (package + (name "exempi") + (version "2.2.2") + (source (origin + (method url-fetch) + (uri (string-append + "http://libopenraw.freedesktop.org/download/" + name "-" version ".tar.bz2")) + (sha256 + (base32 + "01vcd1mfn2s0iiq2cjyzgvnxx6kcq9cwra1iipijhs0vwvjx0yhf")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list (string-append "--with-boost=" + (assoc-ref %build-inputs "boost"))))) + (native-inputs + `(("boost" ,boost))) ; tests + (inputs + `(("expat" ,expat) + ("zlib" ,zlib))) + (home-page "https://wiki.freedesktop.org/libopenraw/Exempi") + (synopsis "XMP metadata handling library") + (description "Exempi is an implementation of the Extensible Metadata +Platform (XMP), which enables embedding metadata in PDF and image formats.") + (license license:bsd-3)))