[Lunar-commits] <moonbase> mediastreamer: fix build and optimize

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Sep 10 11:10:25 CEST 2011


commit bdd344fcaa5a6399e16b1d9071947e0d765692d1
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Sep 10 11:10:25 2011 +0200

    mediastreamer: fix build and optimize
---
 audio/mediastreamer/BUILD   |    2 ++
 audio/mediastreamer/DETAILS |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/audio/mediastreamer/BUILD b/audio/mediastreamer/BUILD
index cc0b7cc..1c527a9 100644
--- a/audio/mediastreamer/BUILD
+++ b/audio/mediastreamer/BUILD
@@ -1,5 +1,7 @@
 (
 
+  patch_it $SOURCE2 1 &&
+  sed -i -e "s:-O2:$CFLAGS:;s: -g::" configure &&
   OPTS+=" --disable-gsm  --enable-video --disable-static" &&
 
   default_build
diff --git a/audio/mediastreamer/DETAILS b/audio/mediastreamer/DETAILS
index a55a793..53aeb1b 100644
--- a/audio/mediastreamer/DETAILS
+++ b/audio/mediastreamer/DETAILS
@@ -1,8 +1,11 @@
           MODULE=mediastreamer
          VERSION=2.7.3
           SOURCE=$MODULE-$VERSION.tar.gz
-      SOURCE_URL=http://download.savannah.gnu.org/releases-noredirect/linphone/mediastreamer/
+         SOURCE2=mediastreamer-2.7.3-sdl-build.patch
+      SOURCE_URL=http://download.savannah.gnu.org/releases-noredirect/linphone/mediastreamer
+     SOURCE2_URL=http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/mediastreamer/files
       SOURCE_VFY=sha1:5d3c94b74131d2d333212de7315c39d230b91539
+     SOURCE2_VFY=sha1:cb620aab50915a20d012a4eaa4db71568364e186
         WEB_SITE=http://www.linphone.org/index.php/eng/code_review/mediastreamer2
          ENTERED=20091209
          UPDATED=20110830


More information about the Lunar-commits mailing list