[gnome-games/gnome-3-0] sodoku: gi port, autotools check for pygobject
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-0] sodoku: gi port, autotools check for pygobject
- Date: Fri, 20 May 2011 21:16:37 +0000 (UTC)
commit d29a4637784438b7c0b69ba4e408a769c061ce0f
Author: John Stowers <john stowers gmail com>
Date: Sat Apr 30 10:32:05 2011 +1200
sodoku: gi port, autotools check for pygobject
configure.in | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/configure.in b/configure.in
index b6d17ff..b233fc5 100644
--- a/configure.in
+++ b/configure.in
@@ -581,7 +581,7 @@ AM_CONDITIONAL([ENABLE_DEBUG_UI],[test "$enable_debug_ui" = "yes"])
# Checks for libraries
# ********************
-PYGTK_REQUIRED=2.14.0
+PYGOBJECT_REQUIRED=2.28.3
case "$with_gtk" in
2.0) if test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo3"; then
@@ -781,24 +781,21 @@ fi
AM_CONDITIONAL([HAVE_CLUTTER],[test "$need_clutter" = "yes"])
-# Check for PyGTK
+# Check for PyGObject
if test "$have_python" = "yes"; then
- PKG_CHECK_MODULES([PYGTK],[
- pygtk-2.0 >= $PYGTK_REQUIRED],
+ PKG_CHECK_MODULES([PYGOBJECT],[
+ pygobject-2.0 >= $PYGOBJECT_REQUIRED],
[have_pygtk=yes],[have_pygtk=no])
fi
enable_python=no
if test "$have_python" = "yes" -a "$have_pygtk" = "yes"; then
- AC_SUBST([PYGTK_CFLAGS])
- AC_SUBST([PYGTK_LIBS])
-
enable_python=yes
fi
if test "$enable_python" = "no" -a "$need_python" = "yes"; then
- AC_MSG_ERROR([Some games need python, but python or pygtk packages were not found.])
+ AC_MSG_ERROR([Some games need python, but pygobject packages were not found.])
fi
AM_CONDITIONAL([HAVE_PYTHON],[test "$enable_python" = "yes"])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]