packages feed

alsa-midi-0.3.1: alsa-midi.cabal

Name:               alsa-midi
Version:            0.3.1
License:            GPL
License-File:       LICENSE
Author:             Soenke Hahn
Maintainer:         Henning Thielemann <haskell@henning-thielemann.de>
Homepage:           http://open-projects.net/~shahn/index.php?seite=code
Repository:         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.
Tested-With:        GHC==6.4.1, GHC==6.8.2
Cabal-Version:      >=1.2
Build-Type:         Simple
Data-Files:
   README, examples/SimpleSynth.hs


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

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

  Hs-Source-Dirs:     src
  Exposed-Modules:
      Sound.ALSA.Sequencer
  -- Other-Modules:
      Sound.ALSA.SequencerFFI
  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

-- needs Jack package
-- Executable: simplesynth
-- Hs-source-dirs:     src, .
-- GHC-Options:        -Wall -threaded
-- Extensions:         ForeignFunctionInterface
-- Extra-Libraries:    asound
-- Main-Is: examples/SimpleSynth.hs