diff options
author | Timotej Lazar <timotej.lazar@araneo.si> | 2020-02-17 14:11:26 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-02-18 02:08:47 +0100 |
commit | 540d41d8d980f0e7de2ded3c7aab8ab16d967f3e (patch) | |
tree | 6a90f48ddbaf73cf80c459cb185d467103be801d | |
parent | fb31d11b91689e641fe1ad801bb0639b645c9955 (diff) | |
download | patches-540d41d8d980f0e7de2ded3c7aab8ab16d967f3e.tar patches-540d41d8d980f0e7de2ded3c7aab8ab16d967f3e.tar.gz |
gnu: Add surgescript.
* gnu/packages/game-development.scm (surgescript): New variable.
-rw-r--r-- | gnu/packages/game-development.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 6fa4fed74f..24527abae1 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -585,6 +585,34 @@ sounds from presets such as \"explosion\" or \"powerup\".") (home-page "http://www.drpetter.se/project_sfxr.html") (license license:expat))) +(define-public surgescript + (package + (name "surgescript") + (version "0.5.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alemart/surgescript.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13q81439zg1bn7gskligskjgcfq0rdapp6f3llmrlk48vnyq49s0")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + (let ((share (string-append (assoc-ref %outputs "out") "/share"))) + (list (string-append "-DICON_PATH=" share "/pixmaps") + (string-append "-DMETAINFO_PATH=" share "/metainfo"))) + #:tests? #f)) + (home-page "https://docs.opensurge2d.org") + (synopsis "Scripting language for games") + (description "@code{SurgeScript} is a dynamically typed object-oriented +scripting language designed for games. Each object is a state machine that +can be customized by attaching other objects. The language supports automatic +garbage collection and can be extended with plugins.") + (license license:asl2.0))) + (define-public physfs (package (name "physfs") |