From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ueDoEklXhGBIKQEAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 19:37:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0CJpDUlXhGBDSgAAbx9fmQ (envelope-from ) for ; Sat, 24 Apr 2021 17:37:13 +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 A5F9A2EA85 for ; Sat, 24 Apr 2021 19:37:12 +0200 (CEST) Received: from localhost ([::1]:34826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laLXA-0005Sw-7T for larch@yhetil.org; Sat, 24 Apr 2021 12:53:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laLK6-0001zK-OA for guix-patches@gnu.org; Sat, 24 Apr 2021 12:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laLK6-0001qF-Ft for guix-patches@gnu.org; Sat, 24 Apr 2021 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laLK6-0001Xq-DF for guix-patches@gnu.org; Sat, 24 Apr 2021 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47997] [PATCH 2/2] gnu: Add openage. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Apr 2021 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47997@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 47997-submit@debbugs.gnu.org id=B47997.16192823745895 (code B ref 47997); Sat, 24 Apr 2021 16:40:02 +0000 Received: (at 47997) by debbugs.gnu.org; 24 Apr 2021 16:39:34 +0000 Received: from localhost ([127.0.0.1]:41362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLJe-0001X0-4N for submit@debbugs.gnu.org; Sat, 24 Apr 2021 12:39:34 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLJb-0001Wk-Hl for 47997@debbugs.gnu.org; Sat, 24 Apr 2021 12:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2QRiF6wo2HP0EyK4So7NzdlE1VmZCuj5t3/x1scw+dg=; b=KP22lTky7Jrcj9Ifm4sBbLHy51 dswlTFog8OtWvswX1ykb/yKnqLgqoxCnqgSpovqvtM7KVfK8iBpaxLiPPCFY7O1FsBqJq+U2Dk5V+ KdlTFuGhG+psky5MRp/ddhMsix3yL7KF5gPlwNZiA5cGAU9MZR8DVLyPxZokogrw2IuetowwuzjG3 VEOGEe0lI71sirZ7YBiUUCr5Cue3xCSmtJEw/7TLvzcjYsDqUsRaXEkUwW2YZ5ts2Bi/YwYnG1bpt dDwpCBlLqW0UkjLZZSwRemAECe/biUV3tbLrdjJyt6cyVE+d2X0UW5L8EWMWvVZVOkHSu9v8QHZob IsTajJ0w==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1laLJY-000fpr-V2; Sat, 24 Apr 2021 22:09:29 +0530 From: Arun Isaac Date: Sat, 24 Apr 2021 22:09:26 +0530 Message-Id: <20210424163926.22301-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210424163926.22301-1-arunisaac@systemreboot.net> References: <20210424163926.22301-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1619285832; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2QRiF6wo2HP0EyK4So7NzdlE1VmZCuj5t3/x1scw+dg=; b=o0IrWOMjZlNhYRJy0SWKd1Y9DnQHsAbwsJ5av1UH+kVb3dKi/Cgoj413LL4rKbalP51iwj 4+nIu7G1xJYlU18au13rgfvYMzH+Lqsmz3IK0hNFRnWud5xKw4Fu5POe/x4VP0ZbVs3Jda q1DZS6qcaARQN5BP4M0+F9quSBSrytVizbSBnePoC4o3ReQIesi3mKjqo9JaqK+njjk5TC jS5t3/fIfc5IW2b47nMQEQegmU48kxnp7v5N1xRVZUZuL81BNeIHU1ATc19x5x+aa5/VY4 9KgBn2ILOPOPCUCP2/XBhD079a7Cqs2gX4XaZqYLoGwPi3NvD1HPsjyrTXft+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619285832; a=rsa-sha256; cv=none; b=Bitp/F0e3/ubtk4wrRPX3XFlvCTtiWFtqVTiWCtv9/kWW8PzDCMiubbatxX7ku91uOyCuE IqecL6nxAYo/Q6KdXJmXojfW60OR3DdqOPFruTiN6w08WKe+ezXjM0sNna5u/CGbVGk91l nw206GXzo0YyJHNWYcCGE6lraNnWF3EdI+WuHm7tcbbUNBuENbVEnLh1sJ70F0gEat9pEk TRkZy/0yLZNyyc6UCBRsbf2iNOV8HUsEQY2KdI+LTXq6ghCuX8Ou2UthG5JiLLPu2ABC1z FUVih2jUd+uoa9eCFiwmF7VFOIC+gMlSlpaYZOotkIDezw6+Z43c0tEw6NHqsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=KP22lTky; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (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-Migadu-Spam-Score: 5.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=KP22lTky; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (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-Migadu-Queue-Id: A5F9A2EA85 X-Spam-Score: 5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5uWqs9mta9bW * gnu/packages/games.scm (openage): New variable. --- gnu/packages/games.scm | 73 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 4d565395ee..9f4ac40507 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12450,3 +12450,76 @@ available.") objects with key-value pairs in a database with the key idea that changes in a parent affect all children. The main focus is readability and moddability.") (license license:lgpl3+))) + +(define-public openage + (package + (name "openage") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/SFTtech/openage") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "051hy0s0crdavaghwzv9airq5yrhmk2a6b3ckc7dhr1851yanynp")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + (list (string-append "-DCMAKE_PY_INSTALL_PREFIX=" + %output "/lib/python" + ,(version-major+minor (package-version python)) + "/site-packages") + (string-append "-DGLOBAL_CONFIG_DIR=" %output "/etc/openage")) + #:modules ((guix build cmake-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils)) + #:imported-modules (,@%cmake-build-system-modules + (guix build python-build-system)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-python + (assoc-ref python:%standard-phases 'wrap)) + (add-after 'wrap-python 'wrap-qt + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") "/bin/openage") + `("QML2_IMPORT_PATH" ":" prefix + ,(map (lambda (name) + (string-append (assoc-ref inputs name) + "/lib/qt5/qml")) + (list "qtdeclarative" "qtquickcontrols"))))))))) + (inputs + `(("eigen" ,eigen) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("harfbuzz" ,harfbuzz) + ("libepoxy" ,libepoxy) + ("nyan" ,nyan) + ("opusfile" ,opusfile) + ("python" ,python) + ("python-jinja2" ,python-jinja2) + ("python-numpy" ,python-numpy) + ("python-pillow" ,python-pillow) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtquickcontrols" ,qtquickcontrols) + ("sdl" ,(sdl-union (list sdl2 sdl2-image))))) + (native-inputs + `(("python-cython" ,python-cython) + ("python-pygments" ,python-pygments))) + (home-page "https://openage.sft.mx/") + (synopsis "Clone of the Age of Empires II engine") + (description "openage is a cross-platform real-time strategy game engine +that provides the mechanics of Age of Empires. It aims to be a platform for +the original Age of Empires games providing the same look and feel, but with +more features for modding and multiplayer.") + (license (list license:gpl3+ + ;; buildsystem/modules/FindSDL2.cmake, + ;; buildsystem/modules/FindGPerfTools.cmake, + ;; buildsystem/modules/FindOpusfile.cmake + license:bsd-3 + ;; libopenage/util/compress/lzxd.cpp, + ;; doc/code/lzx_compression_info + license:lgpl2.0)))) -- 2.31.0