packages feed

alsa-midi-0.4: alsa-midi.cabal

Name:               alsa-midi
Version:            0.4
License:            GPL
License-File:       LICENSE
Author:             Soenke Hahn
Maintainer:         Henning Thielemann <haskell@henning-thielemann.de>
Homepage:           http://www.haskell.org/haskellwiki/ALSA
Package-URL:        http://darcs.haskell.org/alsa-midi/
Category:           Sound
Build-Type:         Simple
Synopsis:           Bindings for the ALSA sequencer API (MIDI stuff)
Description:
  Bindings for the ALSA sequencer API (MIDI stuff)
  Since there is also
      <http://code.haskell.org/alsa/>
  which aims at a more complete interface to ALSA
  we will no longer maintain this one.
  .
  See "Sound.ALSA.Sequencer.Play" for how to play Haskore songs in realtime via ALSA.
Tested-With:        GHC==6.4.1, GHC==6.8.2
Cabal-Version:      >=1.2
Build-Type:         Simple
Data-Files:
   Makefile, README, examples/SimpleSynth.hs


Flag splitBase
  description: Choose the new smaller, split-up base package.

Library
  Build-Depends: midi >=0.1 && <0.2, event-list >=0.0.6 && < 0.1, non-negative>=0.0.1 && <0.1
  Build-Depends: mtl >=1 && <2, QuickCheck >=1 && <2
  If flag(splitBase)
    Build-Depends: base >= 2, array
  Else
    Build-Depends: base >= 1.0 && < 2
    -- jack for SimpleSynth example

  Hs-Source-Dirs:     src
  Exposed-Modules:
      Sound.ALSA.Sequencer
      Sound.ALSA.Sequencer.Play
--   Other-Modules:
--      Sound.ALSA.SequencerFFI
      Sound.ALSA.Sequencer.FFI
  GHC-Options:        -Wall -threaded
  extensions:         ForeignFunctionInterface
  extra-libraries:    asound
  includes:           alsa/asoundlib.h
  include-dirs:       /usr/local/include, /usr/include

Executable playnote
  Hs-source-dirs:     src, .
  GHC-Options:        -Wall -threaded
  Extensions:         ForeignFunctionInterface
  Extra-Libraries:    asound
  Main-Is: examples/PlayNote.hs

Executable playmidi
  Hs-source-dirs:     src, .
  GHC-Options:        -Wall -threaded
  Extensions:         ForeignFunctionInterface
  Extra-Libraries:    asound
  Main-Is: examples/PlayMIDI.hs

Executable mididump
  Hs-source-dirs:     src, .
  GHC-Options:        -Wall -threaded
  Extensions:         ForeignFunctionInterface
  Extra-Libraries:    asound
  Main-Is: examples/MidiDump.hs

-- Executable simplesynth
--   Buildable:          False
--   Hs-source-dirs:     src, .
--   Build-Depends:       jack
--   GHC-Options:        -Wall -threaded
--   Extensions:         ForeignFunctionInterface
--   Extra-Libraries:    asound
--   Main-Is: examples/SimpleSynth.hs