[oe] [PATCH] ffmpeg: replace tabulators with spaces for consistency

Paul Menzel paulepanter at users.sourceforge.net
Thu Dec 23 16:22:35 UTC 2010


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 at 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(-)

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
 }
 
-- 
1.7.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101223/d6ce9b06/attachment-0002.sig>


More information about the Openembedded-devel mailing list