-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathOpenAL.cabal
116 lines (111 loc) · 3.21 KB
/
OpenAL.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
name: OpenAL
version: 1.7.0.5
synopsis: A binding to the OpenAL cross-platform 3D audio API
description:
A Haskell binding for the OpenAL cross-platform 3D audio API,
appropriate for use with gaming applications and many other
types of audio applications.
.
On Windows, this package works well with the \"OpenAL Soft\" binary
distribution from <http://kcat.strangesoft.net/openal.html>.
Type \'cabal install --extra-lib-dirs=\<DIR\>\' where \<DIR\> is the
directory where libOpenAL32.dll.a is located (must be an absolute path).
Then rename soft_oal.dll to OpenAL32.dll and put it somewhere in
the PATH. I found that c:\\Windows\\ worked.
.
This package has also been tested on GNU/Linux and iOS.
homepage: https://github.com/haskell-openal/ALUT
bug-reports: https://github.com/haskell-openal/ALUT/issues
copyright: Copyright (C) 2003-2016 Sven Panne
license: BSD3
license-file: LICENSE
author: Sven Panne
maintainer: Sven Panne <[email protected]>, Stephen Blackheath <[email protected]>
category: Sound
build-type: Simple
tested-with:
GHC == 7.0.4
GHC == 7.2.2
GHC == 7.4.2
GHC == 7.6.3
GHC == 7.8.4
GHC == 7.10.3
GHC == 8.0.2
GHC == 8.2.2
GHC == 8.4.3
GHC == 8.6.5
GHC == 8.8.1
cabal-version: >= 1.10
extra-source-files:
CHANGELOG.md
README.md
flag UseNativeWindowsLibraries
description:
When compiling under Windows, use the native libraries instead of e.g. the
ones coming with Cygwin.
flag BuildExamples
description: Build various OpenAL examples.
default: False
library
exposed-modules:
Sound.OpenAL
Sound.OpenAL.AL
Sound.OpenAL.AL.Attenuation
Sound.OpenAL.AL.BasicTypes
Sound.OpenAL.AL.Buffer
Sound.OpenAL.AL.Doppler
Sound.OpenAL.AL.Errors
Sound.OpenAL.AL.Extensions
Sound.OpenAL.AL.Listener
Sound.OpenAL.AL.Source
Sound.OpenAL.AL.StringQueries
Sound.OpenAL.ALC
Sound.OpenAL.ALC.BasicTypes
Sound.OpenAL.ALC.Capture
Sound.OpenAL.ALC.Context
Sound.OpenAL.ALC.Device
Sound.OpenAL.ALC.Errors
Sound.OpenAL.ALC.Extensions
other-modules:
Sound.OpenAL.AL.ALboolean
Sound.OpenAL.AL.BufferInternal
Sound.OpenAL.AL.Format
Sound.OpenAL.AL.PeekPoke
Sound.OpenAL.AL.QueryUtils
Sound.OpenAL.AL.SourceState
Sound.OpenAL.AL.String
Sound.OpenAL.ALC.ALCboolean
Sound.OpenAL.ALC.QueryUtils
Sound.OpenAL.ALC.String
Sound.OpenAL.Config
Sound.OpenAL.Constants
hs-source-dirs: src
build-depends:
base >= 3 && < 5,
transformers >= 0.2 && < 0.6,
ObjectName >= 1.1 && < 1.2,
StateVar >= 1.1 && < 1.3,
OpenGL >= 2.12 && < 3.1
default-language: Haskell2010
ghc-options: -Wall
if impl(ghc > 8)
ghc-options: -Wcompat
other-extensions: CPP
if os(windows) && flag(UseNativeWindowsLibraries)
extra-libraries: OpenAL32
else
if os(darwin) || os(ios)
frameworks: OpenAL
else
extra-libraries: openal
executable TestDevice
if !flag(BuildExamples)
buildable: False
main-is: TestDevice.hs
build-depends: base >= 3 && < 5, OpenAL
hs-source-dirs: examples/test
default-language: Haskell2010
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/haskell-openal/OpenAL.git