mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
feat: add drm interfaces (#4657)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user