Patchwork ffmpeg: replace tabulators with spaces for consistency

login
register
mail settings
Submitter Paul Menzel
Date Dec. 23, 2010, 4:22 p.m.
Message ID <1293121355.3905.30.camel@mattotaupa>
Download mbox | patch
Permalink /patch/113/
State Accepted
Headers show

Comments

Paul Menzel - Dec. 23, 2010, 4:22 p.m.
Date: Fri, 17 Dec 2010 13:27:02 +0100

`omapfbplay*.bb` recipes use tabulators consistently and therefore they are not changed.

Use

	grep -e $'\t' ffmpeg_*bb

to find tabulators in Bash [1].


[1] http://www.claudiokuenzler.com/blog/99/tabulator-in-bash

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb |    2 +-
 recipes/ffmpeg/ffmpeg_0.5.bb        |    6 +++---
 recipes/ffmpeg/ffmpeg_git.bb        |   10 +++++-----
 recipes/ffmpeg/ffmpeg_svn.bb        |    2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

Patch

diff --git a/recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb b/recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb
index 1ac8610..e6a7abe 100644
--- a/recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb
+++ b/recipes/ffmpeg/ffmpeg_0.4.9-pre1.bb
@@ -6,7 +6,7 @@  SRC_URI = "${SOURCEFORGE_MIRROR}/ffmpeg/ffmpeg-${PV}.tar.gz \
            file://configure.patch \
            file://gcc4.patch \
            file://soname.patch \
-	   file://Makefile-avformat-use-LDFLAGS.patch \
+           file://Makefile-avformat-use-LDFLAGS.patch \
            file://Makefile-add-liblame.patch \
            file://install-must-not-strip.patch \
           "
diff --git a/recipes/ffmpeg/ffmpeg_0.5.bb b/recipes/ffmpeg/ffmpeg_0.5.bb
index 07af21d..f3a6d21 100644
--- a/recipes/ffmpeg/ffmpeg_0.5.bb
+++ b/recipes/ffmpeg/ffmpeg_0.5.bb
@@ -8,9 +8,9 @@  DEFAULT_PREFERENCE = "1"
 
 SRCREV_libswscale = "b2e1c8222eeef74b0ca8053b400957dd69e18e4d"
 SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2 \
-	   file://armv4.patch \
+       file://armv4.patch \
        file://ffmpeg-arm-update.diff \
-	  "
+"
 
 #S = "${WORKDIR}/git"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
@@ -57,7 +57,7 @@  do_configure() {
         mkdir -p ${B}
         cd ${B}
         ${S}/configure ${EXTRA_OECONF}
-		sed -i -e s:Os:O4:g ${B}/config.h
+        sed -i -e s:Os:O4:g ${B}/config.h
 }
 
 
diff --git a/recipes/ffmpeg/ffmpeg_git.bb b/recipes/ffmpeg/ffmpeg_git.bb
index 5c84ea7..231b9cb 100644
--- a/recipes/ffmpeg/ffmpeg_git.bb
+++ b/recipes/ffmpeg/ffmpeg_git.bb
@@ -57,13 +57,13 @@  EXTRA_OECONF = " \
 do_configure() {
         sed -i -e s:'check_cflags -std=c99'::g ${S}/configure
         cd ${S}
-	git clone git://git.mplayerhq.hu/libswscale || true
-	cd libswscale
-	git checkout ${SRCREV_libswscale} || true
-	cd ${S}
+        git clone git://git.mplayerhq.hu/libswscale || true
+        cd libswscale
+        git checkout ${SRCREV_libswscale} || true
+        cd ${S}
         mkdir -p ${B}
         cd ${B}
         ${S}/configure ${EXTRA_OECONF}
-		sed -i -e s:Os:O4:g ${B}/config.h
+        sed -i -e s:Os:O4:g ${B}/config.h
 }
 
diff --git a/recipes/ffmpeg/ffmpeg_svn.bb b/recipes/ffmpeg/ffmpeg_svn.bb
index 573de03..ea0d757 100644
--- a/recipes/ffmpeg/ffmpeg_svn.bb
+++ b/recipes/ffmpeg/ffmpeg_svn.bb
@@ -56,6 +56,6 @@  do_configure() {
         mkdir -p ${B}
         cd ${B}
         ${S}/configure ${EXTRA_OECONF}
-		sed -i -e s:Os:O4:g ${B}/config.h
+        sed -i -e s:Os:O4:g ${B}/config.h
 }