[gnome-games] Enable sound on maemo5



commit c4d8ceff99feeb60d8a29333bdf2e149438f08a0
Author: Christian Persch <chpe gnome org>
Date:   Tue Jun 2 21:12:52 2009 +0200

    Enable sound on maemo5
    
    Maemo5 has libcanberra, so enable sound in configure.
---
 configure.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 22f8c6c..6d457a5 100644
--- a/configure.in
+++ b/configure.in
@@ -304,7 +304,10 @@ if test "$want_sound" = "yes"; then
     [AS_HELP_STRING([--enable-sound],[Enable sound with GStreamer or SDL_Mixer.])],
     [],[case "$with_platform" in
           gnome|gtk-only) enable_sound=yes ;;
-          hildon) enable_sound=no ;;
+          hildon) case "$with_platform_variant" in
+                    maemo5) enable_sound=yes ;;
+                    *) enable_sound=no ;;
+                  esac
         esac])
   AC_MSG_RESULT([$enable_sound])
 else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]