-
Notifications
You must be signed in to change notification settings - Fork 1
/
isobmff-builder.cabal
280 lines (273 loc) · 12.5 KB
/
isobmff-builder.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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
name: isobmff-builder
version: 0.11.4.0
synopsis: A (bytestring-) builder for the ISO-14496-12 base media file format
description: Please see README.md
homepage: https://github.com/lindenbaum/isobmff-builder#readme
license: BSD3
license-file: LICENSE
author: Sven Heyll
maintainer: [email protected]
copyright: 2016,2017 Sven Heyll, Lindenbaum GmbH
category: Codec
build-type: Simple
extra-source-files: README.md
, CHANGELOG.md
, stack.yaml
, .travis.yml
, doc/basic-structure.svg
, doc/data_reference_box.svg
, doc/ES_Descriptor.markDown
, doc/trun.markDown
, .gitignore
cabal-version: >=1.10
flag tracing
description: Build with trace output enabled
default: True
flag fullbenchmarks
description: Enable the compilation of all benchmarks, takes a long time to compile
default: True
flag complextests
description: Enable the compilation of all unit tests, even those, that take a long time to compile
default: True
library
hs-source-dirs: src
exposed-modules: Data.ByteString.IsoBaseFileFormat.Box
, Data.ByteString.IsoBaseFileFormat.Boxes
, Data.ByteString.IsoBaseFileFormat.Boxes.AudioSampleEntry
, Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset
, Data.ByteString.IsoBaseFileFormat.Boxes.DataEntryUrl
, Data.ByteString.IsoBaseFileFormat.Boxes.DataEntryUrn
, Data.ByteString.IsoBaseFileFormat.Boxes.DataInformation
, Data.ByteString.IsoBaseFileFormat.Boxes.DataReference
, Data.ByteString.IsoBaseFileFormat.Boxes.FileType
, Data.ByteString.IsoBaseFileFormat.Boxes.Handler
, Data.ByteString.IsoBaseFileFormat.Boxes.HintMediaHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.HintSampleEntry
, Data.ByteString.IsoBaseFileFormat.Boxes.Media
, Data.ByteString.IsoBaseFileFormat.Boxes.MediaData
, Data.ByteString.IsoBaseFileFormat.Boxes.MediaHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.MediaInformation
, Data.ByteString.IsoBaseFileFormat.Boxes.MetaDataSampleEntry
, Data.ByteString.IsoBaseFileFormat.Boxes.Movie
, Data.ByteString.IsoBaseFileFormat.Boxes.MovieExtends
, Data.ByteString.IsoBaseFileFormat.Boxes.MovieExtendsHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.MovieFragment
, Data.ByteString.IsoBaseFileFormat.Boxes.MovieFragmentHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.MovieHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.NullMediaHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.ProgressiveDownloadInformation
, Data.ByteString.IsoBaseFileFormat.Boxes.Language
, Data.ByteString.IsoBaseFileFormat.Boxes.SampleDescription
, Data.ByteString.IsoBaseFileFormat.Boxes.SampleEntry
, Data.ByteString.IsoBaseFileFormat.Boxes.SampleSize
, Data.ByteString.IsoBaseFileFormat.Boxes.SampleTable
, Data.ByteString.IsoBaseFileFormat.Boxes.SampleToChunk
, Data.ByteString.IsoBaseFileFormat.Boxes.SegmentType
, Data.ByteString.IsoBaseFileFormat.Boxes.Skip
, Data.ByteString.IsoBaseFileFormat.Boxes.SoundMediaHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.SpecificMediaHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.TimeToSample
, Data.ByteString.IsoBaseFileFormat.Boxes.Track
, Data.ByteString.IsoBaseFileFormat.Boxes.TrackExtends
, Data.ByteString.IsoBaseFileFormat.Boxes.TrackFragBaseMediaDecodeTime
, Data.ByteString.IsoBaseFileFormat.Boxes.TrackFragment
, Data.ByteString.IsoBaseFileFormat.Boxes.TrackFragmentHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.TrackHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.TrackRun
, Data.ByteString.IsoBaseFileFormat.Boxes.VideoMediaHeader
, Data.ByteString.IsoBaseFileFormat.Boxes.VisualSampleEntry
, Data.ByteString.IsoBaseFileFormat.Brands.Dash
, Data.ByteString.IsoBaseFileFormat.MediaFile
, Data.ByteString.IsoBaseFileFormat.ReExports
, Data.ByteString.IsoBaseFileFormat.Util.BoxFields
, Data.ByteString.IsoBaseFileFormat.Util.FullBox
, Data.ByteString.IsoBaseFileFormat.Util.Time
, Data.ByteString.IsoBaseFileFormat.Util.TypeLayout
, Data.ByteString.IsoBaseFileFormat.Util.Versioned
, Data.ByteString.Mp4.Boxes.AudioSpecificConfig
, Data.ByteString.Mp4.Boxes.BaseDescriptor
, Data.ByteString.Mp4.Boxes.DecoderConfigDescriptor
, Data.ByteString.Mp4.Boxes.DecoderSpecificInfo
, Data.ByteString.Mp4.Boxes.ElementaryStreamDescriptor
, Data.ByteString.Mp4.Boxes.Expandable
, Data.ByteString.Mp4.Boxes.Mp4AudioSampleEntry
, Data.ByteString.Mp4.Boxes.SyncLayerConfigDescriptor
, Data.ByteString.Mp4.AudioStreaming
, Data.ByteString.Mp4.AacInitSegment
, Data.Kind.Extra
, Data.Type.BitRecords
, Data.Type.BitRecords.Arithmetic
, Data.Type.BitRecords.Assert
, Data.Type.BitRecords.Builder.BitBuffer
, Data.Type.BitRecords.Builder.Holey
, Data.Type.BitRecords.Builder.LazyByteStringBuilder
, Data.Type.BitRecords.Core
, Data.Type.BitRecords.Enum
, Data.Type.BitRecords.SizedString
, Data.Type.BitRecords.Sized
build-depends: base >= 4.9 && < 5
, bytestring
, type-list
, data-default
, vector
, singletons
, tagged
, time
, text
, type-spec >= 0.3
, mtl
, pretty-types >= 0.2.3 && < 0.3
, template-haskell
default-language: Haskell2010
ghc-options: -O2 -Wall -funbox-strict-fields -fno-warn-unused-do-bind -fprint-explicit-kinds
if flag(tracing)
cpp-options: -DTRACING
else
cpp-options: -DNTRACING
default-extensions: BangPatterns
, ConstraintKinds
, CPP
, DataKinds
, DefaultSignatures
, DeriveDataTypeable
, DeriveFunctor
, DeriveGeneric
, DuplicateRecordFields
, FlexibleInstances
, FlexibleContexts
, FunctionalDependencies
, GADTs
, GeneralizedNewtypeDeriving
, KindSignatures
, MultiParamTypeClasses
, OverloadedStrings
, QuasiQuotes
, RecordWildCards
, RankNTypes
, ScopedTypeVariables
, StandaloneDeriving
, TemplateHaskell
, TupleSections
, TypeApplications
, TypeFamilies
, TypeInType
, TypeOperators
, TypeSynonymInstances
, UnicodeSyntax
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: spec
default-language: Haskell2010
main-is: Spec.hs
other-modules: BitRecordsSpec
, BoxFieldsSpec
, BoxSpec
, DataReferenceSpec
, ElementaryStreamDescriptorSpec
, EnumSpec
, ExpandableSpec
, Mp4AudioSampleEntrySpec
, MediaFileSpec
, Mp4AudioFileSpec
, Mp4AudioSegmentSpec
, TypeLayoutSpec
build-depends: base >= 4.9 && < 5
, bytestring
, hspec
, isobmff-builder
, binary
, text
, type-spec
, mtl
, QuickCheck
, tagged
, pretty-types >= 0.2.1 && < 0.3
default-language: Haskell2010
default-extensions: BangPatterns
, ConstraintKinds
, CPP
, DataKinds
, DefaultSignatures
, DeriveDataTypeable
, DeriveFunctor
, DeriveGeneric
, FlexibleInstances
, FlexibleContexts
, FunctionalDependencies
, GADTs
, GeneralizedNewtypeDeriving
, KindSignatures
, MultiParamTypeClasses
, OverloadedStrings
, QuasiQuotes
, RecordWildCards
, RankNTypes
, ScopedTypeVariables
, StandaloneDeriving
, TemplateHaskell
, TupleSections
, TypeApplications
, TypeFamilies
, TypeInType
, TypeOperators
, TypeSynonymInstances
, UnicodeSyntax
ghc-options: -Wall -O0 -j +RTS -A256m -n2m -RTS
-fwarn-unused-binds -fno-warn-unused-do-bind -fno-warn-missing-signatures -fprint-explicit-kinds
if flag(complextests)
cpp-options: -DCOMPLEXTESTS
else
cpp-options: -DNCOMPLEXTESTS
benchmark bit-records
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks/bit-records
main-is: Main.hs
default-language: Haskell2010
build-depends: base >= 4.9 && < 5
, isobmff-builder
, binary
, bytestring
, criterion
, tagged
, type-spec >= 0.3
default-language: Haskell2010
default-extensions: BangPatterns
, ConstraintKinds
, CPP
, DataKinds
, DefaultSignatures
, DeriveDataTypeable
, DeriveFunctor
, DeriveGeneric
, FlexibleInstances
, FlexibleContexts
, FunctionalDependencies
, GADTs
, GeneralizedNewtypeDeriving
, KindSignatures
, MultiParamTypeClasses
, OverloadedStrings
, QuasiQuotes
, RecordWildCards
, RankNTypes
, ScopedTypeVariables
, StandaloneDeriving
, TemplateHaskell
, TupleSections
, TypeApplications
, TypeFamilies
, TypeInType
, TypeOperators
, TypeSynonymInstances
, UnicodeSyntax
ghc-options: -O2 -j +RTS -A256m -n2m -RTS
-Wall -fwarn-unused-binds
-fno-warn-unused-do-bind -fprint-explicit-kinds
if flag(fullbenchmarks)
cpp-options: -DFULLBENCHMARKS
else
cpp-options: -DNFULLBENCHMARKS
source-repository head
type: git
location: https://github.com/githubuser/isobmff-builder