gnu: Add sbcl-cl-cffi-gtk-gdk-pixbuf.

* gnu/packages/lisp.scm (sbcl-cl-cffi-gtk-gdk-pixbuf): New variable.
This commit is contained in:
Pierre Neidhardt 2018-10-19 16:54:06 +02:00
parent 9ecc457b52
commit a3bdddc359
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -3378,3 +3378,22 @@ (define-public sbcl-cl-cffi-gtk-pango
(("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))))))))))