Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2B69C781002 for <~alpine/aports@lists.alpinelinux.org>; Thu, 6 Jan 2022 12:04:31 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amk.ie; s=key1; t=1641470085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8ZZCYC5dr4N6XW/nLfn2cZ+5qP7DhCxv6e6XGKusdbU=; b=ntY3J53pTwoTHDS19yeN481JR8pVb68nuk0KdXlw34bl6TsBIu0LjFvRZg3YfcXdYhH8sw TtUJS2nM7VyfsVPNu9ctmP1xy3or00E+a/jQNq2/1q7gi9VF28ZLI2W6x4wdGratNx3dRI 32nuaja1tQeG/Vkj0f95T5a3scBNrvWaisTwrNxZOxCdTmMMVhZ+JHiQFc79jlQSjn1BYm OHIrHDkHCIxPAsW2Ak82A0nIFBMScdA7f6r+nFHdywxOr0pJ8KAGdMR/IqGi1UToUYYi+3 vqiAa0W2ZVXBB/vQnQkWHMXp6c8L4w0X6GEEdeNJv7l9OdOgk7poYYg8u11uEQ== From: Alex McGrath To: ~alpine/aports@lists.alpinelinux.org Cc: Alex McGrath Subject: [PATCH] testing/mupen64plus: new aport Date: Thu, 6 Jan 2022 11:54:40 +0000 Message-Id: <20220106115440.29213-1-amk@amk.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: 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 +# Maintainer: Alex McGrath +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