Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added DTCoreText 1.5.1 podspec

  • Loading branch information...
commit b326f5c4aed19a6662d7318aa0aa59f47e9b4162 1 parent 9d18812
@Cocoanetics Cocoanetics authored
Showing with 28 additions and 0 deletions.
  1. +28 −0 DTCoreText/1.5.1/DTCoreText.podspec
View
28 DTCoreText/1.5.1/DTCoreText.podspec
@@ -0,0 +1,28 @@
+Pod::Spec.new do |spec|
+ spec.name = 'DTCoreText'
+ spec.version = '1.5.1'
+ spec.platform = :ios, '4.3'
+ spec.license = 'BSD'
+ spec.source = { :git => 'https://github.com/Cocoanetics/DTCoreText.git', :tag => spec.version.to_s }
+ spec.source_files = 'Core/Source/*.{h,m,c}'
+ spec.dependency 'DTFoundation/Core', '~>1.2.0'
+ spec.dependency 'DTFoundation/UIKit', '~>1.2.0'
+ spec.dependency 'DTFoundation/DTHMLParser', '~>1.2.0'
+ spec.frameworks = 'MediaPlayer', 'QuartzCore', 'CoreText', 'CoreGraphics', 'ImageIO'
+ spec.requires_arc = true
+ spec.homepage = 'https://github.com/Cocoanetics/DTCoreText'
+ spec.summary = 'Methods to allow using HTML code with CoreText.'
+ spec.author = { 'Oliver Drobnik' => 'oliver@cocoanetics.com' }
+ spec.library = 'xml2'
+ spec.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(SDKROOT)/usr/include/libxml2"' }
+ spec.prefix_header_contents = '#import <CoreText/CoreText.h>'
+
+ spec.pre_install do |pod_representation, library_representation|
+ Dir.chdir(pod_representation.root + 'Core/Source/') do
+ Dir.glob('*.css') do |css_file|
+ system '/usr/bin/xxd', '-i', css_file, css_file + '.c'
+ end
+ end
+ end
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.