From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wAS2NJlewV5RRAAA0tVLHw (envelope-from ) for ; Sun, 17 May 2020 15:56:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uNOJMJlewV4wRwAA1q6Kng (envelope-from ) for ; Sun, 17 May 2020 15:56:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A06E940143 for ; Sun, 17 May 2020 15:56:09 +0000 (UTC) Received: from localhost ([::1]:57564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaLe4-00016I-Ab for larch@yhetil.org; Sun, 17 May 2020 11:56:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaLe0-00012u-0Q for guix-patches@gnu.org; Sun, 17 May 2020 11:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaLdz-0007AU-Mu for guix-patches@gnu.org; Sun, 17 May 2020 11:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaLdz-0005dE-LY for guix-patches@gnu.org; Sun, 17 May 2020 11:56:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41365] [PATCH 5/5] gnu: Add superstarfighter. Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 May 2020 15:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41365 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41365@debbugs.gnu.org Cc: Timotej Lazar Received: via spool by 41365-submit@debbugs.gnu.org id=B41365.158973095821616 (code B ref 41365); Sun, 17 May 2020 15:56:03 +0000 Received: (at 41365) by debbugs.gnu.org; 17 May 2020 15:55:58 +0000 Received: from localhost ([127.0.0.1]:44388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaLdt-0005cL-VJ for submit@debbugs.gnu.org; Sun, 17 May 2020 11:55:58 -0400 Received: from araneo.si ([90.157.193.204]:49476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaLdq-0005bQ-Hi for 41365@debbugs.gnu.org; Sun, 17 May 2020 11:55:55 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id b6c435b6 for <41365@debbugs.gnu.org>; Sun, 17 May 2020 15:55:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20180623; bh=yoNjZkluW1FkzKbIs+Ksa Ef2LYI=; b=enHC+7+5PMU+paQlTpBuuCDeRT3xQru98pTSusSOnoNisPcOBuAUE LnvXZEMTKOmtawGsDKvFkkWPcIM6gs4QUP0xNmU3EpqfT4NZOv6QhqLFQsXdDeQv a5vAA/hBqetCdW/4fwK7uRXd5JYzay0HAvXu7GaIAyJqwd3EnK33b2Y7uLDasjC0 hiw4Uuq9WSDDEGr6iSbWlIPpqewyYucWdD8j+D0DtNvzRJJ2GTfc6Wc3VcBXI6RA F7Kw2atYnA4QryDR3SLw+R8V9bbIzw9B2h1J16q4jjCulHW+aUhSSPFusQA2yeaO Q+b+tRzAofxQpVg3/Uo+hAJBWkP+th2cQ== Received: by araneo.si (OpenSMTPD) with ESMTPSA id db324563 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 17 May 2020 15:55:43 +0000 (UTC) From: Timotej Lazar Date: Sun, 17 May 2020 17:55:20 +0200 Message-Id: <20200517155520.26183-5-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517155520.26183-1-timotej.lazar@araneo.si> References: <20200517155520.26183-1-timotej.lazar@araneo.si> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=araneo.si header.s=20180623 header.b=enHC+7+5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=araneo.si (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: eMD8TusQCqeW * gnu/packages/games.scm (superstarfighter): New variable. --- gnu/packages/games.scm | 75 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 177436e6ec..b893ba8cc4 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1733,6 +1733,81 @@ can be explored and changed freely.") license:gpl3+ license:silofl1.1)))) +(define-public superstarfighter + (package + (name "superstarfighter") + (version "0.6.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/notapixelstudio/superstarfighter.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fly63yf5ls1xwm15if4lxwy67wi84k4gvjllljpykrl18vw2y0y")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (chdir "godot") + (setenv "HOME" (getcwd)) + (with-output-to-file "export_presets.cfg" + (lambda () + (display + "[preset.0] +name=\"Guix\" +platform=\"Linux/X11\" +runnable=true +[preset.0.options]"))) + #t)) + (replace 'build + (lambda _ + (let ((godot (assoc-ref %build-inputs "godot-headless"))) + (invoke (string-append godot "/bin/godot_server") + "--export-pack" "Guix" + "superstarfighter.pck" "project.godot")) + #t)) + (replace 'install + (lambda _ + (let* ((out (assoc-ref %outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share/superstarfighter")) + (icons (string-append out "/share/icons/hicolor/256x256/apps"))) + (install-file "superstarfighter.pck" share) + (mkdir-p bin) + (call-with-output-file (string-append bin "/superstarfighter") + (lambda (port) + (format port "#!/bin/sh +exec ~a/bin/godot --main-pack ~a/superstarfighter.pck" + (assoc-ref %build-inputs "godot") + share) + (chmod port #o755))) + (mkdir-p icons) + (copy-file "icon.png" (string-append icons "/" ,name ".png")) + (make-desktop-entry-file + (string-append out "/share/applications/" ,name ".desktop") + #:name "SuperStarfighter" + #:comment "Fast-paced arcade combat game" + #:exec ,name + #:icon ,name + #:categories '("Game" "ArcadeGame"))) + #t))))) + (native-inputs + `(("godot-headless" ,godot "headless"))) + (inputs + `(("godot" ,godot))) + (home-page "https://notapixel.itch.io/superstarfighter") + (synopsis "Fast-paced local multiplayer arcade game") + (description "In SuperStarfighter, up to four local players compete in a +2D arena with fast-moving ships and missiles. Different game types are +available, as well as a single-player mode with AI-controlled ships.") + (license (list license:expat ; game + license:silofl1.1)))) ; fonts + (define-public xshogi (package (name "xshogi") -- 2.26.2