jack-0.6: jack.cabal
Name: jack
Version: 0.6
License: GPL
License-File: LICENSE
Author: Soenke Hahn, Henning Thielemann
Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
Synopsis: Bindings for the JACK Audio Connection Kit
Description: Very basic bindings for the JACK Audio Connection Kit
Homepage: http://www.haskell.org/haskellwiki/JACK
Category: Sound
Build-Type: Simple
Cabal-Version: >=1.6
Tested-With: GHC == 6.8.2, GHC == 6.10.4, GHC == 6.12.3, GHC == 7.0.2, GHC == 7.2.1
Extra-Source-Files:
README
INSTALL
Source-Repository head
type: darcs
location: http://code.haskell.org/jack/
Source-Repository this
type: darcs
location: http://code.haskell.org/jack/
tag: 0.6
Flag buildExamples
description: Build example executables
default: False
Library
Build-Depends:
midi >=0.1.5.2 && <0.2,
bytestring >=0.9.1.4 && <0.10,
explicit-exception >=0.1.5 && <0.2,
transformers >=0.2 && <0.3,
enumset >=0.0 && <0.1,
array >=0.2 && <0.4,
unix >=2.3 && <2.6,
base >=4.0 && <5.0
Exposed-Modules:
Sound.JACK
Sound.JACK.Audio
Sound.JACK.MIDI
Sound.JACK.Exception
Other-Modules:
Sound.JACK.Private
Sound.JACK.FFI
Sound.JACK.FFI.MIDI
Build-Tools: c2hs>=0.15.1
Hs-Source-Dirs: src
GHC-Options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-record-updates
If impl(ghc >= 6.12)
GHC-Options: -fwarn-unused-do-bind
If os(darwin)
CC-Options: -U__BLOCKS__
Extensions: ForeignFunctionInterface
-- use extra-libraries, if pkg-config fails
-- http://hackage.haskell.org/trac/hackage/ticket/170
-- Extra-Libraries: jack
--
-- There seem to be two lines of JACK:
-- JACK1 as used by Kubuntu, e.g. jack-0.118.0
-- JACK2 as used by Suse, e.g. jack-1.9.0
-- Thus I just omit the jack version here
PkgConfig-depends: jack
Includes: jack/jack.h, jack/midiport.h
Executable amplify
If !flag(buildExamples)
Buildable: False
GHC-Options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-record-updates
Extensions: ForeignFunctionInterface
Extra-Libraries: jack
Other-Modules: Sound.JACK.FFI.MIDI
Hs-Source-Dirs: src, .
Main-Is: examples/Amplify.hs
Executable impulse-train
If !flag(buildExamples)
Buildable: False
GHC-Options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-record-updates
Extensions: ForeignFunctionInterface
Extra-Libraries: jack
Other-Modules: Sound.JACK.FFI.MIDI
Hs-Source-Dirs: src, .
Main-Is: examples/ImpulseTrain.hs
Executable midimon
If !flag(buildExamples)
Buildable: False
GHC-Options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-record-updates
Extensions: ForeignFunctionInterface
Extra-Libraries: jack
Other-Modules: Sound.JACK.FFI.MIDI
Hs-Source-Dirs: src, .
Main-Is: examples/Midimon.hs