add torque3d, update khanat
more/packages/games.scm
| 25 | 25 | #:use-module (guix build-system trivial) | |
| 26 | 26 | #:use-module ((guix licenses) #:prefix license:) | |
| 27 | 27 | #:use-module (gnu packages) | |
| 28 | + | #:use-module (gnu packages assembly) | |
| 28 | 29 | #:use-module (gnu packages audio) | |
| 29 | 30 | #:use-module (gnu packages base) | |
| 30 | 31 | #:use-module (gnu packages boost) | |
… | |||
| 165 | 166 | (method git-fetch) | |
| 166 | 167 | (uri (git-reference | |
| 167 | 168 | (url "https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-opennel-code.git") | |
| 168 | - | (commit "0ca90c49a5e1e6f8865ef15517bd25e388a2db96"))) | |
| 169 | + | ;(commit "0ca90c49a5e1e6f8865ef15517bd25e388a2db96"))) | |
| 170 | + | (commit "302ee7e20ea93caded5d46637918ba0092f207fd"))) | |
| 169 | 171 | (sha256 | |
| 170 | 172 | (base32 | |
| 171 | - | "0rfrk43ya8mx576ycs4rln67kdrci37ryixk7abf1cqjdrz7a883")))) | |
| 173 | + | ;"1rfrk43ya8mx576ycs4rln67kdrci37ryixk7abf1cqjdrz7a883")))) | |
| 174 | + | "1w0bhspsgf3dg33xdyypc4rm935n6g5d7shid92jf4j6jb0cjahh")))) | |
| 172 | 175 | (build-system cmake-build-system) | |
| 173 | 176 | (inputs | |
| 174 | 177 | `(("boost" ,boost) | |
… | |||
| 198 | 201 | (modify-phases %standard-phases | |
| 199 | 202 | (add-before 'configure 'chdir | |
| 200 | 203 | (lambda _ | |
| 201 | - | (chdir "code")))))) | |
| 204 | + | (chdir "code"))) | |
| 205 | + | (add-after 'install 'link-khanat | |
| 206 | + | (lambda* (#:key outputs #:allow-other-keys) | |
| 207 | + | (let* ((out (assoc-ref outputs "out")) | |
| 208 | + | (game (string-append out "/games/khanat_client")) | |
| 209 | + | (bin (string-append out "/bin/khanat_client"))) | |
| 210 | + | (symlink game bin))))))) | |
| 202 | 211 | (home-page "https://khaganat.net/") | |
| 203 | 212 | (synopsis "") | |
| 204 | 213 | (description "") | |
… | |||
| 291 | 300 | emojis. Emojicode is a straightforward language to learn, whatever background | |
| 292 | 301 | you have.") | |
| 293 | 302 | (license license:artistic2.0))) | |
| 303 | + | ||
| 304 | + | (define-public torque3d | |
| 305 | + | (package | |
| 306 | + | (name "torque3d") | |
| 307 | + | (version "3.10.1") | |
| 308 | + | (source (origin | |
| 309 | + | (method url-fetch) | |
| 310 | + | (uri (string-append "https://github.com/GarageGames/Torque3D/archive/v" | |
| 311 | + | version ".tar.gz")) | |
| 312 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 313 | + | (sha256 | |
| 314 | + | (base32 | |
| 315 | + | "0qxaybdmir90ynfqs7l45di7vh0xa619abq53l9avj6yycihgw8b")))) | |
| 316 | + | (build-system cmake-build-system) | |
| 317 | + | (arguments | |
| 318 | + | `(#:configure-flags | |
| 319 | + | (list "-DTORQUE_APP_NAME=Torque3D") | |
| 320 | + | #:tests? #f)) | |
| 321 | + | (inputs | |
| 322 | + | `(("gtk+" ,gtk+) | |
| 323 | + | ("libxft" ,libxft) | |
| 324 | + | ("openal" ,openal))) | |
| 325 | + | (native-inputs | |
| 326 | + | `(("nasm" ,nasm) | |
| 327 | + | ("pkg-config" ,pkg-config))) | |
| 328 | + | (home-page "http://torque3d.org/") | |
| 329 | + | (synopsis "Game engine") | |
| 330 | + | (description "") | |
| 331 | + | (license license:expat))) | |