a2f82d98 |
1 | ;;; -*- Mode: lisp -*- |
2 | |
3 | (defpackage "GDK-SYSTEM" |
b2ce569e |
4 | (:use "COMMON-LISP" "ASDF" "PKG-CONFIG")) |
a2f82d98 |
5 | |
6 | (in-package "GDK-SYSTEM") |
7 | |
8 | (pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0") |
9 | |
a8da54a3 |
10 | (when (string>= (pkg-version "gtk+-2.0") "2.6.0") |
11 | (pushnew :gtk2.6 *features*)) |
a2f82d98 |
12 | |
a181b855 |
13 | (when (string>= (pkg-version "gtk+-2.0") "2.8.0") |
14 | (pushnew :gtk2.8 *features*)) |
15 | |
a2f82d98 |
16 | (defsystem gdk |
a181b855 |
17 | :depends-on (glib pango #+gtk2.8 cairo) |
a2f82d98 |
18 | :components ((:file "defpackage") |
b2ce569e |
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")) |
a2f82d98 |
23 | (:unix-dso "alien" |
b2ce569e |
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")) |
a2f82d98 |
29 | (:file "gdkevents" :depends-on ("gdktypes")) |
93cd8228 |
30 | (:file "pixbuf" :depends-on ("gdktypes")) |
a2f82d98 |
31 | (:file "gdk" :depends-on ("gdkevents")) |
32 | (:file "export" :depends-on ("gdkevents" "gdktypes" "gdk")))) |