summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-07-08 10:37:47 (GMT)
committerJavier Jardón <jjardon@gnome.org>2016-07-08 17:04:03 (GMT)
commit5f570ce246a802af781277fa3a4762ac805263ab (patch)
treea512b372ad2da881c0e240cbbf26e24073ff28a1
parentcf6e5afb288b86e0aeaee9b9718f2e4bef234b6c (diff)
downloaddefinitions-jjardon/webrtc_fix.tar.gz
strata/audio-bluetooth/webrtc-audio-processing.morph: Only set sse2 in x86_32jjardon/webrtc_fix
-rw-r--r--strata/audio-bluetooth/webrtc-audio-processing.morph11
-rw-r--r--strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph10
2 files changed, 17 insertions, 4 deletions
diff --git a/strata/audio-bluetooth/webrtc-audio-processing.morph b/strata/audio-bluetooth/webrtc-audio-processing.morph
index 4c10a48..ea8cd4e 100644
--- a/strata/audio-bluetooth/webrtc-audio-processing.morph
+++ b/strata/audio-bluetooth/webrtc-audio-processing.morph
@@ -1,7 +1,14 @@
name: webrtc-audio-processing
kind: chunk
build-system: autotools
-pre-configure-commands:
+configure-commands:
- |
NOCONFIGURE=1 ./autogen.sh
- sed -i -e "s/-O2/& -msse2/" configure
+
+ case "$MORPH_ARCH" in
+ x86_32)
+ sed -i -e "s/-O2/& -msse2/" configure
+ ;;
+ esac
+
+ ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var
diff --git a/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph b/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph
index f68642c..a84d9ad 100644
--- a/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph
+++ b/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph
@@ -4,5 +4,11 @@ build-system: autotools
configure-commands:
- |
NOCONFIGURE=1 ./autogen.sh
- sed -i -e "s/-O2/& -msse2/" configure
-- ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var --disable-gtk-doc
+
+ case "$MORPH_ARCH" in
+ x86_32)
+ sed -i -e "s/-O2/& -msse2/" configure
+ ;;
+ esac
+
+ ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var