summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-09-14 19:08:43 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-14 19:08:44 +0200
commit64d10993ef5f9516f9c259570de8aba7c5b2d2e1 (patch)
treee9efb3e7fff0de448076cfb7ebd72fc97ddeee02 /gnu
parent065ffa8085108dfca9ad921a8a7f458473e61d0e (diff)
gnu: Remove warsow-qfusion.
* gnu/packages/game-development.scm (warsow-qfusion): Delete variable. Fixes: guix/guix#1911 Change-Id: Ibad0428d559556ed3fedc5ae99702222d0dafa98
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/game-development.scm86
1 files changed, 0 insertions, 86 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 77c8af3470b..12287be3582 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3440,92 +3440,6 @@ developers providing an advanced true color console, input, and lots of other
3440utilities frequently used in roguelikes.") 3440utilities frequently used in roguelikes.")
3441 (license license:bsd-3))) 3441 (license license:bsd-3)))
3442 3442
3443(define-public warsow-qfusion
3444 ;; As of 2020-04-09, the latest stable version 2.1.0 is deprecated.
3445 ;; The 2.5 beta as published on the homepage is commit
3446 ;; c4de15df559410aff0ca6643724e24cddb0ecbbd
3447 (let ((commit "c4de15df559410aff0ca6643724e24cddb0ecbbd"))
3448 (package
3449 (name "warsow-qfusion")
3450 (version (git-version "2.5" "1" commit)) ; 2.5-beta
3451 (source (origin
3452 (method git-fetch)
3453 (uri (git-reference
3454 (url "https://github.com/Warsow/qfusion/")
3455 (commit commit)
3456 (recursive? #t)))
3457 (file-name (git-file-name name version))
3458 (sha256
3459 (base32
3460 "0xv2yycr43p3xmq7lm6j6zb3cpcr6w00x7qg918faq0mw9j7v48g"))
3461 ;; Issue reported here: https://github.com/Warsow/qfusion/issues/46
3462 (patches (search-patches "warsow-qfusion-fix-bool-return-type.patch"))
3463 (modules '((guix build utils)))
3464 (snippet '(begin
3465 (delete-file-recursively "platforms")
3466 (delete-file-recursively "debian")
3467 (delete-file-recursively "libsrcs")
3468 #t))))
3469 (build-system cmake-build-system)
3470 (arguments
3471 `(#:tests? #f ; No tests.
3472 #:configure-flags '("-DQFUSION_GAME=Warsow")
3473 #:modules
3474 ((guix build utils)
3475 (guix build cmake-build-system)
3476 (ice-9 match))
3477 #:phases
3478 (modify-phases %standard-phases
3479 (add-after 'unpack 'change-to-build-dir
3480 (lambda _
3481 (chdir "source")
3482 #t))
3483 (add-after 'install 'really-install
3484 (lambda* (#:key outputs system #:allow-other-keys)
3485 (let ((arch (match system
3486 ("x86_64-linux" "x86_64")
3487 ("i686-linux" "i386")))
3488 (out (assoc-ref outputs "out")))
3489 (install-file (string-append "../source/build/basewsw/libgame_"
3490 arch ".so")
3491 (string-append out "/lib/"))
3492 (install-file (string-append "../source/build/libui_" arch ".so")
3493 (string-append out "/lib/"))
3494 (for-each
3495 (lambda (file)
3496 (install-file file (string-append out "/bin/")))
3497 (append (find-files "../source/build" "warsow")
3498 (find-files "../source/build" "wsw_server."))))
3499 #t)))))
3500 (inputs
3501 `(("alsa-lib" ,alsa-lib)
3502 ("curl" ,curl)
3503 ("freetype" ,freetype)
3504 ("ffmpeg" ,ffmpeg-4)
3505 ("libjpeg" ,libjpeg-turbo)
3506 ("libogg" ,libogg)
3507 ("libpng" ,libpng)
3508 ("libtheora" ,libtheora)
3509 ("libvorbis" ,libvorbis)
3510 ("mesa" ,mesa)
3511 ("openal" ,openal)
3512 ("pulseaudio" ,pulseaudio)
3513 ("qtbase" ,qtbase-5)
3514 ("qtdeclarative-5" ,qtdeclarative-5)
3515 ("sdl2" ,sdl2)
3516 ("uuid.h" ,util-linux "lib")
3517 ("zlib" ,zlib)))
3518 (native-inputs
3519 (list pkg-config))
3520 (home-page "https://github.com/Warsow/qfusion")
3521 (supported-systems '("i686-linux" "x86_64-linux"))
3522 (synopsis "Warsow's fork of qfusion, the id Tech 2 derived game engine")
3523 (description
3524 "This package contains the game engine of Warsow, a first-person
3525shooter video game. The engine is based on qfusion, the id Tech 2 derived
3526game engine. id Tech 2 is the engine originally behind Quake 2.")
3527 (license license:gpl2+))))
3528
3529(define-public dhewm3 3443(define-public dhewm3
3530 (package 3444 (package
3531 (name "dhewm3") 3445 (name "dhewm3")