aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex McGrath <amk@amk.ie>2022-01-06 11:54:40 +0000
committerdispatch <dispatch@listserv.local>2022-01-06 12:04:35 +0000
commit10aa3a5ff52fe7fd3640bdcdc0c6f1b79037965d (patch)
tree43032afeb2cfbcbe054637b2affeb1d90327b1db
parent0c4c5e44502735414688a35200af9b14f3f5f4a2 (diff)
downloadaports-patches/3861.tar.gz
aports-patches/3861.tar.bz2
aports-patches/3861.tar.xz
testing/mupen64plus: new aportpatches/3861
-rw-r--r--testing/mupen64plus/APKBUILD29
-rw-r--r--testing/mupen64plus/gcc.patch10
2 files changed, 39 insertions, 0 deletions
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