Skip to content

Commit 0b50ba9

Browse files
author
hzwangsiyu
authored
Merge pull request #187 from betallcoffee/2.3.0
Update podspec, delete noffmpeg subspec.
2 parents 2c55349 + fb5ed32 commit 0b50ba9

File tree

10 files changed

+256
-283
lines changed

10 files changed

+256
-283
lines changed

Example/PLPlayerKit.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
);
265265
runOnlyForDeploymentPostprocessing = 0;
266266
shellPath = /bin/sh;
267-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
267+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
268268
showEnvVarsInLog = 0;
269269
};
270270
8F710A7CD1AFF7A4CE7523C0 /* [CP] Embed Pods Frameworks */ = {

Example/Podfile.lock

+2-6
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ PODS:
33
- pili-ffmpeg (3.1.0)
44
- pili-librtmp (1.0.5)
55
- PLPlayerKit (2.3.0):
6-
- HappyDNS (~> 0.3.10)
7-
- pili-librtmp (~> 1.0.5)
8-
- PLPlayerKit/precompiled (= 2.3.0)
9-
- PLPlayerKit/precompiled (2.3.0):
106
- HappyDNS (~> 0.3.10)
117
- pili-ffmpeg (~> 3.1.0)
128
- pili-librtmp (~> 1.0.5)
@@ -22,8 +18,8 @@ SPEC CHECKSUMS:
2218
HappyDNS: 06a9fed2796663fd87626dbf02552933265bf059
2319
pili-ffmpeg: b76de7e6b730723497d79508be8e8efdcba31a69
2420
pili-librtmp: 65a6e10f7c314bd1f407ba24bd074c57cba79d0c
25-
PLPlayerKit: b87f0b4efabd1ddb25f2184370b696c2f975e78a
21+
PLPlayerKit: 1473253ee2d7863d8a78dbb3b965161245c51ad5
2622

2723
PODFILE CHECKSUM: d20fd3c1a75d3d4f8346b3b33f0b42e59b6ab3ab
2824

29-
COCOAPODS: 1.0.1
25+
COCOAPODS: 1.1.0.rc.2

Example/Pods/Local Podspecs/PLPlayerKit.podspec.json

+8-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

+2-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/project.pbxproj

+226-214
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/PLPlayerKit/PLPlayerKit.xcconfig

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/Pods-PLPlayerKit/Pods-PLPlayerKit-acknowledgements.plist

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/Pods-PLPlayerKit/Pods-PLPlayerKit.debug.xcconfig

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/Pods-PLPlayerKit/Pods-PLPlayerKit.release.xcconfig

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PLPlayerKit.podspec

+3-17
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,14 @@ Pod::Spec.new do |s|
2121

2222
s.public_header_files = "Pod/Library/include/PLPlayerKit/*.h"
2323
s.source_files = 'Pod/Library/include/**/*.[h|m]'
24+
s.vendored_libraries = 'Pod/Library/lib/*.a'
2425

2526
s.dependency 'pili-librtmp', '~> 1.0.5'
2627
s.dependency 'HappyDNS', '~> 0.3.10'
28+
s.dependency 'pili-ffmpeg', '~> 3.1.0'
2729
s.frameworks = ["UIKit", "Foundation", "CoreGraphics", "MediaPlayer", "CoreAudio", "AudioToolbox", "Accelerate", "QuartzCore", "OpenGLES", "AVFoundation"]
2830
s.libraries = "c++", "z", "bz2", "iconv"
2931

30-
s.default_subspec = "precompiled"
32+
s.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/../ffmpeg/include ${PODS_ROOT}/pili-ffmpeg/pili-ffmpeg/include", 'LIBRARY_SEARCH_PATHS' => "${PODS_ROOT}/../ffmpeg/lib" }
3133

32-
s.subspec "precompiled" do |ss|
33-
ss.preserve_paths = "Pod/Library/include/PLPlayerKit/*.[h|m]", 'Pod/Library/lib/*.a'
34-
ss.vendored_libraries = 'Pod/Library/lib/*.a'
35-
ss.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/PLPlayerKit/lib/include" }
36-
ss.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/pili-ffmpeg/pili-ffmpeg/include" }
37-
ss.dependency 'pili-ffmpeg', '~> 3.1.0'
38-
end
39-
40-
s.subspec "noffmpeg" do |ss|
41-
ss.public_header_files = "Pod/Library/include/PLPlayerKit/*.h"
42-
ss.source_files = 'Pod/Library/include/**/*.[h|m]'
43-
ss.preserve_paths = "Pod/Library/include/PLPlayerKit/*.[h|m]", 'Pod/Library/lib/*.a'
44-
ss.vendored_libraries = 'Pod/Library/lib/*.a'
45-
ss.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/PLPlayerKit/lib/include" }
46-
ss.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/../ffmpeg/include", 'LIBRARY_SEARCH_PATHS' => "${PODS_ROOT}/../ffmpeg/lib" }
47-
end
4834
end

0 commit comments

Comments
 (0)