QGVAPlayer.podspec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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 = "1.0.16"
  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 = "https://github.com/Tencent/vap"
  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. spec.license = 'MIT'
  41. # 集成源码
  42. puts "Pod Install #{spec.name} Source"
  43. # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  44. #
  45. # Specify the authors of the library, with email addresses. Email addresses
  46. # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
  47. # accepts just a name if you'd rather not provide an email address.
  48. #
  49. # Specify a social_media_url where others can refer to, for example a twitter
  50. # profile URL.
  51. #
  52. spec.author = { "tencent" => "tencent@gmail.com" }
  53. # Or just: spec.author = "tencent"
  54. # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  55. #
  56. # If this Pod runs only on iOS or OS X, then specify the platform and
  57. # the deployment target. You can optionally include the target after the platform.
  58. #
  59. # spec.platform = :ios
  60. # spec.platform = :ios, "5.0"
  61. # When using multiple platforms
  62. # spec.ios.deployment_target = "5.0"
  63. # spec.osx.deployment_target = "10.7"
  64. # spec.watchos.deployment_target = "2.0"
  65. # spec.tvos.deployment_target = "9.0"
  66. # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  67. #
  68. # Specify the location from where the source should be retrieved.
  69. # Supports git, hg, bzr, svn and HTTP.
  70. #
  71. spec.source = { :git => "https://github.com/Tencent/vap.git", :tag => "iOS#{spec.version}"}
  72. # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  73. #
  74. # CocoaPods is smart about how it includes source code. For source files
  75. # giving a folder will include any swift, h, m, mm, c & cpp files.
  76. # For header files it will include any header in the folder.
  77. # Not including the public_header_files will make all headers public.
  78. #
  79. spec.source_files = 'iOS/QGVAPlayer/QGVAPlayer/**/*.{h,m}', 'iOS/QGVAPlayer/QGVAPlayer/Shaders/QGHWDShaders.metal'
  80. # spec.subspec 'Shaders' do |ss|
  81. # ss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Shaders/**/*.{h,m}'
  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/**/*.{h,m}'
  87. # end
  88. # ss.subspec 'Views' do |sss|
  89. # sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Views/**/*.{h,m}'
  90. # end
  91. # ss.subspec 'Controllers' do |sss|
  92. # sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Controllers/**/*.{h,m}'
  93. # end
  94. # ss.subspec 'MP4Parser' do |sss|
  95. # sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/MP4Parser/**/*.{h,m}'
  96. # end
  97. # ss.subspec 'Utils' do |sss|
  98. # sss.source_files = 'iOS/QGVAPlayer/QGVAPlayer/Classes/Utils/**/*.{h,m}'
  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