MPV Player init

This commit is contained in:
Alex Kim
2025-04-21 04:38:03 +10:00
parent 2ce04b3fd3
commit b6198b21bd
11 changed files with 916 additions and 20 deletions

View File

@@ -0,0 +1,27 @@
Pod::Spec.new do |s|
s.name = 'MpvPlayer'
s.version = '0.40.0'
s.summary = 'MPVKit player for iOS/tvOS'
s.description = 'A module that integrates MPVKit for video playback in iOS and tvOS applications'
s.author = ''
s.source = { git: '' }
s.homepage = 'https://github.com/mpvkit/MPVKit'
s.platforms = { :ios => '13.4', :tvos => '13.4' }
s.dependency 'ExpoModulesCore'
spm_dependency(s,
url: 'https://github.com/mpvkit/MPVKit.git',
requirement: {kind: 'upToNextMajorVersion', minimumVersion: '0.40.0'},
products: ['MPVKit']
)
# Swift/Objective-C compatibility
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_COMPILATION_MODE' => 'wholemodule'
}
s.source_files = "*.{h,m,mm,swift,hpp,cpp}"
end