summaryrefslogtreecommitdiff
path: root/nyxt.asd
diff options
context:
space:
mode:
authorAndre A. Gomes <andremegafone@gmail.com>2024-03-08 17:17:31 +0200
committerAndre A. Gomes <andremegafone@gmail.com>2024-03-08 17:39:40 +0200
commit96f7118f7090af574a3ed3ae6a9d1ea541d201b1 (patch)
tree52aa7141827b78b9bc929cea7c4e91be8350deea /nyxt.asd
parent7b8adf0fb360ff33a9a04bb21db870a8100f3afd (diff)
Replace qt port with electron.
A very primitive draft where: - The startup routine runs smoothly, (nyxt:start :failsafe t). - All UI elements are drawn. - All custom schemes are supported except nyxt-resource which handles custom fonts. - Primitive input handling. - A simple prompt can be called from the REPL. (let ((*interactive-p* t)) (prompt :prompt "test" :sources (list (make-instance 'prompter:source :name "s1" :constructor '("1.1" "1.2")) (make-instance 'prompter:source :name "s2" :constructor '("2.1" "2.2")))))
Diffstat (limited to 'nyxt.asd')
-rw-r--r--nyxt.asd16
1 files changed, 7 insertions, 9 deletions
diff --git a/nyxt.asd b/nyxt.asd
index d3d129525..0e775251d 100644
--- a/nyxt.asd
+++ b/nyxt.asd
@@ -370,12 +370,10 @@
)
:test-suite-args (:package :nyxt/tests/renderer))
-(defsystem "nyxt/qt"
- :depends-on (cl-webengine
- nyxt
- trivial-main-thread)
- :pathname #p"NYXT:source;"
- :components ((:file "renderer/qt")))
+(defsystem "nyxt/electron"
+ :depends-on (nyxt cl-electron)
+ :pathname #p"NYXT:source;renderer;"
+ :components ((:file "electron")))
;; We should not set the build-pathname in systems that have a component.
;; Indeed, when an external program (like Guix) builds components, it needs to
@@ -402,12 +400,12 @@
:build-pathname "nyxt"
:entry-point "nyxt:entry-point")
-(defsystem "nyxt/qt-application"
+(defsystem "nyxt/electron-application"
:defsystem-depends-on ("nasdf")
:class :nasdf-system
- :depends-on (nyxt/qt)
+ :depends-on (nyxt/electron)
:build-operation "program-op"
- :build-pathname "nyxt-qt"
+ :build-pathname "nyxt-electron"
:entry-point "nyxt:entry-point")
(defsystem "nyxt/install"