changeset 1261:050f5ff03b26

improve coding style of ffmpeg and dependencies
author Tony Theodore <tonyt@logyst.com>
date Mon, 20 Sep 2010 22:39:37 +1000
parents f496cd5041bd
children 2ec08f644964
files src/faac.mk src/faad2-1-uint.patch src/faad2.mk src/ffmpeg.mk src/lame.mk src/libvpx-1-config.patch src/libvpx.mk src/opencore-amr.mk src/x264-1-ifdef.patch src/x264.mk
diffstat 10 files changed, 44 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/src/faac.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/faac.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -20,10 +20,10 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
-	--host='$(TARGET)' \
+        --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared \
-	--without-mp4v2
+        --without-mp4v2
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install
 endef
--- a/src/faad2-1-uint.patch	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/faad2-1-uint.patch	Mon Sep 20 22:39:37 2010 +1000
@@ -1,3 +1,6 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
 --- ./frontend/main.c.backup	2010-07-01 16:53:48.563042615 +0200
 +++ ./frontend/main.c	2010-07-01 16:54:03.379043126 +0200
 @@ -31,7 +31,6 @@
--- a/src/faad2.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/faad2.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -20,7 +20,7 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
-	--host='$(TARGET)' \
+        --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared
     $(MAKE) -C '$(1)' -j '$(JOBS)'
--- a/src/ffmpeg.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/ffmpeg.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -10,7 +10,7 @@
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
 $(PKG)_WEBSITE  := http://www.ffmpeg.org/
 $(PKG)_URL      := http://www.ffmpeg.org/releases/$($(PKG)_FILE)
-$(PKG)_DEPS     := gcc xvidcore speex theora vorbis lame faad2 faac opencore-amr x264 libvpx
+$(PKG)_DEPS     := gcc bzip2 faad2 faac lame libvpx opencore-amr sdl speex theora vorbis x264 xvidcore zlib
 
 define $(PKG)_UPDATE
     wget -q -O- 'http://www.ffmpeg.org/download.html' | \
@@ -20,30 +20,30 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
-	--cross-prefix='$(TARGET)'- \
-	--enable-cross-compile \
-	--arch=i686 \
-	--target-os=mingw32 \
+        --cross-prefix='$(TARGET)'- \
+        --enable-cross-compile \
+        --arch=i686 \
+        --target-os=mingw32 \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared \
-	--disable-debug \
-	--disable-doc \
-	--enable-memalign-hack \
-	--enable-gpl \
-	--enable-version3 \
-	--enable-nonfree \
-	--enable-postproc \
-	--enable-libspeex \
-	--enable-libtheora \
-	--enable-libvorbis \
-	--enable-libmp3lame \
-	--enable-libxvid \
-	--enable-libfaad \
-	--enable-libfaac \
-	--enable-libopencore-amrnb \
-	--enable-libopencore-amrwb \
-	--enable-libx264 \
-	--enable-libvpx
+        --disable-debug \
+        --disable-doc \
+        --enable-memalign-hack \
+        --enable-gpl \
+        --enable-version3 \
+        --enable-nonfree \
+        --enable-postproc \
+        --enable-libspeex \
+        --enable-libtheora \
+        --enable-libvorbis \
+        --enable-libmp3lame \
+        --enable-libxvid \
+        --enable-libfaad \
+        --enable-libfaac \
+        --enable-libopencore-amrnb \
+        --enable-libopencore-amrwb \
+        --enable-libx264 \
+        --enable-libvpx
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install
 endef
--- a/src/lame.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/lame.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -20,7 +20,7 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
-	--host='$(TARGET)' \
+        --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared
     $(MAKE) -C '$(1)' -j '$(JOBS)'
--- a/src/libvpx-1-config.patch	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/libvpx-1-config.patch	Mon Sep 20 22:39:37 2010 +1000
@@ -1,3 +1,6 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
 diff -Nru libvpx-0.9.1-orig/configure libvpx-0.9.1/configure
 --- libvpx-0.9.1-orig/configure	2010-07-09 17:10:49.771062118 +0200
 +++ libvpx-0.9.1/configure	2010-07-09 17:16:28.583061657 +0200
--- a/src/libvpx.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/libvpx.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -20,11 +20,11 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && \
-	CROSS='$(TARGET)-' \
-	./configure \
+        CROSS='$(TARGET)-' \
+        ./configure \
         --prefix='$(PREFIX)/$(TARGET)' \
-	--target=x86-win32-gcc \
-	--disable-examples
+        --target=x86-win32-gcc \
+        --disable-examples
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install
     $(TARGET)-ranlib $(PREFIX)/$(TARGET)/lib/libvpx.a
--- a/src/opencore-amr.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/opencore-amr.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -20,7 +20,7 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
-	--host='$(TARGET)' \
+        --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared
     $(MAKE) -C '$(1)' -j '$(JOBS)'
--- a/src/x264-1-ifdef.patch	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/x264-1-ifdef.patch	Mon Sep 20 22:39:37 2010 +1000
@@ -1,3 +1,6 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
 diff -Nru x264-snapshot-20100706-2245.orig/x264.c x264-snapshot-20100706-2245/x264.c
 --- x264-snapshot-20100706-2245.orig/x264.c	2010-07-07 09:33:15.555062464 +0200
 +++ x264-snapshot-20100706-2245/x264.c	2010-07-07 09:33:45.155061361 +0200
--- a/src/x264.mk	Mon Sep 20 22:24:47 2010 +1000
+++ b/src/x264.mk	Mon Sep 20 22:39:37 2010 +1000
@@ -20,10 +20,10 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
-	--cross-prefix='$(TARGET)'- \
-	--host='$(TARGET)' \
+        --cross-prefix='$(TARGET)'- \
+        --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
-	--disable-pthread
+        --disable-pthread
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install
 endef