[gnome-games] build: Require cairo 1.10 for the kde card theme support
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] build: Require cairo 1.10 for the kde card theme support
- Date: Tue, 14 Sep 2010 15:57:11 +0000 (UTC)
commit b96ce3820b31e473c05023e5a4964ec836365afe
Author: Christian Persch <chpe gnome org>
Date: Tue Sep 14 15:24:22 2010 +0200
build: Require cairo 1.10 for the kde card theme support
configure.in | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6a399bb..be2d486 100644
--- a/configure.in
+++ b/configure.in
@@ -119,6 +119,7 @@ allow_gnuchess=no
allow_smclient=no
disallow_hildon=no
require_gtk_2_16=no
+require_cairo_1_10=no
libgames_support_full=no
for game in $gamelist; do
@@ -466,6 +467,7 @@ if test "$enable_card_theme_format_svg" = "yes"; then
fi
if test "$enable_card_theme_format_kde" = "yes"; then
AC_DEFINE([ENABLE_CARD_THEME_FORMAT_KDE],[1],[Define to enable KDE card theme format support])
+ require_cairo_1_10=yes
need_rsvg=yes
fi
if test "$enable_card_theme_format_fixed" = "yes"; then
@@ -586,7 +588,6 @@ esac
GCONF_REQUIRED=2.0
GIO_REQUIRED=2.25.7
-CAIRO_REQUIRED=1.0
GSTREAMER_REQUIRED=0.10.11
HILDON_LIBS_REQUIRED=0.14
HILDON_1_REQUIRED=1.00
@@ -649,6 +650,12 @@ have_rsvg=no
if test "$need_rsvg" = "yes"; then
have_rsvg=yes
+ if test "$require_cairo_1_10" = "yes"; then
+ CAIRO_REQUIRED=1.10.0
+ else
+ CAIRO_REQUIRED=1.0
+ fi
+
# Errors out if rsvg is not found
PKG_CHECK_MODULES([RSVG],[
librsvg-2.0 >= $RSVG_REQUIRED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]