Skip to content

Commit

Permalink
Added 1.2.1 podspec for DTCoreText
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Jan 27, 2013
1 parent 54e4d10 commit 4fc1520
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions DTCoreText/1.2.1/DTCoreText.podspec
@@ -0,0 +1,26 @@
Pod::Spec.new do |spec|
spec.name = 'DTCoreText'
spec.version = '1.2.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.0'
spec.dependency 'DTFoundation/DTHMLParser', '~>1.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@drobnik.com' }
spec.library = 'xml2'
spec.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(SDKROOT)/usr/include/libxml2"' }
spec.prefix_header_contents = '#import <CoreText/CoreText.h>'
spec.resources = 'Demo/Resources/DTCoreTextFontOverrides.plist'
def spec.post_install(target)
Dir.chdir(config.project_pods_root + '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 4fc1520

Please sign in to comment.