PKG_NAME:=ffmpeg
PKG_VERSION:=0.5.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ffmpeg.org/releases/
aac \
ac3 \
atrac3 \
+ flac \
gif \
h264 \
jpegls \
rtp \
FFMPEG_DEMUXERS:= \
+ aac \
ac3 \
+ avi \
+ flac \
ffm \
h264 \
+ matroska \
+ mov \
mp3 \
mpegps \
mpegts \
ac3 \
h264 \
mpegaudio \
- mpegvideo \
mpeg4video \
+ mpegvideo \
FFMPEG_PROTOCOLS:= \
file http pipe rtp tcp udp
--enable-cross-compile \
--cross-prefix="$(TARGET_CROSS)" \
--arch="$(ARCH)" \
+ --target-os=linux \
--prefix="/usr" \
--enable-shared \
--enable-static \
--disable-debug \
--enable-gpl \
--disable-libfaad \
+ --disable-amd3dnow \
+ --disable-amd3dnowext \
--disable-mmx \
--disable-mmx2 \
--enable-pthreads \
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libav{codec,device,format,util} $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/libpostproc $(1)/usr/include/
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/libswscale $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libav{codec,device,format,util}.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.{a,so*} $(1)/usr/lib/