chiark / gitweb /
Added missing dependency
[clg] / gdk / gdk.asd
index 885446a305b5091ef289e4846c7ba6f64b7bd874..90be8c6c163005f4d8fa5f306a27d461ddf72d10 100644 (file)
@@ -5,22 +5,28 @@
 
 (in-package "GDK-SYSTEM")
 
-(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0")
-
+(pkg-exists-p "gdk-2.0" :atleast-version "2.4.0" :error t)
 
 (defsystem gdk
-    :depends-on (glib)
+    :depends-on (gffi glib pango #?(pkg-exists-p "gdk-2.0" :atleast-version "2.8.0") cairo)
     :components ((:file "defpackage")
                 (:library "libgdk_pixbuf-2.0" 
-                          :libdir #.(pkg-variable "gtk+-2.0" "libdir"))
-                (:library "libgdk-x11-2.0" 
-                          :libdir #.(pkg-variable "gtk+-2.0" "libdir"))
-                (:unix-dso "alien"
-                           :components ((:c-source-file "glue"
-                                         :cflags #.(pkg-cflags "gtk+-2.0"))))
-                (:file "gdktypes" :depends-on ("defpackage" "alien" 
+                 :libdir #.(pkg-libdir "gdk-2.0")
+                 :libname #-win32 "libgdk_pixbuf-2.0" 
+                          #+win32 "libgdk_pixbuf-2.0-0")
+                (:library "libgdk-2.0" 
+                 :libdir #.(pkg-libdir "gdk-2.0")
+                 :libname #-win32 "libgdk-x11-2.0"
+                          #+win32 "libgdk-win32-2.0-0")
+                (:shared-object "gdk-alien" :pathname "alien/"
+                 :ldflags #.(pkg-libs "gdk-2.0")
+                 :components ((:c-source-file "glue"
+                               :cflags #.(pkg-cflags "gdk-2.0")))
+                 :depends-on (#+cmu "libgdk-2.0"))
+                (:file "gdktypes" :depends-on ("defpackage" "gdk-alien" 
                                                "libgdk_pixbuf-2.0" 
-                                               "libgdk-x11-2.0"))
+                                               "libgdk-2.0"))
                 (:file "gdkevents" :depends-on ("gdktypes"))
+                (:file "pixbuf" :depends-on ("gdktypes"))
                 (:file "gdk" :depends-on ("gdkevents"))
-                (:file "export" :depends-on ("gdkevents" "gdktypes" "gdk"))))
+                (:file "export" :depends-on ("gdktypes" "gdkevents" "pixbuf" "gdk"))))