[oe-commits] Henning Heinold : gnome-games: set libsdl-mixer as dependency and delete sdl.m4 macro only when exist

git version control git at git.openembedded.org
Wed Jan 20 06:31:31 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 54fd63592417d07ad480475b7743f40d09f55790
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=54fd63592417d07ad480475b7743f40d09f55790

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Wed Jan 20 02:00:32 2010 +0100

gnome-games: set libsdl-mixer as dependency and delete sdl.m4 macro only when exist

* bump PR

---

 recipes/gnome/gnome-games_2.24.0.bb |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes/gnome/gnome-games_2.24.0.bb b/recipes/gnome/gnome-games_2.24.0.bb
index 4b3fd20..971b83e 100644
--- a/recipes/gnome/gnome-games_2.24.0.bb
+++ b/recipes/gnome/gnome-games_2.24.0.bb
@@ -1,9 +1,9 @@
 LICENSE = "GPL"
-DEPENDS = " guile libggz ggz-client-libs python-pygtk gtk+ libgnome libgnomeui librsvg gnome-vfs gconf libglade gnome-common gnome-python-desktop gnome-python gstreamer virtual/libsdl"
+DEPENDS = " guile libggz ggz-client-libs python-pygtk gtk+ libgnome libgnomeui librsvg gnome-vfs gconf libglade gnome-common gnome-python-desktop gnome-python gstreamer virtual/libsdl libsdl-mixer"
 
 inherit gnome distutils-base gconf
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI += "file://ggz-unbreak-m4.patch;patch=1 \
            "
@@ -18,7 +18,9 @@ EXTRA_OECONF = "--with-libggz-includes=${STAGING_INCDIR} \
 
 # disable help dir and crappy old sdl-macro
 do_configure_prepend() {
-	rm m4/sdl.m4
+        if [ -e m4/sdl.m4 ]; then
+	   rm m4/sdl.m4
+        fi
 	for i in $(find ${S} -name "Makefile.am") ; do
 		sed -i -e s:help::g $i
 	done





More information about the Openembedded-commits mailing list