[oe-commits] Andreas Oberritter : gst-plugins-base-0.10.32: use integer-based resampling without FPU
git version control
git at git.openembedded.org
Sat Feb 12 20:17:09 UTC 2011
Module: openembedded.git
Branch: master
Commit: ee634d43e2804a3aeebb734cb102d37f15f9dcfa
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ee634d43e2804a3aeebb734cb102d37f15f9dcfa
Author: Andreas Oberritter <obi at opendreambox.org>
Date: Fri Feb 11 21:03:06 2011 +0000
gst-plugins-base-0.10.32: use integer-based resampling without FPU
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/gstreamer/gst-plugins-base_0.10.32.bb | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/recipes/gstreamer/gst-plugins-base_0.10.32.bb b/recipes/gstreamer/gst-plugins-base_0.10.32.bb
index f30c4f9..025b589 100644
--- a/recipes/gstreamer/gst-plugins-base_0.10.32.bb
+++ b/recipes/gstreamer/gst-plugins-base_0.10.32.bb
@@ -7,7 +7,7 @@ SRC_URI += " \
SRC_URI[archive.md5sum] = "2920af2b3162f3d9fbaa7fabc8ed4d38"
SRC_URI[archive.sha256sum] = "e9aabfac83f6480896da0686e9c911989f896fbad634821b7771ed84a446172b"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
PROVIDES += "gst-plugins"
@@ -17,8 +17,13 @@ PROVIDES += "gst-plugins"
# a missing alsa plugin
DEPENDS += "udev cdparanoia pango libtheora alsa-lib libsm virtual/libx11 freetype gnome-vfs libxv libxrandr gtk+"
+def get_gstreamer_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--with-audioresample-format=int"
+ return ""
+
# Needs a udev that enabled gudev, which isn't the default
-EXTRA_OECONF += " --with-gudev --disable-gnome_vfs"
+EXTRA_OECONF += "--with-gudev --disable-gnome_vfs ${@get_gstreamer_fpu_setting(bb, d)}"
do_configure_prepend() {
sed -i -e s:QtGui:NoQtGui:g ${S}/configure.ac
More information about the Openembedded-commits
mailing list