[Lunar-commits] <moonbase> cairo: configuration update

Duncan Gibson engelsman at lunar-linux.org
Thu Feb 3 02:36:14 CET 2011


commit efba84d7f2b5655f9aef15a46d36445568ce4cb9
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Thu Feb 3 02:36:14 2011 +0100

    cairo: configuration update
    
    ... added lots of options
---
 graphics/cairo/BUILD     |    1 +
 graphics/cairo/CONFIGURE |   14 ++++++++++
 graphics/cairo/DEPENDS   |   60 +++++++++++++++++++++++++++++++++++++++------
 graphics/cairo/DETAILS   |    2 +-
 4 files changed, 68 insertions(+), 9 deletions(-)

diff --git a/graphics/cairo/BUILD b/graphics/cairo/BUILD
index 3abad5b..9a6149d 100644
--- a/graphics/cairo/BUILD
+++ b/graphics/cairo/BUILD
@@ -1,6 +1,7 @@
 (
 
   patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/cairo/CONFIGURE b/graphics/cairo/CONFIGURE
new file mode 100644
index 0000000..6809c9f
--- /dev/null
+++ b/graphics/cairo/CONFIGURE
@@ -0,0 +1,14 @@
+mquery INTERPRETER "Enable cairo-script-interpreter? (recommended)" \
+                   y                                                \
+                   "--enable-interpreter"                           \
+                   "--disable-interpreter"
+
+mquery PTHREAD     "Enable pthreads?"                               \
+                   y                                                \
+                   "--enable-pthread"                               \
+                   "--disable-pthread"
+
+mquery TRACE       "Enable cairo-trace feature?"                    \
+                   n                                                \
+                   "--enable-trace"                                 \
+                   "--disable-trace"
diff --git a/graphics/cairo/DEPENDS b/graphics/cairo/DEPENDS
index 171bbf8..a14e707 100644
--- a/graphics/cairo/DEPENDS
+++ b/graphics/cairo/DEPENDS
@@ -1,8 +1,52 @@
-depends pkgconfig
-depends fontconfig
-depends libpng
-depends pixman
-
-optional_depends  "DirectFB" "--enable-directfb" "" "for DirectFB support"
-optional_depends  "%X"       "--with-x"  "" "for X11 support"
-optional_depends  "libxcb"   "--enable-xcb" "--disable-xcb" "for xcb support"
+depends  pkgconfig
+depends  pixman
+
+optional_depends "libpng"                                               \
+                 "--enable-png --enable-svg"                            \
+                 "--disable-png --disable-svg"                          \
+                 "for PNG functions and SVG backend (recommended)"
+
+optional_depends "zlib"                                                 \
+                 "--enable-ps --enable-pdf"                             \
+                 "--disable-ps --disable-pdf"                           \
+                 "for PostScript and PDF surface backend (recommended)"
+
+optional_depends "libX11"                                               \
+                 "--enable-xlib"                                        \
+                 "--disable-xlib"                                       \
+                 "for Xlib surface backend"
+
+optional_depends "libXrender"                                           \
+                 "--enable-xlib --enable-xlib-xrender"                  \
+                 "--disable-xlib-xrender"                               \
+                 "for Xlib Xrender surface backend (enables Xlib)"
+
+optional_depends "libxcb"                                               \
+                 "--enable-xlib --enable-xcb"                           \
+                 "--disable-xcb"                                        \
+                 "for XCB surface backend (experimental, enables Xlib)"
+
+optional_depends "qt4"                                                  \
+                 "--enable-qt"                                          \
+                 "--disable-qt"                                         \
+                 "for Qt surface backend"
+
+optional_depends "DirectFB"                                             \
+                 "--enable-directfb"                                    \
+                 "--disable-directfb"                                   \
+                 "for DirectFB surface backend (experimental)"
+
+optional_depends "freetype2"                                            \
+                 "--enable-ft"                                          \
+                 "--disable-ft"                                         \
+                 "for FreeType font backend"
+
+optional_depends "fontconfig"                                           \
+                 "--enable-ft --enable-fc"                              \
+                 "--disable-fc"                                         \
+                 "for Fontconfig font backend (enables FreeType)"
+
+optional_depends "gobject-introspection"                                \
+                 "--enable-gobject"                                     \
+                 "--disable-gobject"                                    \
+                 "for gobject functions?"
diff --git a/graphics/cairo/DETAILS b/graphics/cairo/DETAILS
index eb03933..e2ed37c 100644
--- a/graphics/cairo/DETAILS
+++ b/graphics/cairo/DETAILS
@@ -1,7 +1,7 @@
           MODULE=cairo
          VERSION=1.10.2
           SOURCE=$MODULE-$VERSION.tar.gz
-        SOURCE2=$MODULE-1.10.0-gradients.patch.bz2
+         SOURCE2=$MODULE-1.10.0-gradients.patch.bz2
       SOURCE_URL=http://cairographics.org/releases
      SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:ccce5ae03f99c505db97c286a0c9a90a926d3c6e


More information about the Lunar-commits mailing list