root/freeciv.scm

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(define-module (hidamari-blue freeciv)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'l:))
  #:use-module (gnu packages curl)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages cyrus-sasl))

;;; TODO this source uses bundled lua5.2 sources
;;; figure out how to build with sytem lua5.2
(define-public freeciv
  (package
   (name "freeciv")
   (version "2.5.4")
   (source (origin
            (method url-fetch)
            (uri (string-append "http://download.gna.org/freeciv/stable/freeciv-" version
                                ".tar.bz2"))
            (sha256
             (base32
              "0jv3wv15b9ddd30pan5i6qxfdkx7vs31b80xmblzilnhgw2fyr4y"))))
   (build-system gnu-build-system)
   (inputs `(("gtk+3" ,gtk+)
             ("libcurl" ,curl)
             ("zlib" ,zlib)
             ("openssl" ,openssl)
             ("sasl" ,cyrus-sasl)))
   (native-inputs `(("pkg-config" ,pkg-config)))
   (synopsis "Freeciv is a Free and Open Source empire-building strategy game
 inspired by the history of human civilization.")
   (description "Freeciv is a free turn-based multiplayer strategy game, in which each player becomes the leader of a civilization, fighting to obtain the ultimate goal:
To become the greatest civilization.


Players of the Civilization® series (originally by Microprose®) should feel at home, since one aim of Freeciv is to have optional modes (called rulesets) with compatible rules.

Freeciv is maintained by an international team of coders and enthusiasts, and is easily one of the most fun and addictive network or individual-versus-computer video games out there!

That also means it has very extensive multilanguage support, something rare in games.")
   (home-page "http://freeciv.org")
   (license l:gpl2)))