[SM-Commit] GIT changes to master grimoire by Thomas Orgis (93f7e850b67b805251656a321f17daf928dd384c)

Thomas Orgis scm at mail.sourcemage.org
Mon Sep 18 08:37:42 EDT 2006


GIT changes to master grimoire by Thomas Orgis <sobukus at sourcemage.org>:

 audio-players/mpg123/CONFIGURE |   26 +++++++++++++++-----------
 audio-players/mpg123/HISTORY   |    4 ++++
 2 files changed, 19 insertions(+), 11 deletions(-)

New commits:
commit 93f7e850b67b805251656a321f17daf928dd384c
Author: Thomas Orgis <sobukus at sourcemage.org>
Commit: Thomas Orgis <sobukus at sourcemage.org>

    possible builds depend on smgl arch in mpg123

diff --git a/audio-players/mpg123/CONFIGURE b/audio-players/mpg123/CONFIGURE
index 8a8bba1..27b4cd5 100755
--- a/audio-players/mpg123/CONFIGURE
+++ b/audio-players/mpg123/CONFIGURE
@@ -1,13 +1,17 @@
-config_query_list MPG123_CPU  "choose build variant / optimization" \
-  auto \
-  generic \
-  i386 \
-  i486 \
-  i586 \
-  i586_dither \
-  mmx \
-  3dnow \
-  altivec &&
+#these should work on any platform
+#(excluding no-fpu ones, that's experimental anyway)
+build_list="auto generic"
+
+#now add arch-specific options
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "ia32" ]]
+then
+  build_list="$build_list i386 i486 i586 i586_dither mmx 3dnow"
+elif [[ "${SMGL_COMPAT_ARCHS[1]}" == "ppc" ]]
+then
+  build_list="$build_list altivec"
+fi &&
+
+config_query_list MPG123_CPU  "choose build variant / optimization" $build_list &&
 config_query_list MPG123_AUDIO "choose audio output (will possibly add dependencies)" \
   oss \
   alsa \
@@ -17,5 +21,5 @@ config_query_list MPG123_AUDIO "choose a
   nas \
   sdl \
   dummy &&
-config_query_option MPG123_OPTS "gapless mp3 playback?" n "--enable-gapless" "--disable-gapless" &&
+config_query_option MPG123_OPTS "gapless mp3 playback?" y "--enable-gapless" "--disable-gapless" &&
 config_query_string MPG123_SEEKTABLE "seektable size" 2000
diff --git a/audio-players/mpg123/HISTORY b/audio-players/mpg123/HISTORY
index 2d022a3..af535f2 100644
--- a/audio-players/mpg123/HISTORY
+++ b/audio-players/mpg123/HISTORY
@@ -1,3 +1,7 @@
+2006-09-18 Thomas Orgis <sobukus at sourcemage.org>
+	* CONFIGURE: offer ia32/ppc options only for these archs
+	  and default gapless to y as upstream does
+
 2006-08-31 Thomas Orgis <sobukus at sourcemage.org>
 	* DETAILS: added PATCHLEVEL to honour new config opts
 



More information about the SM-Commit mailing list