name:               mp
version:            0.2.1
cabal-version:      >=1.16
build-type:         Simple
author:             Piotr Borek <piotrborek@op.pl>
maintainer:         Piotr Borek <piotrborek@op.pl>
license:            GPL
license-file:       LICENSE
synopsis:           Music player for linux.
description:        Music player for linux.
category:           Sound
homepage:           http://code.google.com/p/linux-music-player

data-files:
  gen_gettext
  i18n/messages.pot
  i18n/pl.po
  i18n/pl/LC_MESSAGES/mp.mo

executable mp
  hs-source-dirs:   src
  main-is:          Mp/Main.hs
  build-depends:    base (>= 4 && < 5), vty-ui == 1.7.1, vty < 5, text,
                    directory (>= 1.2 && < 1.3), ConfigFile (>= 1.1 && < 1.2),
                    MissingH (>= 1.2 && < 1.3), filepath (>= 1.3 && < 1.4),
                    daemons (>= 0.2 && < 0.3), bytestring, network (>= 2.6 && < 2.7),
                    gstreamer (>= 0.12.5.0 && < 0.13), glib (>= 0.12.5.0 && < 0.13),
                    unordered-containers (>= 0.2 && < 0.3), binary (>= 0.7 && < 0.8),
                    hgettext (>= 0.1 && < 0.2), setlocale, unix, random, utf8-string,
                    mtl
  default-language: Haskell2010
  ghc-options:      -Wall -O2 -threaded

  other-modules:
    Mp.UI.PlaylistPage
    Mp.UI.Menu
    Mp.UI.QueuePage
    Mp.UI.Main
    Mp.UI.StatusBar
    Mp.UI.PlaylistState
    Mp.UI.BrowserPage
    Mp.UI.HelpPage
    Mp.UI.EditBar
    Mp.Player.GstPlayer
    Mp.Player.ServerState
    Mp.Player.Daemon
    Mp.Player.Server
    Mp.Player.Client
    Mp.Configuration.ConfigurationFile
    Mp.Configuration.Configuration
    Mp.Utils.Utils
    Mp.Utils.Exception
    Mp.Utils.I18N
    Mp.Utils.Shuffle
    Mp.Utils.Colors
    Mp.Utils.Network
