speech_plugin.podspec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. #
  2. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
  3. # Run `pod lib lint speech_plugin.podspec' to validate before publishing.
  4. #
  5. Pod::Spec.new do |s|
  6. s.name = 'speech_plugin'
  7. s.version = '0.0.1'
  8. s.summary = 'A new Flutter plugin.'
  9. s.description = <<-DESC
  10. A new Flutter plugin.
  11. DESC
  12. s.homepage = 'http://example.com'
  13. s.license = { :file => '../LICENSE' }
  14. s.author = { 'Your Company' => 'email@example.com' }
  15. s.source = { :path => '.' }
  16. s.source_files = 'Classes/**/*'
  17. s.public_header_files = 'Classes/**/*.h'
  18. s.static_framework = true
  19. s.platform = :ios, '8.0'
  20. s.dependency 'Flutter'
  21. # s.dependency 'lame', '~>1.0.0'
  22. # 暂时解决lame(智玲)库冲突 follow ffmpeg library
  23. s.resource = "Classes/Libraries/libai/aiengine.provision"
  24. s.frameworks = 'AVFoundation', 'SystemConfiguration', 'Foundation', 'CoreTelephony', 'AudioToolbox', 'UIKit', 'CoreLocation', 'QuartzCore', 'CoreGraphics', 'SystemConfiguration'
  25. s.libraries = 'z', 'c++'
  26. # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
  27. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
  28. s.default_subspec = 'https'
  29. s.subspec 'min' do |ss|
  30. ss.source_files = 'Classes/**/*'
  31. ss.public_header_files = 'Classes/**/*.h'
  32. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  33. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  34. ss.dependency 'mobile-ffmpeg-min', '4.3.1'
  35. end
  36. s.subspec 'min-lts' do |ss|
  37. ss.source_files = 'Classes/**/*'
  38. ss.public_header_files = 'Classes/**/*.h'
  39. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  40. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  41. ss.dependency 'mobile-ffmpeg-min', '4.3.1.LTS'
  42. end
  43. s.subspec 'min-gpl' do |ss|
  44. ss.source_files = 'Classes/**/*'
  45. ss.public_header_files = 'Classes/**/*.h'
  46. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  47. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  48. ss.dependency 'mobile-ffmpeg-min-gpl', '4.3.1'
  49. end
  50. s.subspec 'min-gpl-lts' do |ss|
  51. ss.source_files = 'Classes/**/*'
  52. ss.public_header_files = 'Classes/**/*.h'
  53. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  54. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  55. ss.dependency 'mobile-ffmpeg-min-gpl', '4.3.1.LTS'
  56. end
  57. s.subspec 'https' do |ss|
  58. ss.source_files = 'Classes/**/*'
  59. ss.public_header_files = 'Classes/**/*.h'
  60. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  61. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  62. ss.dependency 'mobile-ffmpeg-https', '4.3.1'
  63. end
  64. s.subspec 'https-lts' do |ss|
  65. ss.source_files = 'Classes/**/*'
  66. ss.public_header_files = 'Classes/**/*.h'
  67. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  68. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  69. ss.dependency 'mobile-ffmpeg-https', '4.3.1.LTS'
  70. end
  71. s.subspec 'https-gpl' do |ss|
  72. ss.source_files = 'Classes/**/*'
  73. ss.public_header_files = 'Classes/**/*.h'
  74. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  75. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  76. ss.dependency 'mobile-ffmpeg-https-gpl', '4.3.1'
  77. end
  78. s.subspec 'https-gpl-lts' do |ss|
  79. ss.source_files = 'Classes/**/*'
  80. ss.public_header_files = 'Classes/**/*.h'
  81. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  82. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  83. ss.dependency 'mobile-ffmpeg-https-gpl', '4.3.1.LTS'
  84. end
  85. s.subspec 'audio' do |ss|
  86. ss.source_files = 'Classes/**/*'
  87. ss.public_header_files = 'Classes/**/*.h'
  88. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  89. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  90. ss.dependency 'mobile-ffmpeg-audio', '4.3.1'
  91. end
  92. s.subspec 'audio-lts' do |ss|
  93. ss.source_files = 'Classes/**/*'
  94. ss.public_header_files = 'Classes/**/*.h'
  95. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  96. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  97. ss.dependency 'mobile-ffmpeg-audio', '4.3.1.LTS'
  98. end
  99. s.subspec 'video' do |ss|
  100. ss.source_files = 'Classes/**/*'
  101. ss.public_header_files = 'Classes/**/*.h'
  102. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  103. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  104. ss.dependency 'mobile-ffmpeg-video', '4.3.1'
  105. end
  106. s.subspec 'video-lts' do |ss|
  107. ss.source_files = 'Classes/**/*'
  108. ss.public_header_files = 'Classes/**/*.h'
  109. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  110. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  111. ss.dependency 'mobile-ffmpeg-video', '4.3.1.LTS'
  112. end
  113. s.subspec 'full' do |ss|
  114. ss.source_files = 'Classes/**/*'
  115. ss.public_header_files = 'Classes/**/*.h'
  116. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  117. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  118. ss.dependency 'mobile-ffmpeg-full', '4.3.1'
  119. end
  120. s.subspec 'full-lts' do |ss|
  121. ss.source_files = 'Classes/**/*'
  122. ss.public_header_files = 'Classes/**/*.h'
  123. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  124. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  125. ss.dependency 'mobile-ffmpeg-full', '4.3.1.LTS'
  126. end
  127. s.subspec 'full-gpl' do |ss|
  128. ss.source_files = 'Classes/**/*'
  129. ss.public_header_files = 'Classes/**/*.h'
  130. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  131. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  132. ss.dependency 'mobile-ffmpeg-full-gpl', '4.3.1'
  133. end
  134. s.subspec 'full-gpl-lts' do |ss|
  135. ss.source_files = 'Classes/**/*'
  136. ss.public_header_files = 'Classes/**/*.h'
  137. ss.vendored_frameworks = 'Frameworks/iflyMSC.framework' , 'Frameworks/TAISDK.framework'
  138. ss.vendored_libraries = 'Classes/Libraries/libai/libaiengine.a'
  139. ss.dependency 'mobile-ffmpeg-full-gpl', '4.3.1.LTS'
  140. end
  141. end