From patchwork Mon Dec 9 09:32:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jethro Cao X-Patchwork-Id: 16451 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 6F4791782A; Mon, 9 Dec 2019 14:58:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2DE5A1782A for ; Mon, 9 Dec 2019 14:58:10 +0000 (GMT) Received: from localhost ([::1]:41090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieKUD-0002gQ-Nu for patchwork@mira.cbaines.net; Mon, 09 Dec 2019 09:58:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieKU7-0002gH-GC for guix-patches@gnu.org; Mon, 09 Dec 2019 09:58:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieKU6-0007RG-AT for guix-patches@gnu.org; Mon, 09 Dec 2019 09:58:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48287) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieKU6-0007Qg-4Q for guix-patches@gnu.org; Mon, 09 Dec 2019 09:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieKU6-0005Vt-3W for guix-patches@gnu.org; Mon, 09 Dec 2019 09:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38548] [PATCH] gnu: Add love-nuklear. Resent-From: Jethro Cao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2019 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38548 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38548@debbugs.gnu.org Cc: Jethro Cao X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157590347221169 (code B ref -1); Mon, 09 Dec 2019 14:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2019 14:57:52 +0000 Received: from localhost ([127.0.0.1]:54260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieKTw-0005VN-18 for submit@debbugs.gnu.org; Mon, 09 Dec 2019 09:57:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:58091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieFQ5-0000lX-Sb for submit@debbugs.gnu.org; Mon, 09 Dec 2019 04:33:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47082) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieFQ4-00050w-Hm for guix-patches@gnu.org; Mon, 09 Dec 2019 04:33:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieFQ3-0000mr-DF for guix-patches@gnu.org; Mon, 09 Dec 2019 04:33:32 -0500 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:42087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieFQ3-0000l2-80 for guix-patches@gnu.org; Mon, 09 Dec 2019 04:33:31 -0500 Received: by mail-pf1-x444.google.com with SMTP id 4so6912212pfz.9 for ; Mon, 09 Dec 2019 01:33:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z1PNTZHRrmOOvPh3PN22zbNFXt070d0YZecGr0AAnas=; b=DHP1dCXw8mQv1gKYSzDFRnEbC9ARTYCqpPhAlNOjmv/Gs9G7jOCpCty9/icN6Vq6DG hIRiwPVGRaetRh0HXSfJrFFxN5M0afFpEbasqq71/AzPLgiOizuJOOkGDT1Ntlseh3rZ OSbfcF9Xz78t6hhmx6uuvpd4F4PS2bIhfONSxWkLwm2LVRQCyvYnxEtKdM3f3FpEE1EM ICyPjUdmHiU1B7UZlrU1uXkleBjIWBVMq/g+4ZGt9YFZ9zMU0ppGLhLd10cB2efz26u5 pRaH/WdTj8tmNMdm7KEJDH/2QcwFQv4SQFVgfQryqKm7O+RS/+EALpXwX9ZQEWjRb4V5 ZiUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z1PNTZHRrmOOvPh3PN22zbNFXt070d0YZecGr0AAnas=; b=tQtbddc75olRsqs3n2wSac61O1959bsix1veFstX7QSu1wvsYnU2OncEYCR5uh49nD Ve6rkrg5soco6wIebGvKgCLPx2sxKM+srYRrCVzy768sAilmCVSrXS8l69To/Ka4h77Z H5ndCKM9VZGq6B7njrMKj7UOfdEaWEZj6MN0nnMBSdyeZzpOeCL5WUz2Qdt+m9gcgTSm nRRQQgh46R/182OlbG2ix0wNszBP+UatAArTXs0cULPO2GKvRU+Fi8eYZYIOnpS4CyYY qJ9OkgWzqoTRfT37NVNklzKnLK1+cdNsA0ebfylSCrm6gMyyhn08VegehWuTtYlkRT9I tlSQ== X-Gm-Message-State: APjAAAVxgKLpmqT+l+uP5OnsOdGD213MOuo/ejTV0rdYx3zaSUWwNRDK hCisxwy4Qtk3tNIJDdkND0z/XsgzHGg= X-Google-Smtp-Source: APXvYqzm/+OEiB9dkltLA8Tuy8G+Ukg9Tz3h9oHzgQkYtCpctDnp6oUiHi0TV08KdniutXbLoq5Xpw== X-Received: by 2002:a62:e30f:: with SMTP id g15mr27971939pfh.124.1575884009312; Mon, 09 Dec 2019 01:33:29 -0800 (PST) Received: from localhost.localdomain ([49.229.191.52]) by smtp.gmail.com with ESMTPSA id u4sm12136868pjb.31.2019.12.09.01.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 01:33:28 -0800 (PST) From: Jethro Cao Date: Mon, 9 Dec 2019 16:32:59 +0700 Message-Id: <20191209093259.16706-1-jethrocao@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Mon, 09 Dec 2019 09:57:51 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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/game-development.scm (love-nuklear): New variable. --- gnu/packages/game-development.scm | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 833f00b77c..f47e580c27 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -653,6 +653,38 @@ programming language.") (home-page "https://love2d.org/") (license license:zlib))) +(define-public love-nuklear + (let ((version "v2.6") + (commit "fef4e00a602efb16c57ae962850b6e7a01f7a29a")) + (package + (name "love-nuklear") + (version (git-version version "+4commits" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/keharriso/love-nuklear/") + (commit commit) + (recursive? #t) + ;; NOTE: the Nuklear submodule's HEAD is at commit "adc52d7" of Oct 1 2019 + ;; TODO: package Nuklear, and explicitly specify it as a native (build) input + )) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15qmy8mfwkxy2x9rmxs6f9cyvjvwwj6yf78bs863xmc56dmjzzbn")))) + (build-system cmake-build-system) + (arguments + `(#:build-type "Release" + #:tests? #f)) + (inputs + `(("luajit" ,luajit))) + (synopsis "Lightweight immediate mode GUI for LÖVE games") + (description "LÖVE is a Lua framework for making 2D games. Nuklear +is a minimal state immediate mode graphical user interface toolkit. This +package is the Nuklear bindings for LÖVE created by Kevin Harrison.") + (home-page "https://github.com/keharriso/love-nuklear/") + (license license:expat)))) + (define-public allegro-4 (package (name "allegro")