#
# Be sure to run `pod lib lint BFFFmpeglib.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'BFFFmpeglib'
  s.version          = '1.0.3'
  s.summary          = 'A short description of BFFFmpeglib.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://git.yishihui.com/iOS/BFFFmpeglib.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '287971051@qq.com' => '287971051@qq.com' }
  s.source           = { :git => 'https://git.yishihui.com/iOS/BFFFmpeglib.git', :tag => s.version.to_s }

  s.ios.deployment_target = '9.0'
  s.vendored_libraries = 'BFFFmpeglib/vendores/FFmpeg-iOS/lib/*.a'
  s.source_files        = 'BFFFmpeglib/vendores/FFmpeg-iOS/include/**/*.h'
  #保持目录结构
 s.header_mappings_dir = 'BFFFmpeglib/vendores/FFmpeg-iOS/include'
#  s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }

  s.libraries = 'bz2', 'iconv', 'z'
  s.frameworks = 'AudioToolbox', 'CoreMedia', 'VideoToolbox', 'AVFoundation'

end
