From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eT7wc-0002RS-Cb for guix-patches@gnu.org; Sun, 24 Dec 2017 10:12:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eT7wY-00057Y-8t for guix-patches@gnu.org; Sun, 24 Dec 2017 10:12:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eT7wY-00057P-3f for guix-patches@gnu.org; Sun, 24 Dec 2017 10:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eT7wX-00008h-Ux for guix-patches@gnu.org; Sun, 24 Dec 2017 10:12:01 -0500 Subject: [bug#29836] [PATCH] Add The Butterfly Effect (tbe) Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eT7vz-0002M4-6E for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eT7vv-0004ly-4U for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:27 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eT7vu-0004k3-TP for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:23 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 881E1C5A49 for ; Sun, 24 Dec 2017 16:11:20 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eT7vs-0005Xz-3l for guix-patches@gnu.org; Sun, 24 Dec 2017 16:11:20 +0100 From: Nicolas Goaziou Date: Sun, 24 Dec 2017 16:11:20 +0100 Message-ID: <87lghsgnzb.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29836@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello, This patch adds The Butterfly Effect game. Regards, -- Nicolas Goaziou 0x80A93738 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-games-Add-tbe.patch Content-Description: Add tbe. >From e2ff716723aadd9bab7a09998d5ee65641e8d063 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 24 Dec 2017 16:09:57 +0100 Subject: [PATCH] gnu: games: Add tbe. * gnu/packages/games.scm (tbe): New variable. --- gnu/packages/games.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 981163c3d..0d9eca6c9 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5294,3 +5294,58 @@ making Yamagi Quake II one of the most solid Quake II implementations available. "file://LICENSE" "See Info-Zip section.") license:public-domain)))) ; stb + +(define-public tbe + (package + (name "tbe") + (version "0.9.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/the-butterfly-effect/tbe/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18qkp7fgdvyl3haqqa693mgyic7afsznsxgz98z9wn4csaqxsnby")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + ;; There is no "install" phase. By default, tbe is installed + ;; in the build directory. Provide our own installation. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (and (system* "make" "DESTDIR=.." "install") + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share"))) + (install-file "usr/games/tbe" bin) + (mkdir-p share) + (copy-recursively "usr/share" share) + #t))))) + ;; Test suite requires a running Xorg server. Even when + ;; provided, it fails with "D-Bus library appears to be + ;; incorrectly set up; failed to read machine uuid: Failed to + ;; open "/etc/machine-id": No such file or directory" along + ;; with multiple "QPainter:: ... Painter not active" warnings. + #:tests? #f)) + (inputs + `(("gettext-minimal" ,gettext-minimal) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtxmlpatternn" ,qtxmlpatterns))) + (native-inputs + `(("cmake" ,cmake) + ("qttools" ,qttools))) + (synopsis "Realistic physics puzzle game") + (description "The Butterfly Effect (tbe) is a game that uses +realistic physics simulations to combine lots of simple mechanical +elements to achieve a simple goal in the most complex way possible.") + (home-page "http://the-butterfly-effect.org/") + ;; Main license is GPL2-only. However, artwork is distributed + ;; under various licenses, listed here. + (license (list license:gpl2 license:public-domain license:expat + license:cc-by-sa3.0 license:gpl3+ license:wtfpl2)))) -- 2.15.1 --=-=-=--