Github messages for voidlinux
 help / color / mirror / Atom feed
From: zlice <zlice@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: RMG-0.5.7
Date: Thu, 15 Feb 2024 04:03:45 +0100	[thread overview]
Message-ID: <20240215030345.1969022A9E@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47855@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

There is an updated pull request by zlice against master on the void-packages repository

https://github.com/zlice/void-packages RMG
https://github.com/void-linux/void-packages/pull/47855

New package: RMG-0.5.7
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, **x86_64**

#### Comments

Slapped together just to see if this works and it's the only mupen gui I've used since they ditched gtk or w/e a while back that just works.

A patch file from https://github.com/void-linux/void-packages/pull/47855.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-RMG-47855.patch --]
[-- Type: text/x-diff, Size: 2444 bytes --]

From 0b8080f65fee078fad8e51f4f0f20f1ef53b1985 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Wed, 20 Dec 2023 15:18:44 -0500
Subject: [PATCH] New package: RMG-0.5.7

---
 srcpkgs/RMG/patches/musl-types.patch | 22 ++++++++++++++++++++++
 srcpkgs/RMG/template                 | 21 +++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/RMG/patches/musl-types.patch
 create mode 100644 srcpkgs/RMG/template

diff --git a/srcpkgs/RMG/patches/musl-types.patch b/srcpkgs/RMG/patches/musl-types.patch
new file mode 100644
index 0000000000000..ad7de7d3de295
--- /dev/null
+++ b/srcpkgs/RMG/patches/musl-types.patch
@@ -0,0 +1,22 @@
+--- a/Source/3rdParty/mupen64plus-core/src/device/r4300/new_dynarec/new_dynarec.c	2023-12-21 08:48:06.566206745 -0500
++++ b/Source/3rdParty/mupen64plus-core/src/device/r4300/new_dynarec/new_dynarec.c	2023-12-21 08:48:23.460597668 -0500
+@@ -25,7 +25,7 @@
+ #include <sys/types.h> // needed for u_int, u_char, etc
+ #include <assert.h>
+
+-#if defined(__APPLE__)
++#ifndef __USE_GNU || defined(__APPLE__)
+ #define MAP_ANONYMOUS MAP_ANON
+ #endif
+
+--- a/Source/3rdParty/mupen64plus-video-parallel/util/aligned_alloc.cpp	2024-01-26 12:45:43.000000000 -0500
++++ b/Source/3rdParty/mupen64plus-video-parallel/util/aligned_alloc.cpp	2024-02-14 21:48:50.257936910 -0500
+@@ -26,6 +26,7 @@
+ #ifdef _WIN32
+ #include <malloc.h>
+ #endif
++#include <cstdint>
+
+ namespace Util
+ {
+
diff --git a/srcpkgs/RMG/template b/srcpkgs/RMG/template
new file mode 100644
index 0000000000000..acd15a4ea579f
--- /dev/null
+++ b/srcpkgs/RMG/template
@@ -0,0 +1,21 @@
+# Template file for 'RMG'
+pkgname=RMG
+version=0.5.7
+revision=1
+archs="x86_64* i686*"
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release -DPORTABLE_INSTALL=OFF
+ -DNO_RUST=ON -G Ninja"
+hostmakedepends="pkg-config which nasm git"
+makedepends="qt6-base-devel qt6-svg-devel freetype-devel hidapi-devel
+ minizip-devel libsamplerate-devel speex-devel SDL2-devel zlib-devel xdg-user-dirs"
+short_desc="Mupen64 GUI"
+maintainer="zlice <zlice555@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Rosalie241/RMG"
+distfiles="https://github.com/Rosalie241/RMG/archive/refs/tags/v${version}.tar.gz"
+checksum=50fbe60da3f78b377898b0c0d30d62bae9f97e097843790d738bfe4f840f9f08
+
+case "${XBPS_TARGET_MACHINE}" in
+	i686*) CFLAGS+=" -mfpmath=sse -msse2" ; CXXFLAGS+=" -mfpmath=sse -msse2" ;;
+esac

  parent reply	other threads:[~2024-02-15  3:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 20:26 [PR PATCH] New package: RMG-0.5.4 zlice
2023-12-20 21:07 ` zlice
2023-12-21 13:51 ` [PR PATCH] [Updated] " zlice
2023-12-21 13:52 ` zlice
2024-02-15  2:37 ` [PR PATCH] [Updated] " zlice
2024-02-15  3:03 ` zlice [this message]
2024-05-16  1:46 ` New package: RMG-0.5.7 github-actions
2024-05-16 11:32 ` [PR PATCH] [Updated] " zlice
2024-06-01 18:02 ` [PR PATCH] [Updated] New package: RMG-0.5.9 zlice
2024-06-01 19:15 ` zlice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240215030345.1969022A9E@inbox.vuxu.org \
    --to=zlice@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).