~alpine/aports

testing/mupen64plus: new aport v1 REJECTED

Alex McGrath <amk@amk.ie>
Alex McGrath: 1
 testing/mupen64plus: new aport

 2 files changed, 39 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3861/mbox | git am -3
Learn more about email & git

[PATCH] testing/mupen64plus: new aport Export this patch

Alex McGrath <amk@amk.ie>
---
 testing/mupen64plus/APKBUILD  | 29 +++++++++++++++++++++++++++++
 testing/mupen64plus/gcc.patch | 10 ++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 testing/mupen64plus/APKBUILD
 create mode 100644 testing/mupen64plus/gcc.patch

diff --git a/testing/mupen64plus/APKBUILD b/testing/mupen64plus/APKBUILD
new file mode 100644
index 0000000000..2a24b56ec1
--- /dev/null
+++ b/testing/mupen64plus/APKBUILD
@@ -0,0 +1,29 @@
# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=mupen64plus
pkgver=2.5
pkgrel=0
pkgdesc="Mupen64Plus is a cross-platform plugin-based N64 emulator."
url="https://mupen64plus.org/"
arch="all"
license="GPL-2.0-only"
makedepends="sdl-dev boost-dev freetype-dev glu-dev libpng-dev libsamplerate-dev zlib-dev"
source="https://github.com/mupen64plus/mupen64plus-core/releases/download/$pkgver/mupen64plus-bundle-src-$pkgver.tar.gz
	gcc.patch
	"
options="!check" # no test suite
subpackages="$pkgname-doc"
builddir="$srcdir/mupen64plus-bundle-src-$pkgver"

build() {
	PIE=1 ./m64p_build.sh
}

package() {
	./m64p_install.sh DESTDIR="$pkgdir" PREFIX='/usr'
}

sha512sums="
08e9dbf1d851ede561419b1edbae51b46e775e01e33c870ed8b8c2809965a858b21c342804a88f3fd837c83e0c1b5007e45ca9fb9cdf82499b04240b9c799ba8  mupen64plus-bundle-src-2.5.tar.gz
9853bbb02fff179767c1499772ccb7dce4fcfd636b7bd188e9104d055943fd6e350b9edc0d8e1927fb0cc9bacedc9a6cf3f4972a5866da57ae3ca32d232b9582  gcc.patch
"
diff --git a/testing/mupen64plus/gcc.patch b/testing/mupen64plus/gcc.patch
new file mode 100644
index 0000000000..57c242b4a4
--- /dev/null
+++ b/testing/mupen64plus/gcc.patch
@@ -0,0 +1,10 @@
--- a/source/mupen64plus-core/src/main/workqueue.h
+++ b/source/mupen64plus-core/src/main/workqueue.h
@@ -27,7 +27,6 @@
 
 struct work_struct;
 
-struct work_struct *work;
 typedef void (*work_func_t)(struct work_struct *work);
 struct work_struct {
     work_func_t func;
\ No newline at end of file
-- 
2.34.1
superseded by https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29234

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29232#note_204234