X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fffmpeg;h=0795afff834aab796e33eb51e27fb052e87dda8f;hb=aa81aaf83646a9cbaf07f0e5358fee66ef6e4c06;hp=c84cb5d03f74bbeeda46d43c58b688b85e1995b4;hpb=4d88ce4382effe39d4c7776762acb05e0e26e727;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/ffmpeg b/lfs/ffmpeg index c84cb5d03f..0795afff83 100644 --- a/lfs/ffmpeg +++ b/lfs/ffmpeg @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2020 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,16 +24,17 @@ include Config -VER = 2008-04-13 -THISAPP = ffmpeg-export-$(VER) +VER = 4.2.3 + +THISAPP = ffmpeg-$(VER) DL_FILE = $(THISAPP).tar.bz2 DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ffmpeg -PAK_VER = 2 +PAK_VER = 10 -DEPS = "sdl lame libvorbis xvid" +DEPS = sdl lame libvorbis xvid ############################################################################### # Top-level Rules @@ -43,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 017ab929ff92be552debb65c589c2183 +$(DL_FILE)_MD5 = 695fad11f3baf27784e24cb0e977b65a install : $(TARGET) @@ -75,15 +76,17 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - ln -s $(THISAPP) /usr/src/ffmpeg - cd $(DIR_SRC)/ffmpeg && ./configure --prefix=/usr \ - --enable-shared \ - --enable-postproc \ - --enable-gpl - cd $(DIR_SRC)/ffmpeg && make - cd $(DIR_SRC)/ffmpeg && make install - cd $(DIR_SRC)/ffmpeg && make install-libs - ldconfig -# @rm -rf $(DIR_APP) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --enable-shared \ + --enable-gpl \ + --enable-version3 \ + --enable-avfilter \ + --enable-avresample + + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) @$(POSTBUILD)