# HG changeset patch # User Tony Theodore # Date 1284986377 -36000 # Node ID 050f5ff03b2617aea466095c5ba0920371370211 # Parent f496cd5041bdd1804d39b5f147d26a53e53ae4f9 improve coding style of ffmpeg and dependencies diff -r f496cd5041bd -r 050f5ff03b26 src/faac.mk --- 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 diff -r f496cd5041bd -r 050f5ff03b26 src/faad2-1-uint.patch --- 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 @@ diff -r f496cd5041bd -r 050f5ff03b26 src/faad2.mk --- 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)' diff -r f496cd5041bd -r 050f5ff03b26 src/ffmpeg.mk --- 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 diff -r f496cd5041bd -r 050f5ff03b26 src/lame.mk --- 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)' diff -r f496cd5041bd -r 050f5ff03b26 src/libvpx-1-config.patch --- 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 diff -r f496cd5041bd -r 050f5ff03b26 src/libvpx.mk --- 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 diff -r f496cd5041bd -r 050f5ff03b26 src/opencore-amr.mk --- 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)' diff -r f496cd5041bd -r 050f5ff03b26 src/x264-1-ifdef.patch --- 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 diff -r f496cd5041bd -r 050f5ff03b26 src/x264.mk --- 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