From patchwork Sun Oct 6 05:32:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 31660 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 553CD27BBEC; Sun, 6 Oct 2024 06:35:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C3C8127BBE9 for ; Sun, 6 Oct 2024 06:35:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxJv5-0007Ee-Qs; Sun, 06 Oct 2024 01:35:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxJv3-0007Ca-JF for guix-patches@gnu.org; Sun, 06 Oct 2024 01:35:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxJv3-00061J-AZ for guix-patches@gnu.org; Sun, 06 Oct 2024 01:35:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=v+HqvyVjzregAm4Q2sele6D+RTucGak7atzdY5L8H6w=; b=daEgPREOBX02jr23w0fptX5DUKD5PGnr4/NJhBWx6wZxeqO8HDL5Mwv8SKO3b9tk9PzSLA8CkxeyDf7yjYDyBOCxKpi00SNm5f4o1qvOut80bJ6ZGrgc5kiXkGWtf1m9apG0wr8jIy/0Gp0CX8J5oFoZ0327kQtW9vsYlCVez7CpzaHTHckPLfxQQZVLqMOPgVTXz0pYX9B4XLDGddxjlJN4+EkcuGjexVDgUXsL4rPH9BHJ518V6+IJBbe0CCsE9QJJ+wLbSSPQb5e7sF4EJJopQm3HY5gTVFb5jbm0SRfLPZbz2Q9MUNaPb7og943RhyVvLqJhIfSY6imuA9+BBA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxJv8-0000Jc-Ng; Sun, 06 Oct 2024 01:35:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73522] [PATCH games-team 12/14] gnu: Add libretro-mupen64plus-nx. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, sarg@sarg.org.ru, adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Sun, 06 Oct 2024 05:35:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73522 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73522@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer , Sergey Trofimov , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Maxim Cournoyer , Sergey Trofimov , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 73522-submit@debbugs.gnu.org id=B73522.17281928701035 (code B ref 73522); Sun, 06 Oct 2024 05:35:06 +0000 Received: (at 73522) by debbugs.gnu.org; 6 Oct 2024 05:34:30 +0000 Received: from localhost ([127.0.0.1]:39859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxJuY-0000Gb-4e for submit@debbugs.gnu.org; Sun, 06 Oct 2024 01:34:30 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:47305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxJuW-0000G4-Bb for 73522@debbugs.gnu.org; Sun, 06 Oct 2024 01:34:29 -0400 Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-71df1fe11c1so766160b3a.2 for <73522@debbugs.gnu.org>; Sat, 05 Oct 2024 22:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728192796; x=1728797596; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v+HqvyVjzregAm4Q2sele6D+RTucGak7atzdY5L8H6w=; b=ZtZItggZIpbggXE94p06xll3/o1aQXHXE9GiJr+qthxoyDiBZqcuM6WfX7CSjTVC5q 0o2dMKyiervnmbsyupgqKb4bsQKw29aTIl+MC+uVYWEr/kAwj8djcFjrzVOJrlfj9UEi 2mal37wl+E1Z2lbRsUnEfGjeGfOj4ows6lBiwU26Jw8+4dSEIMML1lJtYfmYDnjYkBMH 1HoY2OrOBzS5jbcDoPmPBcteMF1FCRkxan56Lsdlqu/5ITkvlDkw+Lfhfdr9WgOaYcec 4hiO9/ss4ejVbGVg0YhBzOG7YWM/YHzLnelRUTx13w5LSoWPbvl7GVo1C+Y3DAeiBvVF qOLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728192796; x=1728797596; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v+HqvyVjzregAm4Q2sele6D+RTucGak7atzdY5L8H6w=; b=QEWyJRK3NRXbUurdiSBN78X4+KMP1ZFWx4nchIL0HK8umtlCAeca7knifvIzX4wtj2 hZRkyIHxewsrj6bdTikWcH6VxrVjyy7S3s4tmC3lna1pk3Q7OFclH8W5Op69lgsROpLW XpVTl94QAqBQXZJGQ87ZxS3sBYziTAGsxnKBr0DjTw4ITHpDNzMY5mJYcv4yS/g5wQUb NP7O25ca+BtNuByUGlZZV5KYx3xAUJVBRN5ZsUMtGe7krXdX39+EBSgLR05ZqwsjjLr4 FKuse7I/jx76DHDRYJfIozdql1A7TTb+TxXSlEY3YywNx2wpoXWZ8K6uD9FvRh7UclZm K8fg== X-Gm-Message-State: AOJu0Yy9CpfqVE+nFWC9/htVUyYZ4kIf2fZOmrkzISMBBAS2ciWVxy9w DPcVRQivS7gaOfMyW/ByRhvEWCSi2J+Ei7dQ7I0CNlnyNw0n/kl2fsCKtg== X-Google-Smtp-Source: AGHT+IGKnkeOEQEJvs+ox8vuo9cu9cIggjQ/g7bTabMQ1WoRTJ1/fGShP4b+bqN7l6wTiEEpPMQqYQ== X-Received: by 2002:a05:6a20:6f07:b0:1d5:119b:3ab with SMTP id adf61e73a8af0-1d6dfa38f1bmr11563369637.11.1728192796185; Sat, 05 Oct 2024 22:33:16 -0700 (PDT) Received: from hurd.lan ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f6c4a66bsm2575562a12.92.2024.10.05.22.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Oct 2024 22:33:15 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 6 Oct 2024 14:32:08 +0900 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emulators.scm (libretro-mupen64plus-nx): New variable. Change-Id: I2249a41722478d340ac4ca2d6d96fa8ae525d1f6 --- gnu/packages/emulators.scm | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 5b435a0916..eca0990147 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1495,6 +1495,62 @@ (define-public libretro-lowresnx as RetroArch.") (license license:zlib))) +(define-public libretro-mupen64plus-nx + ;; There are no proper release; use the latest commit of the master branch + ;; (their stable branch). + (let ((commit "9d940bacb95c4d86733f42b67b57fc83046a6d39") + (revision "0")) + (package + (name "libretro-mupen64plus-nx") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libretro/mupen64plus-libretro-nx") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0s3l62mfkbzmv8g1y4r40iayfwdz68rq6l6khc0d8kw08qk7ggl9")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no test suite + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "CXX=" #$(cxx-for-target)) + (string-append "GIT_VERSION=" #$version) + (string-append "PREFIX=" #$output) + "LLE=1" + "HAVE_THR_AL=1" ;for the angrylion video plugin + "HAVE_PARALLEL_RDP=1" + "HAVE_PARALLEL_RSP=1" + "SYSTEM_MINIZIP=1" + "SYSTEM_LIBPNG=1" + "SYSTEM_XXHASH=1" + "SYSTEM_ZLIB=1") + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (install-file "mupen64plus_next_libretro.so" + (string-append #$output "/lib/libretro/"))))))) + (native-inputs (list nasm pkg-config)) + (inputs (list mesa libpng minizip unzip xxhash zlib)) + (home-page "https://github.com/libretro/mupen64plus-libretro-nx") + (synopsis "Improved Mupen64Plus libretro core") + (description "Mupen64Plus-Next is a N64 emulation library for the +libretro API, based on Mupen64Plus. It incorporates the following projects: +@itemize +@item @url{https://github.com/mupen64plus/mupen64plus-core, mupen64plus} +@item @url{https://github.com/gonetz/GLideN64, GLideN64} +@item @url{https://github.com/cxd4/rsp, cxd4} +@item @url{https://github.com/Themaister/parallel-rsp, parallel-rsp} +@item @url{https://github.com/ata4/angrylion-rdp-plus, angrylion-rdp-plus} +@end itemize") + (license license:gpl2+)))) + (define-public retroarch-assets (package (name "retroarch-assets")