diff src/ffmpeg.mk @ 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 8ab68c8615ca
children b1d5f4482b38
line wrap: on
line diff
--- 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