From patchwork Fri Oct 1 20:32:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 33535 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E7A8027BBE3; Fri, 1 Oct 2021 21:33:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A025B27BBE1 for ; Fri, 1 Oct 2021 21:33:17 +0100 (BST) Received: from localhost ([::1]:43062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWPDY-0004Ea-PH for patchwork@mira.cbaines.net; Fri, 01 Oct 2021 16:33:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWPDK-0004EQ-J5 for guix-patches@gnu.org; Fri, 01 Oct 2021 16:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWPDK-00053X-BP for guix-patches@gnu.org; Fri, 01 Oct 2021 16:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWPDK-0000qZ-8z for guix-patches@gnu.org; Fri, 01 Oct 2021 16:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50952] [PATCH] gnu: Add naev. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Oct 2021 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50952 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50952@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16331203323196 (code B ref -1); Fri, 01 Oct 2021 20:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2021 20:32:12 +0000 Received: from localhost ([127.0.0.1]:57459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWPCW-0000pU-2Z for submit@debbugs.gnu.org; Fri, 01 Oct 2021 16:32:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:46452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWPCU-0000pM-BI for submit@debbugs.gnu.org; Fri, 01 Oct 2021 16:32:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWPCU-00049m-3E for guix-patches@gnu.org; Fri, 01 Oct 2021 16:32:10 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:39047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWPCR-0004J7-Jd for guix-patches@gnu.org; Fri, 01 Oct 2021 16:32:09 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E976420007 for ; Fri, 1 Oct 2021 20:32:03 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 01 Oct 2021 22:32:02 +0200 Message-ID: <87mtnso5a5.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Here comes a patch for the Naev game. Regards, From 00610d682ebf6653144d63e4cd09e9d896f3bf5c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 1 Oct 2021 22:29:19 +0200 Subject: [PATCH] gnu: Add naev. * gnu/packages/games.scm (naev): New variable. --- gnu/packages/games.scm | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index dabbbe6ea1..b3ea7de5dd 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7998,6 +7998,66 @@ ncurses for text display.") (home-page "http://frotz.sourceforge.net") (license license:gpl2+))) +(define-public naev + (package + (name "naev") + (version "0.8.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/naev/naev") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02rk2fv2nhx5xsi0cariisamab3dpncwps4q3i3ki0y27xpwxzfx")))) + (build-system meson-build-system) + (arguments + ;; XXX: Do not add debugging symbols, which cause the build to fail. + `(#:configure-flags (list "--buildtype=release") + #:tests? #f ;sole test fails with a missing "/dev/dri" error + #:meson ,meson-0.55)) + (native-inputs + `(("gettext" ,gettext-minimal) + ("pkg-config" ,pkg-config))) + (inputs + `(("freetype" ,freetype) + ("glpk" ,glpk) + ("libpng" ,libpng) + ("libvorbis" ,libvorbis) + ("libwebp" ,libwebp) + ("libxml2" ,libxml2) + ("luajit" ,luajit) + ("openal" ,openal) + ("openblas" ,openblas) + ("physfs" ,physfs) + ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer))) + ("suitesparse" ,suitesparse))) + (home-page "https://naev.org/") + (synopsis "Game about space exploration, trade and combat") + (description + "Naev is a 2d action/rpg space game that combines elements from +the action, RPG and simulation genres. You pilot a spaceship from +a top-down perspective, and are more or less free to do what you want. +As the genre name implies, you’re able to trade and engage in combat +at will. Beyond that, there’s an ever-growing number of story-line +missions, equipment, and ships; even the galaxy itself grows larger +with each release. For the literacy-inclined, there are large amounts +of lore accompanying everything from planets to equipment.") + (license (list license:gpl3 + license:public-domain + license:expat ;edtaa3func.c + license:bsd-2 ;distance_field.c + license:bsd-3 ;perlin.c + ;; Assets. + license:silofl1.1 + license:gpl2+ + license:cc0 + license:cc-by3.0 + license:cc-by-sa3.0 + license:cc-by4.0 + license:cc-by-sa4.0)))) + (define-public frotz-dumb-terminal (package (name "frotz-dumb-terminal") -- 2.33.0