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 | |
80c00d73 |
8 | (pkg-exists-p "gdk-2.0" :atleast-version "2.4.0" :error t) |
12cdb795 |
9 | |
38c604ec |
10 | (defsystem gdk |
afa38a0d |
11 | :depends-on (gffi glib pango |
12 | #?(pkg-exists-p "gdk-2.0" :atleast-version "2.14.0")gio |
13 | #?(pkg-exists-p "gdk-2.0" :atleast-version "2.8.0")cairo) |
38c604ec |
14 | :components ((:file "defpackage") |
f0bfc23e |
15 | (:library "libgdk_pixbuf-2.0" |
c0bc39e5 |
16 | :libdir #.(pkg-libdir "gdk-2.0") |
afa38a0d |
17 | :libname #-win32 "libgdk_pixbuf-2.0" |
c0bc39e5 |
18 | #+win32 "libgdk_pixbuf-2.0-0") |
80c00d73 |
19 | (:library "libgdk-2.0" |
c0bc39e5 |
20 | :libdir #.(pkg-libdir "gdk-2.0") |
21 | :libname #-win32 "libgdk-x11-2.0" |
22 | #+win32 "libgdk-win32-2.0-0") |
23 | (:shared-object "gdk-alien" :pathname "alien/" |
24 | :ldflags #.(pkg-libs "gdk-2.0") |
25 | :components ((:c-source-file "glue" |
26 | :cflags #.(pkg-cflags "gdk-2.0"))) |
27 | :depends-on (#+cmu "libgdk-2.0")) |
28 | (:file "gdktypes" :depends-on ("defpackage" "gdk-alien" |
f0bfc23e |
29 | "libgdk_pixbuf-2.0" |
80c00d73 |
30 | "libgdk-2.0")) |
38c604ec |
31 | (:file "gdkevents" :depends-on ("gdktypes")) |
4dc4b37c |
32 | (:file "pixbuf" :depends-on ("gdktypes")) |
38c604ec |
33 | (:file "gdk" :depends-on ("gdkevents")) |
751d720a |
34 | (:file "export" :depends-on ("gdktypes" "gdkevents" "pixbuf" "gdk")))) |