Permalink
Browse files

Added DTCoreText 1.4.3 podspec

  • Loading branch information...
1 parent 8d393fe commit be1852b826687f664f52929011d6d030e3c4104e @odrobnik odrobnik committed Apr 30, 2013
Showing with 27 additions and 0 deletions.
  1. +27 −0 DTCoreText/1.4.3/DTCoreText.podspec
@@ -0,0 +1,27 @@
+Pod::Spec.new do |spec|
+ spec.name = 'DTCoreText'
+ spec.version = '1.4.2'
+ 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/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.post_install do |library_representation|
+ Dir.chdir(library_representation.sandbox_dir + 'DTCoreText/Core/Source/') do
+ Dir.glob('*.css') do |css_file|
+ system '/usr/bin/xxd', '-i', css_file, css_file + '.c'
+ end
+ end
+ end
+end
+

0 comments on commit be1852b

Please sign in to comment.