]> gitweb @ CieloNegro.org - EsounD.git/blobdiff - EsounD.cabal
updating things to prepare EsounD-0.2
[EsounD.git] / EsounD.cabal
index cb7e8e156fe9140981552cd0a695ce515480b855..e69a42324d53e622bd77a2de523642aae967756e 100644 (file)
@@ -2,47 +2,69 @@ Name: EsounD
 Synopsis: Type-safe bindings to EsounD (ESD; Enlightened Sound Daemon)
 Description:
         Type-safe bindings to EsounD: <http://www.tux.org/~ricdude/EsounD.html>
-Version: 0.1
+Version: 0.2
 License: PublicDomain
 License-File: COPYING
 Author: PHO <pho at cielonegro dot org>
 Maintainer: PHO <pho at cielonegro dot org>
 Stability: experimental
 Homepage: http://cielonegro.org/EsounD.html
+Bug-Reports: http://static.cielonegro.org/ditz/EsounD/
 Category: Sound
-Tested-With: GHC == 6.12.3
+Tested-With: GHC == 7.0.1
 Cabal-Version: >= 1.6
 Build-Type: Simple
 Extra-Source-Files:
     COPYING
+    NEWS
 
 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-control             == 0.2.*,
+        network                   == 2.3.*,
+        regions                   == 0.9.*,
+        safer-file-handles        == 0.10.*,
         storablevector            == 0.2.*,
         transformers              == 0.2.*,
         unix                      == 2.4.*
 
     Exposed-Modules:
         Sound.EsounD
+        Sound.EsounD.Controller
+        Sound.EsounD.Filter
+        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