guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes.


From: Brendan Tildesley
Subject: [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes.
Date: Sat, 4 Nov 2017 02:44:03 +1100

* gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file.
---
 gnu/packages/ebook.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 659ec57d5..5c392cc75 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -183,7 +183,12 @@
                        (find-files (string-append
                                     (assoc-ref inputs "font-liberation")
                                     "/share/fonts/truetype")))
-             #t)))))
+             #t))
+         (add-after 'install-font-liberation 'install-mimetypes
+           (lambda* (#:key outputs #:allow-other-keys)
+             (install-file "resources/calibre-mimetypes.xml"
+                           (string-append (assoc-ref outputs "out")
+                                          "/share/mime/packages")))))))
     (home-page "http://calibre-ebook.com/";)
     (synopsis "E-book library management software")
     (description "Calibre is an ebook library manager.  It can view, convert
-- 
2.14.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]