chiark / gitweb /
Definition of EVENT-MASK moved to gdktypes.lisp and some other minor changes
[clg] / gdk / gdk.asd
index ad915b9d830e528aa1f29ae441e84885bf39e7fb..5f04e4e390bcc7afa788afa2288871252778a090 100644 (file)
@@ -5,11 +5,10 @@
 
 (in-package "GDK-SYSTEM")
 
-(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0")
-
+(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0" :error t)
 
 (defsystem gdk
-    :depends-on (glib pango)
+    :depends-on (gffi glib pango #?(pkg-exists-p "gtk+-2.0" :atleast-version "2.8.0") cairo)
     :components ((:file "defpackage")
                 (:library "libgdk_pixbuf-2.0" 
                           :libdir #.(pkg-variable "gtk+-2.0" "libdir"))
@@ -22,5 +21,6 @@
                                                "libgdk_pixbuf-2.0" 
                                                "libgdk-x11-2.0"))
                 (:file "gdkevents" :depends-on ("gdktypes"))
+                (:file "pixbuf" :depends-on ("gdktypes"))
                 (:file "gdk" :depends-on ("gdkevents"))
                 (:file "export" :depends-on ("gdkevents" "gdktypes" "gdk"))))