-
Notifications
You must be signed in to change notification settings - Fork 8
/
bindings-gdal.cabal
209 lines (193 loc) · 7.07 KB
/
bindings-gdal.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
cabal-version: >=2.0
name: bindings-gdal
version: 3.3.1
synopsis: Bindings to the GDAL library
description: Provides (incomplete) c-bindings to the Geospatial Data Abstraction Library
license: BSD3
license-file: LICENSE
author: Alberto Valverde Gonzalez
maintainer: [email protected]
copyright: 2013-2021
category: Bindings
build-type: Custom
extra-source-files: cbits/*.h
Data-Files:
tests/fixtures/fondo.shp
tests/fixtures/fondo.shx
custom-setup
setup-depends: base, Cabal, filepath, process
flag examples
description: Build example apps
default: False
manual: True
flag autoconfig
description:
Use gdal-config to set extra-libraries, extra-lib-dirs and include-dirs.
default: True
flag embed-data
description: Embed GDAL_DATA in executable
default: False
manual: True
flag static
description: Link executables statically
default: False
manual: True
source-repository head
type: git
location: https://github.com/albertov/bindings-gdal.git
library
build-tool-depends: c2hs:c2hs
hs-source-dirs: src
exposed-modules: OGR
, OSR
, GDAL
, GDAL.Algorithms
, GDAL.Warper
, GDAL.VRT
, GDAL.Internal.Types
, GDAL.Internal.Types.Value
, GDAL.Internal.DataType
, GDAL.Internal.DataType.Internal
, GDAL.Internal.Util
, GDAL.Internal.Common
, GDAL.Internal.CPLString
, GDAL.Internal.CPLError
, GDAL.Internal.CPLProgress
, GDAL.Internal.CPLConv
, GDAL.Internal.GCP
, GDAL.Internal.OGRError
, GDAL.Internal.OSR
, GDAL.Internal.OGRGeometry
, GDAL.Internal.OGRFeature
, GDAL.Internal.OGRFieldInstances
, GDAL.Internal.Layer
, GDAL.Internal.OGR
, GDAL.Internal.GDAL
, GDAL.Internal.Algorithms
, GDAL.Internal.Warper
, GDAL.Internal.HSDataset
, GDAL.Internal.HSDriver
, GDAL.Internal.VRT
, GDAL.Internal.VSI
build-depends: base >= 4.5 && < 5
, ghc-prim >= 0.3.1 && < 0.9
, bytestring >= 0.10.4 && < 0.12
, deepseq >= 1.3.0 && < 1.5
, conduit >= 1.3 && < 1.4
, exceptions >= 0.8.0 && < 0.11
, mtl >= 2.1.3 && < 2.3
, transformers >= 0.3 && < 0.6
, transformers-base >= 0.4.4 && < 0.5
, resourcet >= 1.2.4.2 && < 1.3
, data-default >= 0.5.3 && < 0.8
, microlens >= 0.4.2 && < 0.5
, text >= 1.2.0 && < 2.1
, time >= 1.4.2 && < 1.12
, unordered-containers >= 0.2.5 && < 0.3
, vector >= 0.10.12 && < 0.13
, unliftio-core >= 0.1.2.0 && < 0.3
, unliftio >= 0.2.13.1 && < 0.3
if flag(embed-data)
build-depends: file-embed
, directory
, filepath
, process
, template-haskell
exposed-modules: GDAL.Internal.GDALData
cpp-options: -DHAVE_EMBEDDED_DATA
if !flag(autoconfig)
if os(windows)
extra-libraries: gdal_i
else
extra-libraries: gdal
extra-libraries: stdc++
ghc-options: -funbox-strict-fields -Wall
install-includes: bindings.h
default-language: Haskell2010
include-dirs: include cbits
cc-options: -Wall -g
c-sources: cbits/errorhandler.c
, cbits/contourwriter.c
, cbits/driver.cpp
, cbits/hsdataset.cpp
, cbits/suggestedwarpoutput.c
, cbits/overviews.cpp
includes: cbits/errorhandler.h
, cbits/contourwriter.h
, cbits/driver.h
, cbits/hsdataset.h
, cbits/suggestedwarpoutput.h
, cbits/overviews.h
test-suite spec
type: exitcode-stdio-1.0
build-tool-depends: hspec-discover:hspec-discover
build-depends: base
, filepath
, hspec
, hspec-core >= 1.13
, QuickCheck
, bindings-gdal
, vector
, bytestring
, text
, temporary
, exceptions
, transformers
, time
, data-default
, conduit
, microlens
if os(windows)
cpp-options: -DWINDOWS
else
build-depends: unix
hs-source-dirs: tests
main-is: Main.hs
other-modules: Spec
, GDALSpec
, GDALDriverSpec
, GDALIOSpec
, OSRSpec
, OGRSpec
, OGRGeometrySpec
, GDAL.AlgorithmsSpec
, GDAL.WarperSpec
, GDAL.VRTSpec
, Paths_bindings_gdal
, TestUtils
, Arbitrary
default-language: Haskell2010
ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
if flag(static)
ghc-options: -optl-static -optl-static-libstdc++ -optl-static-libgcc -pgml=g++
include-dirs: src/GDAL/Internal/
executable ogrinfo-hs
build-depends: base
, bindings-gdal
, text
, bytestring
, unordered-containers
, transformers
, conduit
ghc-options: -Wall -rtsopts -O2
if flag(static)
ghc-options: -optl-static -optl-static-libstdc++ -optl-static-libgcc
hs-source-dirs: exe
main-is: OGRInfo.hs
default-language: Haskell2010
if !flag(examples)
Buildable: False
executable rasterstats-hs
build-depends: base
, bindings-gdal
, vector
ghc-options: -Wall -rtsopts -O2
if flag(static)
ghc-options: -optl-static -optl-static-libstdc++ -optl-static-libgcc
hs-source-dirs: exe
if flag(static)
ghc-options: -static -optl-static
main-is: RasterStats.hs
default-language: Haskell2010
if !flag(examples)
Buildable: False