forked from bvibber/OGVKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOGVKit.podspec
More file actions
59 lines (47 loc) · 1.94 KB
/
OGVKit.podspec
File metadata and controls
59 lines (47 loc) · 1.94 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Pod::Spec.new do |s|
s.name = "OGVKit"
s.version = "0.0.1"
s.summary = "Ogg Vorbis/Theora media playback widget for iOS."
s.description = <<-DESC
Ogg Vorbis/Theora media playback widget for iOS. Packages Xiph.org's
libogg, libvorbis, and libtheora along with a UIView subclass
to play a video or audio file from a URL.
DESC
s.homepage = "https://github.com/brion/OGVKit"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Brion Vibber" => "brion@pobox.com" }
s.social_media_url = "https://brionv.com/"
s.platform = :ios, "6.0"
s.source = { :git => "https://github.com/brion/OGVKit.git",
:tag => "0.0.1",
:submodules => true }
s.subspec "Player" do |skit|
skit.requires_arc = true
skit.source_files = "Classes", "Classes/**/*.{h,m}"
skit.dependency 'OGVKit/ogg'
skit.dependency 'OGVKit/vorbis'
skit.dependency 'OGVKit/theora'
end
s.subspec "ogg" do |sogg|
sogg.source_files = "libogg/src",
"libogg/include/**/*.h"
sogg.public_header_files = "libogg/includes/**/*.h"
sogg.header_dir = "ogg"
end
s.subspec "vorbis" do |svorbis|
svorbis.source_files = "libvorbis/lib",
"libvorbis/include/**/*.h"
svorbis.exclude_files = "libvorbis/lib/psytune.c", # dead code that doesn't compile
"libvorbis/lib/vorbisenc.c" # don't need encoder
svorbis.public_header_files = "libvorbis/includes/**/*.h"
svorbis.header_dir = "vorbis"
svorbis.dependency 'OGVKit/ogg'
end
s.subspec "theora" do |stheora|
stheora.source_files = "libtheora/lib",
"libtheora/include/**/*.h"
stheora.public_header_files = "libtheora/include/**/*.h"
stheora.header_dir = "theora"
stheora.dependency 'OGVKit/ogg'
end
end