Repository navigation
Expand file tree
/
Copy pathrange-source.podspec
More file actions
34 lines (32 loc) · 2 KB
/
Copy pathrange-source.podspec
File metadata and controls
34 lines (32 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# range-source for iOS, for CocoaPods: the native reader and stores with their Objective-C API.
# The players' Source subspecs depend on it. (React Native apps use
# react-native-range-source.podspec, which autolinking finds in the npm package.)
#
# 1.0.0 goes on CocoaPods trunk, which is read-only from 2 December 2026. Later versions are used
# through the podspec at their tag:
# pod 'range-source', :podspec => 'https://raw.githubusercontent.com/MediaCacheDev/range-source/v<version>/range-source.podspec'
Pod::Spec.new do |s|
s.name = 'range-source'
s.module_name = 'RangeSource'
s.version = '1.0.0'
s.summary = 'Range source and storage manager for video and other partial content: HTTP range requests, read-ahead, disk or memory storage.'
s.description = <<-DESC
Reads files by offset from URLs (HTTP range requests, one open request with read-ahead and
retries) or the app's own data sources, and keeps what was read on disk or in memory under one
size cap, so a file played once opens offline. The alpha-video players stream through it.
DESC
s.homepage = 'https://github.com/MediaCacheDev/range-source'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Daniel Kasprowicz' => '9932671+danielkpl2@users.noreply.github.com' }
s.platform = :ios, '13.0'
s.source = { :git => 'https://github.com/MediaCacheDev/range-source.git', :tag => "v#{s.version}" }
s.source_files = 'native/include/*.h', 'native/src/*.{h,cpp}', 'ios/Sources/RangeSource/**/*.{h,mm}'
s.public_header_files = 'ios/Sources/RangeSource/include/*.h'
s.libraries = 'c++'
# DEFINES_MODULE: Swift apps import RangeSource (RangeDataSources) without use_frameworks!
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
'HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)/native/include" "$(PODS_TARGET_SRCROOT)/native/src"'
}
end