flutter_ffmpeg.podspec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Pod::Spec.new do |s|
  2. s.name = 'flutter_ffmpeg'
  3. s.version = '0.2.10'
  4. s.summary = 'FFmpeg plugin for Flutter.'
  5. s.description = 'FFmpeg plugin based on mobile-ffmpeg for Flutter.'
  6. s.homepage = 'https://github.com/tanersener/flutter-ffmpeg'
  7. s.author = { 'Taner Sener' => 'tanersener@gmail.com' }
  8. s.license = { :file => '../LICENSE' }
  9. s.requires_arc = true
  10. s.ios.deployment_target = '9.3'
  11. s.static_framework = true
  12. s.source = { :path => '.' }
  13. s.source_files = 'Classes/**/*'
  14. s.public_header_files = 'Classes/**/*.h'
  15. s.default_subspec = 'https'
  16. s.dependency 'Flutter'
  17. s.subspec 'min' do |ss|
  18. ss.source_files = 'Classes/**/*'
  19. ss.public_header_files = 'Classes/**/*.h'
  20. ss.dependency 'mobile-ffmpeg-min', '4.3.1'
  21. end
  22. s.subspec 'min-lts' do |ss|
  23. ss.source_files = 'Classes/**/*'
  24. ss.public_header_files = 'Classes/**/*.h'
  25. ss.dependency 'mobile-ffmpeg-min', '4.3.1.LTS'
  26. end
  27. s.subspec 'min-gpl' do |ss|
  28. ss.source_files = 'Classes/**/*'
  29. ss.public_header_files = 'Classes/**/*.h'
  30. ss.dependency 'mobile-ffmpeg-min-gpl', '4.3.1'
  31. end
  32. s.subspec 'min-gpl-lts' do |ss|
  33. ss.source_files = 'Classes/**/*'
  34. ss.public_header_files = 'Classes/**/*.h'
  35. ss.dependency 'mobile-ffmpeg-min-gpl', '4.3.1.LTS'
  36. end
  37. s.subspec 'https' do |ss|
  38. ss.source_files = 'Classes/**/*'
  39. ss.public_header_files = 'Classes/**/*.h'
  40. ss.dependency 'mobile-ffmpeg-https', '4.3.1'
  41. end
  42. s.subspec 'https-lts' do |ss|
  43. ss.source_files = 'Classes/**/*'
  44. ss.public_header_files = 'Classes/**/*.h'
  45. ss.dependency 'mobile-ffmpeg-https', '4.3.1.LTS'
  46. end
  47. s.subspec 'https-gpl' do |ss|
  48. ss.source_files = 'Classes/**/*'
  49. ss.public_header_files = 'Classes/**/*.h'
  50. ss.dependency 'mobile-ffmpeg-https-gpl', '4.3.1'
  51. end
  52. s.subspec 'https-gpl-lts' do |ss|
  53. ss.source_files = 'Classes/**/*'
  54. ss.public_header_files = 'Classes/**/*.h'
  55. ss.dependency 'mobile-ffmpeg-https-gpl', '4.3.1.LTS'
  56. end
  57. s.subspec 'audio' do |ss|
  58. ss.source_files = 'Classes/**/*'
  59. ss.public_header_files = 'Classes/**/*.h'
  60. ss.dependency 'mobile-ffmpeg-audio', '4.3.1'
  61. end
  62. s.subspec 'audio-lts' do |ss|
  63. ss.source_files = 'Classes/**/*'
  64. ss.public_header_files = 'Classes/**/*.h'
  65. ss.dependency 'mobile-ffmpeg-audio', '4.3.1.LTS'
  66. end
  67. s.subspec 'video' do |ss|
  68. ss.source_files = 'Classes/**/*'
  69. ss.public_header_files = 'Classes/**/*.h'
  70. ss.dependency 'mobile-ffmpeg-video', '4.3.1'
  71. end
  72. s.subspec 'video-lts' do |ss|
  73. ss.source_files = 'Classes/**/*'
  74. ss.public_header_files = 'Classes/**/*.h'
  75. ss.dependency 'mobile-ffmpeg-video', '4.3.1.LTS'
  76. end
  77. s.subspec 'full' do |ss|
  78. ss.source_files = 'Classes/**/*'
  79. ss.public_header_files = 'Classes/**/*.h'
  80. ss.dependency 'mobile-ffmpeg-full', '4.3.1'
  81. end
  82. s.subspec 'full-lts' do |ss|
  83. ss.source_files = 'Classes/**/*'
  84. ss.public_header_files = 'Classes/**/*.h'
  85. ss.dependency 'mobile-ffmpeg-full', '4.3.1.LTS'
  86. end
  87. s.subspec 'full-gpl' do |ss|
  88. ss.source_files = 'Classes/**/*'
  89. ss.public_header_files = 'Classes/**/*.h'
  90. ss.dependency 'mobile-ffmpeg-full-gpl', '4.3.1'
  91. end
  92. s.subspec 'full-gpl-lts' do |ss|
  93. ss.source_files = 'Classes/**/*'
  94. ss.public_header_files = 'Classes/**/*.h'
  95. ss.dependency 'mobile-ffmpeg-full-gpl', '4.3.1.LTS'
  96. end
  97. end