summary refs log tree commit diff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-07-17 11:26:28 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-07-17 15:35:57 +0200
commit46fa001dea6b39b705b31996485734fc193973e8 (patch)
tree94ea8a3848637281c65d1531e8bbedb542cb9f27 /gnu/packages/lisp-xyz.scm
parentfc77c14182aa01d4861914538bfa947868ce3566 (diff)
downloadguix-46fa001dea6b39b705b31996485734fc193973e8.tar.gz
gnu: Add sbcl-mcclim-clx-truetype.
* gnu/packages/lisp-xyz.scm (sbcl-mcclim-clx-truetype): New variable.
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9859c8e2ae..7ba414f9a8 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -12902,3 +12902,23 @@ specification}, a toolkit for writing GUIs in Common Lisp.")
                ((":depends-on \\(#:mcclim-fonts/truetype")
                 ":depends-on (#:mcclim-fonts-truetype"))
              #t)))))))
+
+(define-public sbcl-mcclim-clx-truetype
+  (package
+    (inherit sbcl-clim-lisp)
+    (name "sbcl-mcclim-clx-truetype")
+    (inputs
+     `(("mcclim-clx" ,sbcl-mcclim-clx)
+       ("mcclim-fonts-clx-truetype" ,sbcl-mcclim-fonts-clx-truetype)
+       ("swank" ,cl-slime-swank))) ; For drei-mcclim
+    (arguments
+     '(#:asd-file "Backends/CLX/mcclim-clx.asd"
+       #:asd-system-name "mcclim-clx/truetype"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-asd-system-names
+           (lambda _
+             (substitute* "Backends/CLX/mcclim-clx.asd"
+               (("mcclim-fonts/clx-truetype")
+                "mcclim-fonts-clx-truetype"))
+             #t)))))))