From patchwork Thu Feb 4 23:33:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 26913 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 A749327BC21; Thu, 4 Feb 2021 23:36:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham 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 B029D27BC20 for ; Thu, 4 Feb 2021 23:36:08 +0000 (GMT) Received: from localhost ([::1]:48212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7oAR-00077N-Qm for patchwork@mira.cbaines.net; Thu, 04 Feb 2021 18:36:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7oAM-00077D-79 for guix-patches@gnu.org; Thu, 04 Feb 2021 18:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7oAL-0001Pe-Vr for guix-patches@gnu.org; Thu, 04 Feb 2021 18:36:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7oAL-0008FG-RM for guix-patches@gnu.org; Thu, 04 Feb 2021 18:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46311] [PATCH] gnu: Add cockatrice. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Feb 2021 23:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46311 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46311@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161248170331618 (code B ref -1); Thu, 04 Feb 2021 23:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 23:35:03 +0000 Received: from localhost ([127.0.0.1]:42492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7o9O-0008Do-Jg for submit@debbugs.gnu.org; Thu, 04 Feb 2021 18:35:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:42336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7o9L-0008DQ-GF for submit@debbugs.gnu.org; Thu, 04 Feb 2021 18:35:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7o9L-0006yL-9v for guix-patches@gnu.org; Thu, 04 Feb 2021 18:34:59 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:46818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7o9G-0000w8-UY for guix-patches@gnu.org; Thu, 04 Feb 2021 18:34:58 -0500 Received: from localhost.localdomain (217-149-173-242.nat.highway.telekom.at [217.149.173.242]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DWvzB67Fyz3wL9 for ; Fri, 5 Feb 2021 00:34:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1612481686; bh=hG55vn5Do6te3/C9QfOEd5v1VFTM43Smswrrv6m1G9A=; h=From:To:Subject:Date; b=huz//iuRMfDJJxVDyjNwhZfAshccLM+Op7N2KBC1A2a2RGhlhvR6DApS0d2TxHJw1 U4xV6lCAEFOyVua4jbQPqyS9wEUkQDeexceUSlekrdlRw8si43rJDeKAoc7uRvk08M idyS88l1qK3Wfs0slOi2OzOER5cXR7Cw4DYZYsMs= From: Leo Prikler Date: Fri, 5 Feb 2021 00:33:53 +0100 Message-Id: <20210204233352.24166-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 * gnu/packages/games.scm (cockatrice): New variable. --- gnu/packages/games.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e3e18bf09e..953fd317ed 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -857,6 +857,52 @@ things far stranger and deadlier, and against the others like yourself, that want what you have.") (license license:cc-by-sa3.0))) +(define-public cockatrice + (let ((release-date "2021-01-26")) + (package + (name "cockatrice") + (version "2.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Cockatrice/Cockatrice") + (commit (string-append release-date "-Release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0q8ffcklb2b7hcqhy3d2f9kz9aw22pp04pc9y4sslyqmf17pwnz9")) + (modules '((guix build utils))) + (snippet + ;; Strip image URLs as they point towards non-free web services + '(substitute* "cockatrice/src/settings/downloadsettings.cpp" + (("downloadURLs.append\\(\".*\"\\);") ""))))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DWITH_SERVER=1" + "-DWITH_CLIENT=1" + "-DWITH_ORACLE=1" + "-DTEST=1"))) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (inputs + `(("protobuf" ,protobuf) + ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools) + ("qtwebsockets" ,qtwebsockets) + ("xz" ,xz) + ("zlib" ,zlib))) + (home-page "https://cockatrice.github.io") + (synopsis "Tabletop card game simulator") + (description "Cockatrice is an open-source, multiplatform program for +playing tabletop card games over a network. The program's server design +prevents users from manipulating the game for unfair advantage. The client +also provides a single-player mode, which allows users to brew while offline.") + (license license:gpl2)))) + (define-public corsix-th (package (name "corsix-th")