gameServer/hedgewars-server.cabal
author koda
Sun, 20 Mar 2016 03:08:51 -0400
changeset 11612 b7d5d75469ee
parent 10977 b2823ea26631
child 11838 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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     1
Name:                hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     2
Version:             0.1
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     3
Synopsis:            hedgewars server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     4
Description:         hedgewars server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     5
Homepage:            http://www.hedgewars.org/
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     6
License:             GPL-2
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     7
Author:              unC0Rr
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     8
Maintainer:          unC0Rr@hedgewars.org
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     9
Category:            Game
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    10
Build-type:          Simple
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    11
Cabal-version:       >=1.10
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    12
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    13
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    14
Executable hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    15
  main-is: hedgewars-server.hs
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    16
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    17
  default-language:    Haskell2010
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    18
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    19
  Build-depends:
5077
7915668502a6 Some fixes. Can't reproduce ghosts now.
unc0rr
parents: 5037
diff changeset
    20
    base >= 4.3,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    21
    containers,
7751
8c7f5c43ea5e Switch to vector library for arrays
unc0rr
parents: 6191
diff changeset
    22
    vector,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    23
    bytestring,
5030
42746c5d4a80 Changed the standard show function to Text.Show.ByteString, and misc.
EJ <eivind.jahren@gmail.com>
parents: 4974
diff changeset
    24
    bytestring-show,
5077
7915668502a6 Some fixes. Can't reproduce ghosts now.
unc0rr
parents: 5037
diff changeset
    25
    network >= 2.3,
9065
236710128077 add 'random' dependency to server .cabal file (please test)
koda
parents: 7751
diff changeset
    26
    random,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    27
    time,
5037
1edc06d2247c Fix ghost players (used Prelude.catch instead of Control.Exception.catch)
unc0rr
parents: 5030
diff changeset
    28
    mtl >= 2,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    29
    dataenc,
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    30
    hslogger,
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    31
    process,
6191
190a8e5d9956 Case-insensitive comparison of nicks
unc0rr
parents: 5086
diff changeset
    32
    deepseq,
10076
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    33
    utf8-string,
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    34
    SHA,
10092
a92a4ba39a79 Fix build
unc0rr
parents: 10076
diff changeset
    35
    entropy,
10977
b2823ea26631 Fix building hedgewars-server
koda
parents: 10258
diff changeset
    36
    zlib >= 0.5.3 && < 0.6
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    37
10258
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    38
  if !os(windows)
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    39
    build-depends: unix
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    40
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    41
  ghc-options: -O2