]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/ffmpeg
dialctrl: Remove defunct script.
[people/teissler/ipfire-2.x.git] / lfs / ffmpeg
index 55472c5ee2ed43f89a2aa318c78bc004a2ef0a47..74947311fcbfbabf51e00071d6bf4f9f74ff2353 100644 (file)
@@ -31,9 +31,12 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = ffmpeg
-PAK_VER    = 2
+PAK_VER    = 5
 
-DEPS       = "sdl lame libvorbis xvid"
+DEPS       = "ffmpeg-libs sdl lame libvorbis xvid"
+
+# Don't use PIC for libavcodec
+CFLAGS    += -fno-PIC -fno-strict-aliasing -Wa,--noexecstack
 
 ###############################################################################
 # Top-level Rules
@@ -79,8 +82,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        ln -s $(THISAPP) /usr/src/ffmpeg
        cd $(DIR_SRC)/ffmpeg && ./configure --prefix=/usr \
                                      --enable-shared \
-                                    --enable-postproc \
-                                    --enable-gpl
+                                                                        --enable-postproc \
+                                                                        --enable-pthreads \
+                                                                        --enable-gpl
        cd $(DIR_SRC)/ffmpeg && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_SRC)/ffmpeg && make install
        cd $(DIR_SRC)/ffmpeg && make install-libs