packages feed

pulseaudio-0.0.1.0: pulseaudio.cabal

-- Initial pulseaudio.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                pulseaudio

-- The package version.  See the Haskell package versioning policy (PVP) 
-- for standards guiding when and how versions should be incremented.
-- https://wiki.haskell.org/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.0.1.0

-- A short (one-line) description of the package.
synopsis:            A low-level (incomplete) wrapper around the pulseaudio client asynchronous api

-- A longer description of the package.
description:         
  This package mainly exists, because I wanted to query the current system
  volume from the pulse audio server.
  .
  Doing this required me to build at least the core of the pulse api.
  .
  This package is provided as is, with very little testing and only a small
  subset of the pulse api implemented.
  Expanding this package *should* be rather easy. At least for query/control.
  If you are interested in doing this, but don't know how, feel free to contact me.
  .
  .
  In package is a bit unrefined and rough. If you have better structure for
  modules feel free to reorganize them and making a PR. This also means, don't
  see this structur as fixed yet, it may change if someone has a better idea.

-- The license under which the package is released.
license:             LGPL-3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Markus Ongyerth

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          ongy@ongy.net

cabal-version:       >=1.10

-- A copyright notice.
-- copyright:           

category:            Sound

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a 
-- README.
extra-source-files:  ChangeLog.md

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10

Source-repository head
  type:       git
  location:   https://github.com/ongy/pulseaudio


executable pulse-test
  buildable:           False
  -- .hs or .lhs file containing the Main module.
  main-is:             Test.hs
  hs-source-dirs:      bin

  -- Modules included in this executable, other than Main.
  -- other-modules:

  other-modules: 

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.6.0.1 && <5, pulseaudio

  -- Directories containing source files.
  -- hs-source-dirs:

  -- Base language which the package is written in.
  default-language:    Haskell2010

  ghc-options:         -Wall

  extra-libraries:     pulse

library
  -- Modules exported by the library.
  exposed-modules:      Sound.Pulse.Context
                       ,Sound.Pulse.Mainloop
                       ,Sound.Pulse.Mainloop.Simple
                       ,Data.Time
                       ,Sound.Pulse.Sinkinfo
                       ,Sound.Pulse.ChannelPosition
                       ,Sound.Pulse.SampleSpec
                       ,Sound.Pulse.Subscribe
                       ,Sound.Pulse.Operation
                       ,Sound.Pulse.Serverinfo
                       ,Sound.Pulse.Volume


  
  -- Modules included in this library but not exported.
  other-modules:        Data.Time.Internal
                       ,Sound.Pulse.Userdata
                       ,Sound.Pulse.Def
  

  
  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:    
  
  -- Other library packages from which modules are imported.
  build-depends:       base >=4.6 && <4.10
                      ,unix
                      ,stm
                      ,containers
  
  -- Directories containing source files.
  hs-source-dirs:      src
  
  -- Base language which the package is written in.
  default-language:    Haskell2010
  
  ghc-options:         -Wall