packages feed

alsa-midi-0.4.0.1: alsa-midi.cabal

Name:               alsa-midi
Version:            0.4.0.1
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://code.haskell.org/~thielema/alsa-midi/
Category:           Sound, Music
Build-Type:         Simple
Synopsis:           Bindings for the ALSA sequencer API (MIDI stuff)
Description:
  Bindings for the ALSA sequencer API (MIDI stuff)
  .
  There are now the packages @alsa-pcm@ and @alsa-seq@
  that aim at a more complete interface to ALSA.
  Thus we will no longer maintain this package.
  .
  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.2,
    non-negative>=0.0.1 && <0.2
  If flag(splitBase)
    Build-Depends:
      array >=0.1 && <0.4,
      base >=2 && <5
  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