X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=EsounD.cabal;h=28e18d0bfec6305faf0d63910f314f29123b2199;hb=d4df6ebbadb94400304178fa4827e189462b57ec;hp=cb7e8e156fe9140981552cd0a695ce515480b855;hpb=951367c7c17ddbc417a998fe9a19d6434f63f386;p=EsounD.git diff --git a/EsounD.cabal b/EsounD.cabal index cb7e8e1..28e18d0 100644 --- a/EsounD.cabal +++ b/EsounD.cabal @@ -20,29 +20,48 @@ Source-Repository head Type: git Location: git://git.cielonegro.org/EsounD.git +Flag build-examples + Description: Build example programs. + Default: False + Library Build-Depends: - base == 4.2.*, + base == 4.*, base-unicode-symbols == 0.2.*, bindings-EsounD == 0.1.*, - network == 2.2.*, - regions == 0.7.*, - safer-file-handles == 0.8.*, + monad-peel == 0.1.*, + network == 2.3.*, + regions == 0.8.*, + safer-file-handles == 0.9.*, storablevector == 0.2.*, transformers == 0.2.*, unix == 2.4.* Exposed-Modules: Sound.EsounD + Sound.EsounD.Monitor + Sound.EsounD.Player + Sound.EsounD.Recorder + Sound.EsounD.Streams + Sound.EsounD.Types Other-Modules: Sound.EsounD.Internals - Extensions: - EmptyDataDecls - KindSignatures - ScopedTypeVariables - UnicodeSyntax - GHC-Options: -Wall + +Executable hs-esd-player-example + if flag(build-examples) + Buildable: True + else + Buildable: False + + HS-Source-Dirs: + ., + examples + + Main-Is: EsdPlayerExample.hs + + GHC-Options: + -Wall