| 1 | ;;; -*- Mode: lisp -*- |
| 2 | |
| 3 | (defpackage "GDK-SYSTEM" |
| 4 | (:use "COMMON-LISP" "ASDF" "PKG-CONFIG")) |
| 5 | |
| 6 | (in-package "GDK-SYSTEM") |
| 7 | |
| 8 | (pkg-exists-p "gdk-2.0" :atleast-version "2.4.0" :error t) |
| 9 | |
| 10 | (defsystem gdk |
| 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) |
| 14 | :components ((:file "defpackage") |
| 15 | (:library "libgdk_pixbuf-2.0" |
| 16 | :libdir #.(pkg-libdir "gdk-2.0") |
| 17 | :libname #-win32 "libgdk_pixbuf-2.0" |
| 18 | #+win32 "libgdk_pixbuf-2.0-0") |
| 19 | (:library "libgdk-2.0" |
| 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" |
| 29 | "libgdk_pixbuf-2.0" |
| 30 | "libgdk-2.0")) |
| 31 | (:file "gdkevents" :depends-on ("gdktypes")) |
| 32 | (:file "pixbuf" :depends-on ("gdktypes")) |
| 33 | (:file "gdk" :depends-on ("gdkevents")) |
| 34 | (:file "export" :depends-on ("gdktypes" "gdkevents" "pixbuf" "gdk")))) |