mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-21 00:04:42 +01:00
MPV Player init
This commit is contained in:
27
modules/mpv-player/ios/MpvPlayer.podspec
Normal file
27
modules/mpv-player/ios/MpvPlayer.podspec
Normal 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
|
||||
Reference in New Issue
Block a user