mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-06-14 07:17:15 +00:00
32 lines
846 B
Ruby
32 lines
846 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "ReactNativeVideoDrm"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.homepage = package["homepage"]
|
|
s.license = package["license"]
|
|
s.authors = package["author"]
|
|
|
|
s.platforms = { :ios => min_ios_version_supported }
|
|
s.source = { :git => "https://github.com/TheWidlarzGroup/react-native-video-drm.git", :tag => "#{s.version}" }
|
|
|
|
|
|
s.source_files = [
|
|
"ios/**/*.{swift}",
|
|
"ios/**/*.{m,mm}",
|
|
"cpp/**/*.{hpp,cpp}",
|
|
]
|
|
|
|
s.dependency 'React-jsi'
|
|
s.dependency 'React-callinvoker'
|
|
s.dependency 'ReactNativeVideo'
|
|
|
|
load 'nitrogen/generated/ios/ReactNativeVideoDrm+autolinking.rb'
|
|
add_nitrogen_files(s)
|
|
|
|
install_modules_dependencies(s)
|
|
end
|