-
Notifications
You must be signed in to change notification settings - Fork 2
/
sfml-audio.cabal
120 lines (105 loc) · 3.7 KB
/
sfml-audio.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
Name: sfml-audio
Version: 0.7.1.1816
Synopsis: minimal bindings to the audio module of sfml
Description: Provides a very minimal interface to the audio module of sfml.
Currently, only the playing of sounds is covered.
Playing background music is not yet supported, but planned.
(sfml is a multimedia library: <http://www.sfml-dev.org/>)
Homepage: http://patch-tag.com/r/shahn/sfml-audio
License: OtherLicense
License-file: LICENSE
Author: Sönke Hahn
Maintainer: [email protected]
Stability: Beta
Category: Sound
Build-type: Simple
Cabal-version: >=1.6
-- headers used for compiling the cabal-package
extra-source-files:
-- sfml
dependencies/sfml2/include/SFML/*.hpp
dependencies/sfml2/include/SFML/Audio/*.hpp
dependencies/sfml2/include/SFML/System/*.hpp
dependencies/sfml2/include/SFML/System/*.inl
dependencies/sfml2/src/SFML/Audio/*.hpp
dependencies/sfml2/src/SFML/System/*.hpp
dependencies/sfml2/src/SFML/System/Unix/*.hpp
dependencies/sfml2/src/SFML/System/Win32/*.hpp
-- csfml
dependencies/sfml2/bindings/c/include/SFML/Audio/*.h
dependencies/sfml2/bindings/c/include/SFML/*.h
dependencies/sfml2/bindings/c/src/SFML/Audio/*.h
dependencies/sfml2/bindings/c/src/SFML/*.h
source-repository head
type: darcs
location: http://patch-tag.com/r/shahn/sfml-audio
Library
Exposed-modules: Sound.SFML, Sound.SFML.LowLevel
hs-source-dirs: src
-- Packages needed in order to build this package.
Build-depends:
base >= 4 && < 5,
bytestring == 0.9.* || == 0.10.*
extra-libraries:
stdc++, sndfile
if os(linux)
extra-libraries:
openal, pthread
if os(mingw32)
extra-libraries:
openal32
if os(darwin)
frameworks:
OpenAL
includes:
al.h
sndfile.h
cc-options:
-O3
-DNDEBUG
-DSFML_EXPORTS
-DSFML_SYSTEM_EXPORTS
-DSFML_AUDIO_EXPORTS
-DCSFML_EXPORTS
if os(darwin)
cc-options:
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
ld-options:
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
include-dirs:
dependencies/sfml2/include
dependencies/sfml2/src
dependencies/sfml2/bindings/c/include
dependencies/sfml2/bindings/c/src
-- sfml audio
c-sources:
dependencies/sfml2/src/SFML/Audio/ALCheck.cpp
dependencies/sfml2/src/SFML/Audio/AudioDevice.cpp
dependencies/sfml2/src/SFML/Audio/Music.cpp
dependencies/sfml2/src/SFML/Audio/SoundBuffer.cpp
dependencies/sfml2/src/SFML/Audio/Sound.cpp
dependencies/sfml2/src/SFML/Audio/SoundFile.cpp
dependencies/sfml2/src/SFML/Audio/SoundSource.cpp
dependencies/sfml2/src/SFML/Audio/SoundStream.cpp
-- sfml system
c-sources:
dependencies/sfml2/src/SFML/System/Err.cpp
dependencies/sfml2/src/SFML/System/Lock.cpp
dependencies/sfml2/src/SFML/System/Mutex.cpp
dependencies/sfml2/src/SFML/System/Sleep.cpp
dependencies/sfml2/src/SFML/System/Thread.cpp
if os(linux) || os(darwin)
c-sources:
dependencies/sfml2/src/SFML/System/Unix/MutexImpl.cpp
dependencies/sfml2/src/SFML/System/Unix/Platform.cpp
dependencies/sfml2/src/SFML/System/Unix/ThreadImpl.cpp
if os(mingw32)
c-sources:
dependencies/sfml2/src/SFML/System/Win32/MutexImpl.cpp
dependencies/sfml2/src/SFML/System/Win32/Platform.cpp
dependencies/sfml2/src/SFML/System/Win32/ThreadImpl.cpp
-- csfml audio
c-sources:
dependencies/sfml2/bindings/c/src/SFML/Audio/Music.cpp
dependencies/sfml2/bindings/c/src/SFML/Audio/SoundBuffer.cpp
dependencies/sfml2/bindings/c/src/SFML/Audio/Sound.cpp