From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:52334) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3gCt-0000E2-QU for guix-patches@gnu.org; Mon, 17 Feb 2020 08:13:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3gCs-0001ou-Ip for guix-patches@gnu.org; Mon, 17 Feb 2020 08:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60382) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3gCs-0001oq-FA for guix-patches@gnu.org; Mon, 17 Feb 2020 08:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3gCs-0001fJ-A2 for guix-patches@gnu.org; Mon, 17 Feb 2020 08:13:02 -0500 Subject: [bug#39641] [PATCH 1/2] gnu: Add surgescript. References: <875zg54c6z.fsf@araneo.si> In-Reply-To: <875zg54c6z.fsf@araneo.si> Resent-Message-ID: From: Timotej Lazar Date: Mon, 17 Feb 2020 14:11:26 +0100 Message-Id: <20200217131127.28120-1-timotej.lazar@araneo.si> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39641@debbugs.gnu.org Cc: Timotej Lazar * gnu/packages/game-development.scm (surgescript): New variable. --- gnu/packages/game-development.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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") -- 2.25.0