2016-04-07 17:53:44 -06:00
|
|
|
require "json"
|
|
|
|
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
|
2016-02-17 10:51:34 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = "react-native-video"
|
2016-04-07 17:53:44 -06:00
|
|
|
s.version = package["version"]
|
2016-02-17 10:51:34 -07:00
|
|
|
s.summary = "A <Video /> element for react-native"
|
2016-04-07 17:53:44 -06:00
|
|
|
s.author = "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
2016-04-07 17:47:10 -06:00
|
|
|
s.homepage = "https://github.com/brentvatne/react-native-video"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
|
|
|
s.license = "MIT"
|
2017-07-20 11:35:58 -06:00
|
|
|
|
2018-03-04 15:40:59 -07:00
|
|
|
s.ios.deployment_target = "8.0"
|
2017-07-20 11:35:58 -06:00
|
|
|
s.tvos.deployment_target = "9.0"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
2016-04-07 17:53:44 -06:00
|
|
|
s.source = { :git => "https://github.com/brentvatne/react-native-video.git", :tag => "#{s.version}" }
|
2016-02-17 10:51:34 -07:00
|
|
|
|
2016-12-06 11:41:07 -07:00
|
|
|
s.source_files = "ios/*.{h,m}"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
2016-04-07 17:53:44 -06:00
|
|
|
s.dependency "React"
|
2018-03-04 15:40:59 -07:00
|
|
|
s.dependency "SPTPersistentCache", "1.1.0"
|
|
|
|
s.dependency "DVAssetLoaderDelegate", "0.3.1"
|
2016-02-17 10:51:34 -07:00
|
|
|
end
|