fix: create different vendor podspec

pull/1152/head
Prateek Sunal 2 months ago committed by GitHub
parent 1c25f698c3
commit 3980c95fe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 21
      flutter/flutter/ios/ffmpeg_kit_flutter.podspec
  2. 24
      flutter/flutter/ios/ffmpeg_kit_vendor.podspec

@ -18,24 +18,5 @@ Pod::Spec.new do |s|
'DEFINES_MODULE' => 'YES', 'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'
} }
s.dependency 'ffmpeg_kit_vendor', '6.0'
s.default_subspec = 'full-gpl'
s.subspec 'full-gpl' do |ss|
ss.source_files = 'Classes/**/*'
ss.public_header_files = 'Classes/**/*.h'
ss.source = {
:http => 'https://github.com/FreezeIt/ffmpeg-kit/releases/download/v6.0/ffmpeg-kit-full-gpl-6.0-ios-xcframework.zip'
}
ss.vendored_frameworks = [
'ffmpegkit.framework',
'libavcodec.framework',
'libavdevice.framework',
'libavfilter.framework',
'libavformat.framework',
'libavutil.framework',
'libswresample.framework',
'libswscale.framework'
]
end
end end

@ -0,0 +1,24 @@
Pod::Spec.new do |s|
s.name = 'ffmpeg_kit_vendor'
s.version = '6.0'
s.summary = 'FFmpegKit for iOS with full-gpl configuration'
s.description = 'FFmpegKit prebuilt xcframework for iOS, full-gpl version.'
s.homepage = 'https://github.com/ente-io/ffmpeg-kit-forked'
s.license = { :type => 'GPL', :file => 'LICENSE' }
s.author = { 'Prateek' => 'prtksunal@gmail.com' }
s.source = {
:http => 'https://github.com/FreezeIt/ffmpeg-kit/releases/download/v6.0/ffmpeg-kit-full-gpl-6.0-ios-xcframework.zip'
}
s.vendored_frameworks = [
'ffmpegkit.framework',
'libavcodec.framework',
'libavdevice.framework',
'libavfilter.framework',
'libavformat.framework',
'libavutil.framework',
'libswresample.framework',
'libswscale.framework'
]
s.platform = :ios, '12.1'
s.swift_version = '5.0'
end
Loading…
Cancel
Save