From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 9EnKCrn3LGBYOwAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 11:02:17 +0000 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 yK7xBbn3LGDjeAAAbx9fmQ (envelope-from ) for ; Wed, 17 Feb 2021 11:02:17 +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 66545258CA for ; Wed, 17 Feb 2021 12:02:16 +0100 (CET) Received: from localhost ([::1]:53966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCKb1-0002IK-IB for larch@yhetil.org; Wed, 17 Feb 2021 06:02:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCKap-0002Gh-Iq for guix-patches@gnu.org; Wed, 17 Feb 2021 06:02:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCKao-0001E3-Ka for guix-patches@gnu.org; Wed, 17 Feb 2021 06:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCKao-00044u-Hj for guix-patches@gnu.org; Wed, 17 Feb 2021 06:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46587] [PATCH] gnu: Add libretro-lowresnx. Resent-From: iyzsong@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Feb 2021 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46587@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161355970615651 (code B ref -1); Wed, 17 Feb 2021 11:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2021 11:01:46 +0000 Received: from localhost ([127.0.0.1]:42563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCKaR-00044G-2T for submit@debbugs.gnu.org; Wed, 17 Feb 2021 06:01:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:54584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCKaQ-00044A-4v for submit@debbugs.gnu.org; Wed, 17 Feb 2021 06:01:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCKaP-0001oI-Rz for guix-patches@gnu.org; Wed, 17 Feb 2021 06:01:37 -0500 Received: from mail-oln040092253069.outbound.protection.outlook.com ([40.92.253.69]:8544 helo=APC01-SG2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCKaK-00016P-VK for guix-patches@gnu.org; Wed, 17 Feb 2021 06:01:37 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hn7XJ5JBW5Nm/xqkMSt6lBPoxnIf21k0SAer/FL7MeAE3e2ZqFq9QuefPw+ESU4WqwhrJeB8DBPuuLEkYVDcQ+48Mn60k3cgzx3Cjz93M706fFbhKjGUUUzOnJrkkNsf7e6EwQ3BKKctWqhbFHZQ57HkC3hDwOgFBEa6bSw9kvHTVo0H0bfck4fWoU8f5BpXQQxlxWb1n+/FZKUZoIT6hS3HBB14CVpZ8wMXzhaVmqG40jCnG6lbe8DT/UJrHWSwY35cql8eKTWkVRgyLb1kk1ObLR8VvuHW6iTaPymUwf4ZeTaINQWgwIUA01Uw4rt0PasfDyisXHh23QFqYAdUKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O1ioCV/bMwmYbGQZq2mKzM5LeOE2agnr/5+1Ruqab+I=; b=DHEiJMKx4W88oh1BgHvOyCVD8Mm/F7NlmSZzNF+G/RNhSr6qqh10yVD87CwNoZzKJ5LhU5JlyMUN3keByfx/0art5/A4xc2Md/cLMhArhSHA4W1gqMiwRHzqfAUga/xP486tdsuCLSZv9vezvYgvatYbfCm17/ql+KwL69Aryfn+g3xZTfM8OtyOdTX88uZujYz83wFp5HsuNE8gHu2es8gxDScnUuJ4DBSk0H/KfZeYmA+eUXD/h38KC6FL1+JHuls17K4uSnRZrtPhgH7pcJuFYTQRny6PEtrRtHymFzCK0x72fdcycjimAaiuH9ga1Gvjxysb5yHT6qvXpKtTJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O1ioCV/bMwmYbGQZq2mKzM5LeOE2agnr/5+1Ruqab+I=; b=iRv0b8UIs9CKPNF1TaJ3w0TC5uRY1wLRG8JOJxSmrlK/PhNBTsLdAE9mhlFpm6Pszzn4DUdRGyujfiJFPXpBKA9dDUPNTv+PRF5bY+wsUPXR7unJDY1MYK0YjubBIS6DKS6v5GceVCQeDHRYkV0741Sm6hCJg3TDO5pvOIII/CWRAKtu4n3rVqXDwBvIIs4ikeASCPiaNpXo9dgSYZ48FwpIYiv/qglDTvYi7lpXrf39y1QkqZQc96Ew6Dr7zB7dBunp18oMpganPslTIUw5VsNVKToLnxUTZf6hwaaihKy4dJ13/4KO0a7h8TMcdG0TKmnOY33IqvN90VZytPVC3w== Received: from SG2APC01FT012.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::48) by SG2APC01HT151.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::384) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25; Wed, 17 Feb 2021 10:46:16 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2a01:111:e400:7ebd::44) by SG2APC01FT012.mail.protection.outlook.com (2a01:111:e400:7ebd::184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Wed, 17 Feb 2021 10:46:16 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:800014D9720D8D600234D7689D923D4A5876D43A0B7A5E0E7D6A872F6544A60C; UpperCasedChecksum:5E127A93F9BD51B6674DD99D3A23905187DE968407BB1C375CE18531FE4D31C5; SizeAsReceived:8494; Count:45 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22%5]) with mapi id 15.20.3868.027; Wed, 17 Feb 2021 10:46:15 +0000 From: iyzsong@outlook.com Date: Wed, 17 Feb 2021 18:47:56 +0800 Message-ID: X-Mailer: git-send-email 2.30.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [e8UScVsxZkAHOCKY8tSVKPnQgf2uYuDejNdTrP4aSFprV/K5fCX7q/a4Qv1Po2tE] X-ClientProxiedBy: SJ0PR03CA0111.namprd03.prod.outlook.com (2603:10b6:a03:333::26) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <20210217104756.25002-1-iyzsong@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:373:4790:2f1:f5ff:fe18:6bb) by SJ0PR03CA0111.namprd03.prod.outlook.com (2603:10b6:a03:333::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27 via Frontend Transport; Wed, 17 Feb 2021 10:46:14 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b328433c-4224-4cba-dc5f-08d8d3314001 X-MS-TrafficTypeDiagnostic: SG2APC01HT151: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AtF8WsAGH4lhiqBNhUwYnyUHBvx1Pr027EhiMdpTedn3RfkwvoSZF0VXssUB0C/rfL4esTX2Vg0Zj/eGHzF/7cDRNgo1Or3SUSnYjE2IRC6uRC4FWsT2RhrVX8HaZkuNvpzWYtSXcBxjptDoCnXW5iUUMsxhSB+JelM9k2HSflGssduWonI2B1XhGvdQh3CCU4VjxzwHyjA4GwbQ2K6kH5dedLeyolGiYwiFNgDoCpgHryWdqxRE248p9do8SJDJoIeVeNZV4XyTKKklL0tvCYG8VNuDCiLU6r/fujL6uszCOHqmucDp55q55fEODn11kCq9b17zMajUCCByDLQzRR66HR1VjUpfm5y62gtPbSHDCqyLulcsjTMaS8V7kIj65xGicV+2hn/l5MaHWzRAZJsVkiQoXPPw3ZZPJQPB4eR+tvrGKxZLe+ua/TYl0s3w X-MS-Exchange-AntiSpam-MessageData: Eqt3jzwmO8DPUAbt5gndrN2diyG9kKgCRedbeQo0HA7C9s+orVjDKcLZLb5KRj2qDcHhy5xAN/e5gT7DhpyGXZKxoxkpx6pST5LO68TQ1pw5Yr6t+zSYxfq2t1skg/fb5EN+YuC+z8DhHPuyPPieHy+nvNnXzH01BGPGYdRN+uhxD4OFqe0tGYA8ZIsLTJph7B4eXzeDlv76uAI9hhsV9g== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b328433c-4224-4cba-dc5f-08d8d3314001 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2021 10:46:15.6644 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT012.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT151 Received-SPF: pass client-ip=40.92.253.69; envelope-from=iyzsong@outlook.com; helo=APC01-SG2-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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 X-Migadu-Spam-Score: 0.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=iRv0b8UI; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (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: 66545258CA X-Spam-Score: 0.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: EPLaAH1wqzAW From: 宋文武 * gnu/packages/emulators.scm (libretro-lowresnx): New variable. --- gnu/packages/emulators.scm | 42 +++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 05cd0d65c5..eca003f738 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2015 Paul van der Walt -;;; Copyright © 2015, 2016 Sou Bunnbu +;;; Copyright © 2015, 2016, 2021 Sou Bunnbu ;;; Copyright © 2015, 2016 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015, 2018 David Thompson ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis @@ -36,6 +36,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix svn-download) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages assembly) @@ -1231,6 +1232,45 @@ System (NES/Famicom) emulator Nestopia, with enhancements from members of the emulation community. It provides highly accurate emulation.") (license license:gpl2+))) +(define-public libretro-lowresnx + (let ((commit "743ab43a6c4a13e0d5363b0d25ac12c7511c6581") + (revision "1")) + (package + (name "libretro-lowresnx") + (version (git-version "1.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/timoinutilis/lowres-nx") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r15kb5p5s2jwky6zy4v1j9i95i4rz36p9wxg0g6xdjksf04b5cf")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'build + (lambda _ + (invoke "make" "-C" "platform/LibRetro" + (string-append "CC=" ,(cc-for-target))))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (libretrodir (string-append out "/lib/libretro"))) + (install-file "platform/LibRetro/lowresnx_libretro.so" + libretrodir))))))) + (home-page "https://lowresnx.inutilis.com/") + (synopsis "Libretro core for LowRES NX") + (description "LowRES NX is a simulated retro game console, which can be +programmed in the classic BASIC language. This package provides a libretro +core allowing the lowRES NX programs to be used with libretro frontends such +as RetroArch.") + (license license:zlib)))) + (define-public retroarch (package (name "retroarch") -- 2.30.0