gameServer/hedgewars-server.cabal
author koda
Sun, 20 Mar 2016 03:08:51 -0400
changeset 11617 b7d5d75469ee
parent 10977 b2823ea26631
child 11843 8f730ba4ca3c
permissions -rw-r--r--
Move pixel format conversion from uVideoRec to AVWrapper This has several benefits, being in C-land allows us to better use libav API and avoid mixing memory allocated from Pascal. Also the C code for the conversion loop generated by GCC or Clang is probably more optimized than by Freepascal. Finally it will simplify code in the future if we are going to enable any other pixel format than yuv420p. Change the coefficients to improve color accuracy during conversion.

Name:                hedgewars-server
Version:             0.1
Synopsis:            hedgewars server
Description:         hedgewars server
Homepage:            http://www.hedgewars.org/
License:             GPL-2
Author:              unC0Rr
Maintainer:          unC0Rr@hedgewars.org
Category:            Game
Build-type:          Simple
Cabal-version:       >=1.10


Executable hedgewars-server
  main-is: hedgewars-server.hs

  default-language:    Haskell2010

  Build-depends:
    base >= 4.3,
    containers,
    vector,
    bytestring,
    bytestring-show,
    network >= 2.3,
    random,
    time,
    mtl >= 2,
    dataenc,
    hslogger,
    process,
    deepseq,
    utf8-string,
    SHA,
    entropy,
    zlib >= 0.5.3 && < 0.6

  if !os(windows)
    build-depends: unix

  ghc-options: -O2