QGVAPlayer.podspec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. #
  2. # Be sure to run `pod spec lint QGRouter.podspec' to ensure this is a
  3. # valid spec and to remove all comments including this before submitting the spec.
  4. #
  5. # To learn more about Podspec attributes see https://docs.cocoapods.org/specification.html
  6. # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
  7. #
  8. Pod::Spec.new do |spec|
  9. # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  10. #
  11. # These will help people to find your library, and whilst it
  12. # can feel like a chore to fill in it's definitely to your advantage. The
  13. # summary should be tweet-length, and the description more in depth.
  14. #
  15. spec.name = "QGVAPlayer"
  16. spec.version = "2.2.1"
  17. spec.summary = "video animation player."
  18. spec.platform = :ios, "8.0"
  19. # This description is used to generate tags and improve search results.
  20. # * Think: What does it do? Why did you write it? What is the focus?
  21. # * Try to keep it short, snappy and to the point.
  22. # * Write the description between the DESC delimiters below.
  23. # * Finally, don't worry about the indent, CocoaPods strips it!
  24. spec.description = "video animation player - 高效的特效动画播放组件."
  25. spec.homepage = ""
  26. # spec.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
  27. # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  28. #
  29. # Licensing your code is important. See https://choosealicense.com for more info.
  30. # CocoaPods will detect a license file if there is a named LICENSE*
  31. # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
  32. #
  33. spec.license = {
  34. :type => 'Copyright',
  35. :text => <<-LICENSE
  36. © 1998-2019 Tencent. All rights reserved.
  37. LICENSE
  38. }
  39. # spec.license = { :type => "MIT", :file => "FILE_LICENSE" }
  40. # 集成源码
  41. puts "Pod Install #{spec.name} Source"
  42. # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  43. #
  44. # Specify the authors of the library, with email addresses. Email addresses
  45. # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
  46. # accepts just a name if you'd rather not provide an email address.
  47. #
  48. # Specify a social_media_url where others can refer to, for example a twitter
  49. # profile URL.
  50. #
  51. spec.author = { "chanceguo" => "chanceguo@tencent.com" }
  52. # Or just: spec.author = "chanceguo"
  53. # spec.authors = { "chanceguo" => "chanceguo@tencent.com" }
  54. # spec.social_media_url = "https://twitter.com/chanceguo"
  55. # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  56. #
  57. # If this Pod runs only on iOS or OS X, then specify the platform and
  58. # the deployment target. You can optionally include the target after the platform.
  59. #
  60. # spec.platform = :ios
  61. # spec.platform = :ios, "5.0"
  62. # When using multiple platforms
  63. # spec.ios.deployment_target = "5.0"
  64. # spec.osx.deployment_target = "10.7"
  65. # spec.watchos.deployment_target = "2.0"
  66. # spec.tvos.deployment_target = "9.0"
  67. # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  68. #
  69. # Specify the location from where the source should be retrieved.
  70. # Supports git, hg, bzr, svn and HTTP.
  71. #
  72. spec.source = { :git => "", :tag => "#{spec.version}"}
  73. # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  74. #
  75. # CocoaPods is smart about how it includes source code. For source files
  76. # giving a folder will include any swift, h, m, mm, c & cpp files.
  77. # For header files it will include any header in the folder.
  78. # Not including the public_header_files will make all headers public.
  79. #
  80. spec.subspec 'Shaders' do |ss|
  81. ss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Shaders/**/*'
  82. end
  83. spec.subspec 'Classes' do |ss|
  84. ss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/*.{h,m}'
  85. ss.subspec 'Models' do |sss|
  86. sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Models/**/*'
  87. end
  88. ss.subspec 'Views' do |sss|
  89. sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Views/**/*'
  90. end
  91. ss.subspec 'Controllers' do |sss|
  92. sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Controllers/**/*'
  93. end
  94. ss.subspec 'MP4Parser' do |sss|
  95. sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/MP4Parser/**/*'
  96. end
  97. ss.subspec 'Utils' do |sss|
  98. sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Utils/**/*'
  99. end
  100. end
  101. # spec.exclude_files = "Classes/Exclude"
  102. spec.public_header_files = "iOS/QGVAPlayer/QGVAPlayer/**/*.h"
  103. # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  104. #
  105. # A list of resources included with the Pod. These are copied into the
  106. # target bundle with a build phase script. Anything else will be cleaned.
  107. # You can preserve files from being cleaned, please don't preserve
  108. # non-essential files like tests, examples and documentation.
  109. #
  110. # spec.resource = "icon.png"
  111. # spec.resources = "Resources/*.png"
  112. # spec.preserve_paths = "FilesToSave", "MoreFilesToSave"
  113. # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  114. #
  115. # Link your library with frameworks, or libraries. Libraries do not include
  116. # the lib prefix of their name.
  117. #
  118. # spec.framework = "SomeFramework"
  119. # spec.frameworks = "SomeFramework", "AnotherFramework"
  120. # spec.library = "iconv"
  121. # spec.libraries = "iconv", "xml2"
  122. # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  123. #
  124. # If your library depends on compiler flags you can set them in the xcconfig hash
  125. # where they will only apply to your library. If you depend on other Podspecs
  126. # you can include multiple dependencies to ensure it works.
  127. spec.user_target_xcconfig = { 'OTHER_LDFLAGS' => "-force_load ${BUILT_PRODUCTS_DIR}/#{spec.name}/lib#{spec.name}.a" }
  128. spec.requires_arc = true
  129. # spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  130. # spec.dependency "JSONKit", "~> 1.4"
  131. end