Add WhirlyGlobe 2.1

Fix WhirlyGlobe 2.0, get clipper to add tags to repo instead of using zip files.
This commit is contained in:
Juan J. Collas
2013-04-24 11:45:14 -04:00
parent 28ed2b4f7d
commit 71402d379f
7 changed files with 123 additions and 7 deletions
+27 -4
View File
@@ -3,7 +3,20 @@ Pod::Spec.new do |s|
s.version = "2.0"
s.summary = "WhirlyGlobe is a self contained 3D earth display view suitable for use in iPhone and iPad applications."
s.homepage = "https://github.com/mousebird/WhirlyGlobe"
s.license = { :type => "Apache 2.0" }
s.license = {
:type => "Apache 2.0",
:text => <<-LICENSE
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
LICENSE
}
s.author = { "Steve Gifford" => "sjg@mousebirdconsulting.com" }
s.source = { :git => "https://github.com/mousebird/WhirlyGlobe.git", :tag => "v2.0" }
@@ -13,13 +26,23 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.subspec 'Headers' do |headers|
headers.source_files = "WhirlyGlobeSrc/{WhirlyGlobeLib,WhirlyGlobe-MaplyComponent}/include/**/*.h"
headers.public_header_files = FileList['WhirlyGlobeSrc/{WhirlyGlobeLib,WhirlyGlobe-MaplyComponent}/include/**/*.{h}'].exclude(/private/)
headers.dependency 'eigen'
headers.dependency 'boost/shared_ptr-includes'
headers.dependency 'boost/pointer_cast-includes'
headers.dependency 'boost/math-includes'
end
s.subspec 'Lib' do |lib|
lib.source_files = 'WhirlyGlobeSrc/WhirlyGlobeLib/src/**/*.{mm,m}'
lib.dependency 'WhirlyGlobe-Headers', '2.0.ao'
lib.dependency 'WhirlyGlobe/Headers'
lib.dependency 'proj4'
lib.dependency 'shapelib'
lib.dependency 'clipper'
lib.dependency 'clipper', '4.4.0'
lib.library = 'stdc++', 'sqlite3'
end
@@ -27,7 +50,7 @@ Pod::Spec.new do |s|
s.subspec 'Component' do |sp|
sp.source_files = 'WhirlyGlobeSrc/WhirlyGlobe-MaplyComponent/src/**/*.{mm,m}'
sp.dependency 'WhirlyGlobe/Lib', '2.0.ao'
sp.dependency 'WhirlyGlobe/Lib'
sp.frameworks = 'UIKit', 'QuartzCore', 'OpenGLES'
end
+45
View File
@@ -0,0 +1,45 @@
Pod::Spec.new do |s|
s.name = "WhirlyGlobe"
s.version = "2.1"
s.summary = "WhirlyGlobe is a self contained 3D earth display view suitable for use in iPhone and iPad applications."
s.homepage = "https://github.com/mousebird/WhirlyGlobe"
s.license = { :type => "Apache 2.0" }
s.author = { "Steve Gifford" => "sjg@mousebirdconsulting.com" }
s.source = { :git => "https://github.com/mousebird/WhirlyGlobe.git", :tag => "v2.1" }
s.preferred_dependency = 'Component'
s.platform = :ios, '5.0'
s.requires_arc = true
s.subspec 'Headers' do |headers|
headers.source_files = "WhirlyGlobeSrc/{WhirlyGlobeLib,WhirlyGlobe-MaplyComponent}/include/**/*.h"
headers.public_header_files = FileList['WhirlyGlobeSrc/{WhirlyGlobeLib,WhirlyGlobe-MaplyComponent}/include/**/*.{h}'].exclude(/private/)
headers.dependency 'eigen'
headers.dependency 'boost/shared_ptr-includes'
headers.dependency 'boost/pointer_cast-includes'
headers.dependency 'boost/math-includes'
end
s.subspec 'Lib' do |lib|
lib.source_files = 'WhirlyGlobeSrc/WhirlyGlobeLib/src/**/*.{mm,m}'
lib.dependency 'WhirlyGlobe/Headers'
lib.dependency 'proj4'
lib.dependency 'shapelib'
lib.dependency 'clipper'
lib.library = 'stdc++', 'sqlite3'
end
s.subspec 'Component' do |sp|
sp.source_files = 'WhirlyGlobeSrc/WhirlyGlobe-MaplyComponent/src/**/*.{mm,m}'
sp.dependency 'WhirlyGlobe/Lib'
sp.frameworks = 'UIKit', 'QuartzCore', 'OpenGLES'
end
end
+1 -1
View File
@@ -12,7 +12,7 @@ The clipping code is based on the Vatti clipping algorithm, and out performs oth
s.license = { :type => "Boost Software License",
:file => "License.txt" }
s.author = { "Angus Johnson" => "awj1958@gmail.com" }
s.source = { :http => "http://sourceforge.net/projects/polyclipping/files/clipper_ver4.3.0.zip" }
s.source = { :svn => "http://svn.code.sf.net/p/polyclipping/code", :tag => "4.3.0" }
s.ios.deployment_target = "4.0"
s.osx.deployment_target = "10.6"
+24
View File
@@ -0,0 +1,24 @@
Pod::Spec.new do |s|
s.name = "clipper"
s.version = "4.4.0"
s.summary = "The Clipper library primarily performs the boolean clipping operations."
s.description = <<-DESC
The Clipper library primarily performs the boolean clipping operations - intersection, union, difference & xor - on 2D polygons. It also performs polygon offsetting.
The library handles complex (self-intersecting) polygons, polygons with holes and polygons with overlapping co-linear edges.
Input polygons for clipping can use EvenOdd, NonZero, Positive and Negative filling modes.
The clipping code is based on the Vatti clipping algorithm, and out performs other clipping libraries.
DESC
s.homepage = "http://www.angusj.com/delphi/clipper.php"
s.license = { :type => "Boost Software License",
:file => "License.txt" }
s.author = { "Angus Johnson" => "awj1958@gmail.com" }
s.source = { :svn => "http://svn.code.sf.net/p/polyclipping/code", :tag => "4.4.0" }
s.ios.deployment_target = "4.0"
s.osx.deployment_target = "10.6"
s.source_files = "cpp/*.{cpp,hpp}"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/clipper/"' }
end
+1 -1
View File
@@ -12,7 +12,7 @@ The clipping code is based on the Vatti clipping algorithm, and out performs oth
s.license = { :type => "Boost Software License",
:file => "License.txt" }
s.author = { "Angus Johnson" => "awj1958@gmail.com" }
s.source = { :http => "http://sourceforge.net/projects/polyclipping/files/clipper_ver4.8.8.zip" }
s.source = { :svn => "http://svn.code.sf.net/p/polyclipping/code", :tag => "4.8.8" }
s.ios.deployment_target = "4.0"
s.osx.deployment_target = "10.6"
+1 -1
View File
@@ -12,7 +12,7 @@ The clipping code is based on the Vatti clipping algorithm, and out performs oth
s.license = { :type => "Boost Software License",
:file => "License.txt" }
s.author = { "Angus Johnson" => "awj1958@gmail.com" }
s.source = { :http => "http://sourceforge.net/projects/polyclipping/files/clipper_ver5.0.2.zip" }
s.source = { :svn => "http://svn.code.sf.net/p/polyclipping/code", :tag => "5.0.2" }
s.ios.deployment_target = "4.0"
s.osx.deployment_target = "10.6"
+24
View File
@@ -0,0 +1,24 @@
Pod::Spec.new do |s|
s.name = "clipper"
s.version = "5.1.4"
s.summary = "The Clipper library primarily performs the boolean clipping operations."
s.description = <<-DESC
The Clipper library primarily performs the boolean clipping operations - intersection, union, difference & xor - on 2D polygons. It also performs polygon offsetting.
The library handles complex (self-intersecting) polygons, polygons with holes and polygons with overlapping co-linear edges.
Input polygons for clipping can use EvenOdd, NonZero, Positive and Negative filling modes.
The clipping code is based on the Vatti clipping algorithm, and out performs other clipping libraries.
DESC
s.homepage = "http://www.angusj.com/delphi/clipper.php"
s.license = { :type => "Boost Software License",
:file => "License.txt" }
s.author = { "Angus Johnson" => "awj1958@gmail.com" }
s.source = { :svn => "http://svn.code.sf.net/p/polyclipping/code", :tag => "5.1.4" }
s.ios.deployment_target = "4.0"
s.osx.deployment_target = "10.6"
s.source_files = "cpp/*.{cpp,hpp}"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/clipper/"' }
end