guix-commits
[Top][All Lists]
Advanced

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

61/65: gnu: Add sbcl-cl-cffi-gtk-gdk-pixbuf.


From: Pierre Neidhardt
Subject: 61/65: gnu: Add sbcl-cl-cffi-gtk-gdk-pixbuf.
Date: Fri, 19 Oct 2018 11:59:52 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit a3bdddc359643a9a32e78e32b919390041818c49
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Oct 19 16:54:06 2018 +0200

    gnu: Add sbcl-cl-cffi-gtk-gdk-pixbuf.
    
    * gnu/packages/lisp.scm (sbcl-cl-cffi-gtk-gdk-pixbuf): New variable.
---
 gnu/packages/lisp.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index dc0481d..b63a55f 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -3378,3 +3378,22 @@ is a library for creating graphical user interfaces.")
                (("libpango" all)
                 (string-append
                  (assoc-ref inputs "pango") "/lib/" all))))))))))
+
+(define-public sbcl-cl-cffi-gtk-gdk-pixbuf
+  (package
+    (inherit sbcl-cl-cffi-gtk-boot0)
+    (name "sbcl-cl-cffi-gtk-gdk-pixbuf")
+    (inputs
+     `(("gdk-pixbuf" ,gdk-pixbuf)
+       ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
+       ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
+    (arguments
+     `(#:asd-file "gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-paths
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
+               (("libgdk_pixbuf" all)
+                (string-append
+                 (assoc-ref inputs "gdk-pixbuf") "/lib/" all))))))))))



reply via email to

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