From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJscKxMG3GCbUgEAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 07:50:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mJDYJhMG3GBfZgAAB5/wlQ (envelope-from ) for ; Wed, 30 Jun 2021 05:50:11 +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 187ABE18B for ; Wed, 30 Jun 2021 07:50:11 +0200 (CEST) Received: from localhost ([::1]:44262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyT6v-00089o-CH for larch@yhetil.org; Wed, 30 Jun 2021 01:50:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyT6o-00089c-Gg for guix-patches@gnu.org; Wed, 30 Jun 2021 01:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyT6o-0005fP-9K for guix-patches@gnu.org; Wed, 30 Jun 2021 01:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyT6o-0002X5-3Q for guix-patches@gnu.org; Wed, 30 Jun 2021 01:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49284] [PATCH] gnu: Add fheroes2 Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Jun 2021 05:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49284 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49284@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16250321759695 (code B ref -1); Wed, 30 Jun 2021 05:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2021 05:49:35 +0000 Received: from localhost ([127.0.0.1]:56279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyT6N-0002WJ-BS for submit@debbugs.gnu.org; Wed, 30 Jun 2021 01:49:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:59476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyT6M-0002WC-Jy for submit@debbugs.gnu.org; Wed, 30 Jun 2021 01:49:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyT6M-0007mv-Ba for guix-patches@gnu.org; Wed, 30 Jun 2021 01:49:34 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:37780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyT6K-0005Fz-ID for guix-patches@gnu.org; Wed, 30 Jun 2021 01:49:34 -0400 Received: by mail-lf1-x130.google.com with SMTP id q16so2876395lfr.4 for ; Tue, 29 Jun 2021 22:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=p+xjTm6XJJYikucCBvImuSiESKKrP/gtumYn375+xYE=; b=rWEUL4c6jFyznKhUWNlExNKaTliqfP3F4DKiYiWUqEmp0h+25o1B29fs+LEpw+Cvq4 KAr8Sz3Pa533MSh9tffdrjnd5wVigV82CpaJAxhUl+06T0TNp+zOd76BIcsreZDCp9v7 lqXJQkcHOxp32blnLTMEh9mneOMvcR9o2Q54rtiuVTnxxnHWCNX4YkDL1YluXG1jbqHm 1E4/JSQ30Pp4eb8SLJylmNilbc8UFjaIoex/utE8yLsFxG+RKQAOcJ4RcWGgK2M4Oaqp epz0+BMAe7BDt6WudCaGn5N3YjgPce5NyCXo9w8Gqdzz9TlHH1CPHqH+9JnM4knfd7DB kuxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=p+xjTm6XJJYikucCBvImuSiESKKrP/gtumYn375+xYE=; b=KjpO2gkpJXhkABfF94O5cRbDsAn+e+5aWCaLgGcmvcO5TX1f1Af70FnHpbRDHTGJpj gVXkRtwMcDUHwg+qHzwVXCejTBY1YypNHsZaKWHjdpjUQVRcZxpQBs7kd7U0T63AO2zL EWbGc5KPpAXffiMFQNtYi3cuHyaOUyNWyJJVx3ldCvdEW95khHu0IE4/AFoVSlzFbZYR bHur4BRjIMW9TAwSl1QhUZpq36I/JrrnSwvm7ksSTKFpuoo+0tYI0pFJWCGFl8FXM4IT mdTd8qaLcHRfNOUBbtFVxBcmGD+bQtb+yib5jkaB2m8dh8tWCOFavlGDxejzvlmJF/VJ bjLA== X-Gm-Message-State: AOAM5331Xu/0sBLAaiKUX8v2WOEReJmBR7Qg9gqkC/3Jy2bjKYt65n+W /FY/UEzVG2ZDjS6pDTXPe28pHu7mcDoVtw== X-Google-Smtp-Source: ABdhPJxDhI74MI0FJ0J71WylNNuXQwT0iOKSPl1n9RXBZ/zGUPFg0LdaXFL5iBOC3bn9BaKIyhNUrQ== X-Received: by 2002:ac2:4107:: with SMTP id b7mr2390357lfi.609.1625032170492; Tue, 29 Jun 2021 22:49:30 -0700 (PDT) Received: from ixy (109-252-117-164.nat.spd-mgts.ru. [109.252.117.164]) by smtp.gmail.com with ESMTPSA id i130sm1815396lfd.304.2021.06.29.22.49.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 22:49:29 -0700 (PDT) From: Andrew Tropin Date: Wed, 30 Jun 2021 08:49:28 +0300 Message-ID: <87h7hf52c7.fsf@trop.in> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::130; envelope-from=andrew@trop.in; helo=mail-lf1-x130.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625032211; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=p+xjTm6XJJYikucCBvImuSiESKKrP/gtumYn375+xYE=; b=gfJkUDEHq2/V7rlqF3XO86UGx3pnRNnDhChR+3oNasZrc8b6K4j1PRzy3WHoBu6T8FGgFx GlATjDLfnegW1FrPVuaJYuBE36BiW9lAc59tidRHq1KuT7N93o/H5W/89o8bJZ64drs4b+ 2MMbXWrDOvlT9p8w3iMZXgWpeE/3duVbBZ2M4ieeIAfQQgjSm7KJXugo6FRU08MQ1VeQmO ee30MAhK28jcEq0yQq4uROqycTCGDn+8v0N+xuM9LaELm/xpEqLSm+qZAaRArVD+nDeUeT WsetlPtySX/mGyXhzKcisw75Hvh5lUCjPVd8ZQQzwBw1SxvXNahWdjABjURv1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625032211; a=rsa-sha256; cv=none; b=i271nIVVfhcemtQpB23YVJCGdLNFwfUG/tnMZLhPA/J8lMk7nqXIqazuivFleF9s0uz+av oNdGO3bL+l4gdRQEYTqtJE11TWwiFlRuBiO7NHkt3gsooYI0Gn/FRp48M0xLYEMEl1sJ2B 7QRblIBf/Q9zxu9vpgKx2jjPrqG4rMFvPxlComYg1T+0T0c8DcazPw0yn+Tb5wKJmieYPK FD36vUEmnZErJ0FZADGNTHfIRrsP6eLUMbKlw/wA1OrtswD17F/4paC7ANkAFxk2UGOMTb e88VfM3fw7O0UXxdtJSrNaPjiuBd5VOC//7ovilKLxhwh058pMn9PMU8ezA+aA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=rWEUL4c6; dmarc=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-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=rWEUL4c6; dmarc=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-Migadu-Queue-Id: 187ABE18B X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2QdRDJ2DMoSz * gnu/packages/games.scm (fheroes2): New variable. --- There are no tests in the project, so they are disabled. gnu/packages/games.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 83cb738b9c..7a87123df3 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12511,3 +12511,33 @@ wreckage. You're stranded on a desert island and have to survive. In order to do so you need to explore the island, find food, build a shelter and try to get attention, so you get found.") (license license:cc-by4.0)))) + +(define-public fheroes2 + (package + (name "fheroes2") + (version "0.9.4") + (build-system cmake-build-system) + (arguments + `(#:tests? #f + #:make-flags '("FHEROES2_STRICT_COMPILATION=1" + "RELEASE=1"))) + (native-inputs + `(("gettext" ,gettext-minimal))) + (inputs + `(("zlib" ,zlib) + ("libpng" ,libpng) + ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ihhub/fheroes2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0a3xi3k7ngp0byhmg7wq22l1hix3jwr68prk2y6frqhzbfskrvyg")))) + (home-page "https://ihhub.github.io/fheroes2/") + (synopsis "Turn-based strategy game engine") + (description "Free implementation of Heroes of Might and Magic II (aka +HOMM2) game engine.") + (license license:gpl2))) -- 2.32.0