diff options
Diffstat (limited to 'homebrew/ffmpegat28')
-rw-r--r-- | homebrew/ffmpegat28/.beer | 148 | ||||
-rw-r--r-- | homebrew/ffmpegat28/.make.sh-auto | 14 | ||||
-rw-r--r-- | homebrew/ffmpegat28/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ffmpegat28/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ffmpegat28/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ffmpegat28/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ffmpegat28/download.sh | 1 |
7 files changed, 167 insertions, 0 deletions
diff --git a/homebrew/ffmpegat28/.beer b/homebrew/ffmpegat28/.beer new file mode 100644 index 000000000..ee4ab7166 --- /dev/null +++ b/homebrew/ffmpegat28/.beer @@ -0,0 +1,148 @@ +{ + "name": "FfmpegAT28", + "description": "Play, record, convert, and stream audio and video", + "url": "https://ffmpeg.org/releases/ffmpeg-2.8.15.tar.bz2", + "mirror": null, + "homepage": "https://ffmpeg.org/", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "texi2html", + "build-depend": true + }, + { + "depend": "yasm", + "build-depend": true + }, + { + "depend": "fontconfig", + "build-depend": false + }, + { + "depend": "freetype", + "build-depend": false + }, + { + "depend": "frei0r", + "build-depend": false + }, + { + "depend": "lame", + "build-depend": false + }, + { + "depend": "libass", + "build-depend": false + }, + { + "depend": "libvo-aacenc", + "build-depend": false + }, + { + "depend": "libvorbis", + "build-depend": false + }, + { + "depend": "libvpx", + "build-depend": false + }, + { + "depend": "opencore-amr", + "build-depend": false + }, + { + "depend": "opus", + "build-depend": false + }, + { + "depend": "rtmpdump", + "build-depend": false + }, + { + "depend": "sdl", + "build-depend": false + }, + { + "depend": "snappy", + "build-depend": false + }, + { + "depend": "speex", + "build-depend": false + }, + { + "depend": "theora", + "build-depend": false + }, + { + "depend": "x264", + "build-depend": false + }, + { + "depend": "x265", + "build-depend": false + }, + { + "depend": "xvid", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "if MacOS.version == \"10.11\" && MacOS::Xcode.version >= \"8.0\"", + "inreplace %w[libavdevice/v4l2.c libavutil/time.c], \"HAVE_CLOCK_GETTIME\",", + "\"UNDEFINED_GIBBERISH\"", + "end", + "args = %W[", + "--prefix=#{prefix}", + "--enable-shared", + "--enable-pthreads", + "--enable-gpl", + "--enable-version3", + "--enable-hardcoded-tables", + "--enable-avresample", + "--cc=#{ENV.cc}", + "--host-cflags=#{ENV.cflags}", + "--host-ldflags=#{ENV.ldflags}", + "--enable-ffplay", + "--enable-libmp3lame", + "--enable-libopus", + "--enable-libsnappy", + "--enable-libtheora", + "--enable-libvo-aacenc", + "--enable-libvorbis", + "--enable-libvpx", + "--enable-libx264", + "--enable-libx265", + "--enable-libxvid", + "--enable-libfontconfig", + "--enable-libfreetype", + "--enable-frei0r", + "--enable-libass", + "--enable-libopencore-amrnb", + "--enable-libopencore-amrwb", + "--enable-librtmp", + "--enable-libspeex", + "--enable-opencl", + "--disable-indev=jack", + "]", + "if MacOS.version < :yosemite || ENV.compiler == :clang", + "args << \"--enable-vda\"", + "else", + "args << \"--disable-vda\"", + "end", + "system \"./configure\", *args", + "inreplace \"config.mak\" do |s|", + "shflags = s.get_make_var \"SHFLAGS\"", + "if shflags.gsub!(\" -Wl,-read_only_relocs,suppress\", \"\")", + "s.change_make_var! \"SHFLAGS\", shflags", + "end" + ], + "version": "2.8.15", + "file": "ffmpeg@2.8.rb" +}
\ No newline at end of file diff --git a/homebrew/ffmpegat28/.make.sh-auto b/homebrew/ffmpegat28/.make.sh-auto new file mode 100644 index 000000000..76ecb5070 --- /dev/null +++ b/homebrew/ffmpegat28/.make.sh-auto @@ -0,0 +1,14 @@ +pkg:setup +if MacOS.version == "10.11" && MacOS::Xcode.version >= "8.0" +inreplace %w[libavdevice/v4l2.c libavutil/time.c], "HAVE_CLOCK_GETTIME","UNDEFINED_GIBBERISH" end args = %W[ --prefix=#{prefix} --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=#{ENV.cc} --host-cflags=#{ENV.cflags} --host-ldflags=#{ENV.ldflags} --enable-ffplay --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libspeex --enable-opencl --disable-indev=jack ] +if MacOS.version < :yosemite || ENV.compiler == :clang +args << "--enable-vda" +else +args << "--disable-vda" +end +pkg:configure *args +inreplace "config.mak" do |s| +shflags = s.get_make_var "SHFLAGS" +if shflags.gsub!(" -Wl,-read_only_relocs,suppress", "") +s.change_make_var! "SHFLAGS", shflags +end diff --git a/homebrew/ffmpegat28/_metadata/description b/homebrew/ffmpegat28/_metadata/description new file mode 100644 index 000000000..5e5462f65 --- /dev/null +++ b/homebrew/ffmpegat28/_metadata/description @@ -0,0 +1 @@ +Play, record, convert, and stream audio and video diff --git a/homebrew/ffmpegat28/_metadata/homepage b/homebrew/ffmpegat28/_metadata/homepage new file mode 100644 index 000000000..e8ba2f510 --- /dev/null +++ b/homebrew/ffmpegat28/_metadata/homepage @@ -0,0 +1 @@ +https://ffmpeg.org/ diff --git a/homebrew/ffmpegat28/_metadata/name b/homebrew/ffmpegat28/_metadata/name new file mode 100644 index 000000000..44632ca27 --- /dev/null +++ b/homebrew/ffmpegat28/_metadata/name @@ -0,0 +1 @@ +FfmpegAT28 diff --git a/homebrew/ffmpegat28/_metadata/version b/homebrew/ffmpegat28/_metadata/version new file mode 100644 index 000000000..92e6e77a2 --- /dev/null +++ b/homebrew/ffmpegat28/_metadata/version @@ -0,0 +1 @@ +2.8.15 diff --git a/homebrew/ffmpegat28/download.sh b/homebrew/ffmpegat28/download.sh new file mode 100755 index 000000000..72a52597a --- /dev/null +++ b/homebrew/ffmpegat28/download.sh @@ -0,0 +1 @@ +wget https://ffmpeg.org/releases/ffmpeg-2.8.15.tar.bz2
\ No newline at end of file |