chiark / gitweb /
Added cairo dependency
[clg] / gdk / gdk.asd
CommitLineData
38c604ec 1;;; -*- Mode: lisp -*-
2
3(defpackage "GDK-SYSTEM"
f0bfc23e 4 (:use "COMMON-LISP" "ASDF" "PKG-CONFIG"))
38c604ec 5
6(in-package "GDK-SYSTEM")
7
8(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0")
9
66f063c3 10(when (string>= (pkg-version "gtk+-2.0") "2.6.0")
11 (pushnew :gtk2.6 *features*))
38c604ec 12
12cdb795 13(when (string>= (pkg-version "gtk+-2.0") "2.8.0")
14 (pushnew :gtk2.8 *features*))
15
38c604ec 16(defsystem gdk
12cdb795 17 :depends-on (glib pango #+gtk2.8 cairo)
38c604ec 18 :components ((:file "defpackage")
f0bfc23e 19 (:library "libgdk_pixbuf-2.0"
20 :libdir #.(pkg-variable "gtk+-2.0" "libdir"))
21 (:library "libgdk-x11-2.0"
22 :libdir #.(pkg-variable "gtk+-2.0" "libdir"))
38c604ec 23 (:unix-dso "alien"
f0bfc23e 24 :components ((:c-source-file "glue"
25 :cflags #.(pkg-cflags "gtk+-2.0"))))
26 (:file "gdktypes" :depends-on ("defpackage" "alien"
27 "libgdk_pixbuf-2.0"
28 "libgdk-x11-2.0"))
38c604ec 29 (:file "gdkevents" :depends-on ("gdktypes"))
4dc4b37c 30 (:file "pixbuf" :depends-on ("gdktypes"))
38c604ec 31 (:file "gdk" :depends-on ("gdkevents"))
32 (:file "export" :depends-on ("gdkevents" "gdktypes" "gdk"))))