Permalink
Browse files

spatialite 4.0 (in progress)

WhirlyGlobe 2.1 is the develop branch
  • Loading branch information...
1 parent 5486114 commit f9350b23f686eb4c6d14423c02cc45fcb42a41fb Juan J. Collas committed Dec 18, 2012
Showing with 34 additions and 3 deletions.
  1. +28 −0 WhirlyGlobe/2.1/WhirlyGlobe.podspec
  2. +6 −3 spatialite/4.0/spatialite.podspec
@@ -0,0 +1,28 @@
+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", :branch => "develop" }
+
+ s.platform = :ios
+
+ s.source_files = 'WhirlyGlobeSrc/{WhirlyGlobeLib,WhirlyGlobe-MaplyComponent}/{src,include}/**/*.{mm,m,h}'
+ s.public_header_files = FileList['WhirlyGlobeSrc/{WhirlyGlobeLib,WhirlyGlobe-MaplyComponent}/include/**/*.{h}'].exclude(/private/)
+
+ s.requires_arc = true
+
+ s.dependency 'eigen'
+ s.dependency 'boost/shared_ptr-includes'
+ s.dependency 'boost/pointer_cast-includes'
+ s.dependency 'proj4'
+ s.dependency 'shapelib'
+ s.dependency 'clipper'
+ s.dependency 'boost/math-includes'
+
+ s.library = 'stdc++', 'sqlite3'
+ s.frameworks = 'UIKit', 'QuartzCore', 'OpenGLES'
+
+end
@@ -3,7 +3,8 @@ Pod::Spec.new do |s|
s.version = "4.0"
s.summary = "SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities."
s.homepage = "https://www.gaia-gis.it/fossil/libspatialite/home"
- s.license = "Mozilla Public License v1.1"
+ s.license = { :type => "Mozilla Public License v1.1",
+ :file => "libspatialite-4.0.0/COPYING" }
s.author = { " Alessandro Furieri" => "a.furieri@lqt.it" }
s.source = { :http => "http://www.gaia-gis.it/gaia-sins/libspatialite-4.0.0.tar.gz" }
@@ -15,8 +16,10 @@ Pod::Spec.new do |s|
# s.header_mappings_dir = "libspatialite-4.0.0"
- s.source_files = FileList["libspatialite-4.0.0/src/**/*.{c,h}"].exclude(/^lex/, /geoJSON.c/, /Ewkt.c/, /Gml.c/, /Kml.c/)
- s.preserve_paths = "libspatialite-4.0.0/src/headers/**/*.h"
+# s.source_files = FileList["libspatialite-4.0.0/src/**/*.{c,h}"].exclude(/^lex/, /geoJSON.c/, /Ewkt.c/, /Gml.c/, /Kml.c/)
+ s.source_files = "libspatialite-4.0.0/src/{gaiaaux,gaiaexif,headers,shapefiles,spatialite,srsinit,versioninfo,virtualtext}/*.{c,h}", "libspatialite-4.0.0/src/gaiageo/gg_*.{c,h}", "libspatialite-4.0.0/src/gaiageo/*.h"
+
+ s.preserve_paths = "libspatialite-4.0.0/src/headers/**/*.h", "libspatialite-4.0.0/src/gaiageo/*.{ch}"
s.dependency 'sqlite3'
s.dependency 'geos'

0 comments on commit f9350b2

Please sign in to comment.