X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=EsounD.git;a=blobdiff_plain;f=EsounD.cabal;h=783ef4751b5141ecb0de3a11b7b5e8791650dfdd;hp=60e1e5b745291a90d3e26e3b66881f54c13d952b;hb=d6ea0404a5d1fc5356a5b121b45f277d735359ad;hpb=0465b7e3bed042d72da053bceeb4959403cc53a6 diff --git a/EsounD.cabal b/EsounD.cabal index 60e1e5b..783ef47 100644 --- a/EsounD.cabal +++ b/EsounD.cabal @@ -20,22 +20,46 @@ Source-Repository head Type: git Location: git://git.cielonegro.org/EsounD.git +Flag build-examples + Description: Build example programs. + Default: False + Library Build-Depends: - MonadCatchIO-transformers == 0.2.*, - 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.*, - storablevector == 0.2.* + 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.Player + Sound.EsounD.Streams + Sound.EsounD.Types - Extensions: - KindSignatures - UnicodeSyntax + Other-Modules: + Sound.EsounD.Internals 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