-
Notifications
You must be signed in to change notification settings - Fork 9
/
cl-gtk4.webkit.asd
29 lines (27 loc) · 1.01 KB
/
cl-gtk4.webkit.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(defsystem cl-gtk4.webkit
:version "1.0.0"
:author "Bohong Huang <[email protected]>"
:maintainer "Bohong Huang <[email protected]>"
:license "LGPLv3"
:description "WebKitGTK bindings for Common Lisp."
:homepage "https://github.com/bohonghuang/cl-gtk4"
:bug-tracker "https://github.com/bohonghuang/cl-gtk4/issues"
:source-control (:git "https://github.com/bohonghuang/cl-gtk4.git")
:serial t
:components ((:file "webkit"))
:depends-on (#:cl-gobject-introspection-wrapper #:cl-gtk4))
(uiop:register-image-restore-hook
(lambda ()
(let ((package (find-package :webkit)))
(when package
(setf (symbol-value (find-symbol "*NS*" package))
(uiop:symbol-call :gir :require-namespace "WebKit" "6.0"))))))
(defsystem cl-gtk4.webkit/example
:depends-on (#:asdf
#:cl-gtk4
#:cl-gtk4.webkit)
:build-operation program-op
:build-pathname "cl-gtk4-webkit-example"
:entry-point "webkit.example:main"
:pathname "examples/"
:components ((:file "webkit")))