summaryrefslogtreecommitdiff
path: root/gnu/packages/game-development.scm
diff options
context:
space:
mode:
authorAndy Tai <atai@atai.org>2026-02-06 23:32:18 -0800
committer宋文武 <iyzsong@member.fsf.org>2026-02-14 20:54:38 +0800
commita74e1277c970eb6b2754fe114e9f8228a0e6d40f (patch)
tree53efb3c7c8cf1cfcd2041b090353b27a961aff37 /gnu/packages/game-development.scm
parent3bcf57f353d901642fd3b16e9f8e4b1c1d48d6a0 (diff)
gnu: Add angelscript.
* gnu/packages/game-development.scm (angelscript): New variable. Closes: guix/guix#6194 Change-Id: Ib11291648ea427ccf168a0b231f40583bb6f20ec Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/game-development.scm')
-rw-r--r--gnu/packages/game-development.scm46
1 files changed, 45 insertions, 1 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 8e912f790b5..1d1ce8c474e 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -24,7 +24,7 @@
24;;; Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz> 24;;; Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz>
25;;; Copyright © 2020-2022, 2024-2025 James Smith <jsubuntuxp@disroot.org> 25;;; Copyright © 2020-2022, 2024-2025 James Smith <jsubuntuxp@disroot.org>
26;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech> 26;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
27;;; Copyright © 2021 Andy Tai <atai@atai.org> 27;;; Copyright © 2021, 2026 Andy Tai <atai@atai.org>
28;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> 28;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
29;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> 29;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
30;;; Copyright © 2022 dan <i@dan.games> 30;;; Copyright © 2022 dan <i@dan.games>
@@ -4128,6 +4128,50 @@ calculations and create complete applications.")
4128@uref{https://www.shlomifish.org/, Shlomi Fish's} projects.") 4128@uref{https://www.shlomifish.org/, Shlomi Fish's} projects.")
4129 (license license:expat)))) 4129 (license license:expat))))
4130 4130
4131(define-public angelscript
4132 (package
4133 (name "angelscript")
4134 (version "2.38.0")
4135 (source
4136 (origin
4137 (method url-fetch)
4138 (uri (string-append
4139 "https://www.angelcode.com/angelscript/sdk/files/angelscript_"
4140 version ".zip"))
4141 (sha256
4142 (base32 "0vrflpmj3ldfq96js45czkk4r6266bc570v2gpv7wc8hvay5sfxk"))))
4143 (build-system cmake-build-system)
4144 (outputs '("out" "doc"))
4145 (arguments
4146 (list
4147 #:tests? #f ;there are no tests
4148 #:configure-flags
4149 #~(list "-DBUILD_SHARED_LIBS=true")
4150 #:phases
4151 #~(modify-phases %standard-phases
4152 (add-after 'unpack 'chdir
4153 (lambda _
4154 (chdir "angelscript/projects/cmake")))
4155 (add-after 'install 'install-doc
4156 (lambda* (#:key outputs #:allow-other-keys)
4157 (chdir "../../../")
4158 (let ((docdir (string-append (assoc-ref outputs "doc")
4159 "/share/doc/anglescript")))
4160 (copy-recursively "docs" docdir)))))))
4161 (native-inputs (list unzip))
4162 (home-page "https://www.angelcode.com/angelscript/")
4163 (synopsis "Flexible cross-platform scripting library")
4164 (description
4165 "AngelScript is an cross-platform scripting library designed to allow
4166applications to extend their functionality through external scripts. It has
4167been designed from the beginning to be an easy to use component, both for the
4168application programmer and the script writer. It can call standard C functions
4169and C++ methods with little to no need for proxy functions. The application
4170registers the functions, objects, and methods that the scripts work with. The
4171same functions used by the application internally can be used by the scripting
4172engine, which eliminates the need to duplicate functionality.")
4173 (license license:zlib)))
4174
4131(define-public rinutils 4175(define-public rinutils
4132 (package 4176 (package
4133 (name "rinutils") 4177 (name "rinutils")