libosrm 1.0.0.pre.rc1 → 1.0.0.pre.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfcb4338e74ba04017eadd08b4ea6f87b1710766
4
- data.tar.gz: 07a0cfd4dd83545f2e1ab951fd1b7f45fb139990
3
+ metadata.gz: c085c7eaf7cd6e6c92bf6a907077428fa144167f
4
+ data.tar.gz: cb23adb4f64d79bb210ae08516ef01c4ad029dfe
5
5
  SHA512:
6
- metadata.gz: 4d9889352472136de6cccbc235c3b7337aa5dda83fa4df874e437db0a5d19b8777f6386746b6d0e0fa1201556ee3304c1e1c8777d94ace9d803980ff5aba1272
7
- data.tar.gz: 6fb73dda9d9b1aabbfa08c6a67a806d7b05204a3c0ed8d4c27543f403f3015de2a4422ad395bfcd4a68f78d28554ac7aceb81afbf48a240873771e2ea2b9d05f
6
+ metadata.gz: c4c1c7b6f91c882cf8f33a1fab8bc54ba48470f03e945bfcd27bff5b124580264f43a356078daf3efe05499645cea7ea9d15f5372af0cfbad0c7c0b8e45074f7
7
+ data.tar.gz: a8decc776121372745eb3d73c08cc8756f16c75014bd80f82fa72d05ee974d5eacd1f319bc3054c02ccff132c4a03a61cc1dbbc0a219dc7c0f9ddd0f5bbbe9da
@@ -66,7 +66,12 @@ else
66
66
  symlink_osrm_data recipe
67
67
 
68
68
  append_cflags("-I#{recipe.path}/include -I#{recipe.path}/include/osrm")
69
- find_library "osrm", nil, "#{recipe.path}/lib"
69
+
70
+ # I can’t get OSRM library detection to work properly, so just adding it manually (it’s compiled by us so it ought to work)
71
+ $LDFLAGS << " -Wl,-rpath,#{File.expand_path(recipe.work_path)} -L#{File.expand_path(recipe.work_path)} -losrm"
72
+
73
+ # Adding boost_system as OSRM’s dependency
74
+ $LDFLAGS << " -lboost_system"
70
75
  end
71
76
  end
72
77
 
@@ -9,7 +9,7 @@ class MiniPortileFixedCMake < MiniPortile
9
9
  if MiniPortile.windows?
10
10
  [ '-G "NMake Makefiles"' ]
11
11
  else
12
- []
12
+ [ "-DBUILD_SHARED_LIBS=ON" ]
13
13
  end
14
14
  end
15
15
 
@@ -1,5 +1,5 @@
1
1
 
2
2
 
3
3
  module LibOSRM
4
- VERSION = "1.0.0-rc1"
4
+ VERSION = "1.0.0-rc2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libosrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc1
4
+ version: 1.0.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samu Voutilainen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_portile2
@@ -66,8 +66,10 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
69
- description: Ruby bindings for OSRM’s C++ API, providing faster and more customizable
70
- interaction with OSRM than HTTP based API.
69
+ description: |2
70
+ Ruby bindings for OSRM’s C++ API, providing faster and more customizable interaction with OSRM than HTTP based API.
71
+
72
+ This gem requires native dependencies, you can find list of dependencies in README.
71
73
  email: smar@smar.fi
72
74
  executables:
73
75
  - libosrm-prepare
@@ -106,7 +108,7 @@ files:
106
108
  - lib/libosrm/version.rb
107
109
  - libexec/.keep
108
110
  - osrm/profiles/.keep
109
- homepage: http://smar.fi
111
+ homepage: https://github.com/Smarre/ruby-libosrm
110
112
  licenses:
111
113
  - MIT
112
114
  metadata: {}
@@ -116,9 +118,9 @@ require_paths:
116
118
  - lib
117
119
  required_ruby_version: !ruby/object:Gem::Requirement
118
120
  requirements:
119
- - - ">="
121
+ - - ">"
120
122
  - !ruby/object:Gem::Version
121
- version: '0'
123
+ version: 2.3.0
122
124
  required_rubygems_version: !ruby/object:Gem::Requirement
123
125
  requirements:
124
126
  - - ">"