-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sync2gitee
committed
Mar 18, 2024
1 parent
4f4852d
commit d07217f
Showing
3 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
#!/bin/bash | ||
|
||
if [ -d "ijkplayer/IJKMediaFramework.framework" ]; then | ||
if [ -d "IJKMediaFramework.framework" ]; then | ||
echo "Folder exists" | ||
exit; | ||
fi | ||
|
||
rm -rf ijkplayer | ||
|
||
git clone https://gitee.com/shengwang-dependencies/ijkplayer.git | ||
|
||
rm -rf ijkplayer/IJKMediaFramework.framework | ||
unzip ijkplayer/IJKMediaFramework.framework.zip -d ijkplayer/ | ||
rm -rf ijkplayer/ijkplayer | ||
rm -rf ijkplayer/ijkplayer-Swift | ||
rm -rf ijkplayer/*.zip | ||
rm -rf ijkplayer/screenshot | ||
|
||
unzip ijkplayer/IJKMediaFramework.framework.zip | ||
|
||
rm -rf ijkplayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "ijkplayer" | ||
s.version = "1.1.3" | ||
s.summary = "ijkplayer framework." | ||
|
||
s.description = <<-DESC | ||
bilibili/ijkplayer k0.8.8 IJKMediaFramework 上传到 cococapods | ||
DESC | ||
|
||
s.homepage = "https://github.com/iOSDevLog/ijkplayer" | ||
|
||
s.license = { :type => "GNU Lesser General Public License v2.1", :text => <<-LICENSE | ||
GNU LESSER GENERAL PUBLIC LICENSE | ||
Version 2.1, February 1999 | ||
https://github.com/iOSDevLog/ijkplayer/raw/master/LICENSE | ||
LICENSE | ||
} | ||
|
||
s.author = { "iosdevlog" => "[email protected]" } | ||
s.social_media_url = "http://weibo.com/iOSDevLog" | ||
|
||
s.platform = :ios, "7.0" | ||
|
||
s.source = { :http => "" } | ||
# s.source = { :http => "https://github.com/iOSDevLog/ijkplayer/releases/download/#{s.version}/IJKMediaFramework.framework.zip" } | ||
|
||
s.vendored_frameworks = 'IJKMediaFramework.framework' | ||
|
||
s.frameworks = "AudioToolbox", "AVFoundation", "CoreGraphics", "CoreMedia", "CoreVideo", "MobileCoreServices", "OpenGLES", "QuartzCore", "VideoToolbox", "Foundation", "UIKit", "MediaPlayer" | ||
s.libraries = "bz2", "z", "stdc++" | ||
|
||
s.requires_arc = true | ||
|
||
end |