Merge branch 'master' of gitorious.org:hsv4l2/v4l2-examples
[hsv4l2:v4l2-examples.git] / v4l2-examples.cabal
1 Name:                v4l2-examples
2 Version:             0.1.0.1
3 Synopsis:            video for linux two examples
4
5 Description:
6   This package contains examples using the v4l2 package:
7   .
8     * v4l2-capture - dumps PPM frames from a video device to stdout:
9   .
10     @$ v4l2-capture /dev/video0 > out.ppm@
11   .
12     * v4l2-histogram - shows RGB histogram overlaid on mirror image, using OpenGL/GLUT for display.
13   .
14     @$ v4l2-histogram /dev/video0@
15
16 Homepage:            https://gitorious.org/hsv4l2
17 License:             BSD3
18 License-file:        LICENSE
19 Author:              Claude Heiland-Allen
20 Maintainer:          claude@mathr.co.uk
21
22 Category:            Graphics
23 Build-type:          Simple
24 Cabal-version:       >=1.2
25
26 Executable v4l2-capture
27   Main-is: v4l2-capture/v4l2-capture.hs
28   Build-depends:
29     base >= 3 && < 5,
30     v4l2 >= 0.1 && < 0.2
31   ghc-options: -Wall
32
33 Executable v4l2-histogram
34   Main-is: v4l2-histogram/v4l2-histogram.hs
35   Build-depends:
36     base >= 3 && < 5,
37     GLUT >= 2.1 && < 2.3,
38     v4l2 >= 0.1 && < 0.2
39   ghc-options: -Wall