-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathusb-video-class.cabal
153 lines (127 loc) · 4.04 KB
/
usb-video-class.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
name: usb-video-class
version: 0.0.0.0
cabal-version: >=1.6
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: 2011 John Obbele <john.obbele@gmail.com>
author: John Obbele <john.obbele@gmail.com>
maintainer: John Obbele <john.obbele@gmail.com>
bug-reports: John Obbele <john.obbele@gmail.com>
stability: experimental
category: System,USB
synopsis: Communicate with USB Video Class devices
description: A small demo to showcase asynchronous transfers.
.
For further references, you should consult:
.
* The USB Video Class v1.0a specification:
<http://www.quickcamteam.net/archive/USB_Video_Class_1_0a.zip>
.
* The USB Video Class v1.1 specification:
<http://www.usb.org/developers/devclass_docs/USB_Video_Class_1_1.zip>
extra-source-files: README.mkd
extra-source-files: include/uvc.h
source-repository head
Type: git
Location: git://github.com/obbele/usb-video-class.git
Flag Library
description: Build the library (experimental option)
default: False
Flag Test
description: Build the test program
default: True
Flag Iteratee
description: Build the iteratee-test program
default: False
Flag BMP
description: Build the BMP test program
default: False
library
GHC-Options: -Wall
GHC-Options: -fno-warn-unused-do-bind
if flag(Library)
Buildable: True
else
Buildable: False
build-depends: base >= 4 && < 4.4
, base-unicode-symbols >= 0.1.1 && < 0.3
, bytestring >= 0.9 && < 0.10
, text >= 0.5 && < 0.12
, usb >= 1.0
, cereal >= 0.3
exposed-modules: System.USB.UVC.Descriptors
, System.USB.UVC.DeviceHandling
, System.USB.UVC.Requests
, System.USB.UVC.Streaming
, System.USB.UVC
other-modules: System.USB.UVC.Unsafe
, ExtraUtils
, Utils
include-dirs: include
executable test
GHC-Options: -Wall
GHC-Options: -fno-warn-unused-do-bind
GHC-Options: -threaded
GHC-Options: -rtsopts
if flag(Test)
Buildable: True
else
Buildable: False
main-is: Demo/Main.hs
other-modules: System.USB.UVC.Descriptors
, System.USB.UVC.DeviceHandling
, System.USB.UVC.Requests
, System.USB.UVC.Streaming
, System.USB.UVC
, System.USB.UVC.Unsafe
, ExtraUtils
, Utils
, Demo.Common
include-dirs: include
executable iteratee-test
GHC-Options: -Wall
GHC-Options: -fno-warn-unused-do-bind
GHC-Options: -threaded
GHC-Options: -rtsopts
if flag(Iteratee)
Buildable: True
else
Buildable: False
build-depends: transformers >= 0.2
, iteratee >= 0.8
, usb-iteratee >= 0.4
main-is: Demo/Iteratee.hs
other-modules: System.USB.UVC.Descriptors
, System.USB.UVC.DeviceHandling
, System.USB.UVC.Requests
, System.USB.UVC.Streaming
, System.USB.UVC.Iteratee
, System.USB.UVC
, System.USB.UVC.Unsafe
, ExtraUtils
, Utils
, Demo.Common
include-dirs: include
executable bmp
GHC-Options: -Wall
GHC-Options: -fno-warn-unused-do-bind
GHC-Options: -threaded
GHC-Options: -rtsopts
build-depends: bmp >= 1.1
if flag(BMP)
Buildable: True
else
Buildable: False
main-is: Demo/BMP.hs
other-modules: System.USB.UVC.Descriptors
, System.USB.UVC.DeviceHandling
, System.USB.UVC.Requests
, System.USB.UVC.Streaming
, System.USB.UVC
, System.USB.UVC.Unsafe
, Codec.UVC.RGBA
, ExtraUtils
, Utils
, Demo.Common
include-dirs: include