packages feed

OpenAL-1.6.0.0: OpenAL.cabal

name: OpenAL
version: 1.6.0.0
license: BSD3
license-file: LICENSE
maintainer: Sven Panne <svenpanne@gmail.com>, Stephen Blackheath <haskell.openal.stephen@blacksapphire.com>
bug-reports: https://github.com/haskell-openal/ALUT/issues
homepage: https://github.com/haskell-openal/ALUT
category: Sound
synopsis: A binding to the OpenAL cross-platform 3D audio API
description:
        A Haskell binding for the OpenAL cross-platform 3D audio API,
        appropriate for use with gaming applications and many other
        types of audio applications.
        .
        On Windows, this package works well with the \"OpenAL Soft\" binary
        distribution from <http://kcat.strangesoft.net/openal.html>. 
        Type \'cabal install --extra-lib-dirs=\<DIR\>\' where \<DIR\> is the
        directory where libOpenAL32.dll.a is located (must be an absolute path).
        Then rename soft_oal.dll to OpenAL32.dll and put it somewhere in
        the PATH. I found that c:\\Windows\\ worked.
        .
        This package has also been tested on GNU/Linux and iOS.
build-type: Simple
cabal-version:  >= 1.6
extra-source-files:
        README.md
        examples/test/TestDevice.hs

flag UseNativeWindowsLibraries
   description:
      When compiling under Windows, use the native libraries instead of e.g. the
      ones coming with Cygwin.

library
    exposed-modules:
            Sound.OpenAL,
            Sound.OpenAL.AL,
            Sound.OpenAL.AL.Attenuation,
            Sound.OpenAL.AL.BasicTypes,
            Sound.OpenAL.AL.Buffer,
            Sound.OpenAL.AL.Doppler,
            Sound.OpenAL.AL.Errors,
            Sound.OpenAL.AL.Extensions,
            Sound.OpenAL.AL.Listener,
            Sound.OpenAL.AL.Source,
            Sound.OpenAL.AL.StringQueries,
            Sound.OpenAL.ALC,
            Sound.OpenAL.ALC.BasicTypes,
            Sound.OpenAL.ALC.Capture,
            Sound.OpenAL.ALC.Context,
            Sound.OpenAL.ALC.Device,
            Sound.OpenAL.ALC.Errors,
            Sound.OpenAL.ALC.Extensions
    other-modules:
            Sound.OpenAL.AL.ALboolean,
            Sound.OpenAL.AL.BufferInternal,
            Sound.OpenAL.AL.Format,
            Sound.OpenAL.AL.PeekPoke,
            Sound.OpenAL.AL.QueryUtils,
            Sound.OpenAL.AL.SourceState,
            Sound.OpenAL.AL.String,
            Sound.OpenAL.ALC.ALCboolean,
            Sound.OpenAL.ALC.QueryUtils,
            Sound.OpenAL.ALC.String,
            Sound.OpenAL.Config,
            Sound.OpenAL.Constants
    build-depends: base >= 3 && < 5, OpenGL >= 2.9.0.0
    ghc-options: -Wall -O2
    if os(windows) && flag(UseNativeWindowsLibraries)
      extra-libraries: OpenAL32
    else
      if os(darwin) || os(ios)
        frameworks: OpenAL
      else
        extra-libraries: openal

source-repository head
  type: git
  location: https://github.com/haskell-openal/OpenAL