chiark / gitweb /
Added gffi to the list of required modules
[clg] / gdk / gdk.asd
index 61882544bf69a62ab3ec9b03571a35a7864de44a..5f04e4e390bcc7afa788afa2288871252778a090 100644 (file)
@@ -5,16 +5,10 @@
 
 (in-package "GDK-SYSTEM")
 
-(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0")
-
-(when (string>= (pkg-version "gtk+-2.0") "2.6.0")
-  (pushnew :gtk2.6 *features*))
-
-(when (string>= (pkg-version "gtk+-2.0") "2.8.0")
-  (pushnew :gtk2.8 *features*))
+(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0" :error t)
 
 (defsystem gdk
-    :depends-on (glib pango #+gtk2.8 cairo)
+    :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"))