summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/mednafen/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/mednafen/APKBUILD b/user/mednafen/APKBUILD
new file mode 100644
index 000000000..ccc64e8e7
--- /dev/null
+++ b/user/mednafen/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Horst Burkhardt <horst@adelielinux.org>
+# Maintainer: Horst Burkhardt <horst@adelielinux.org>
+pkgname=mednafen
+pkgver=1.21.3
+pkgrel=0
+pkgdesc="an emulator for various home gaming consoles"
+url="https://mednafen.github.io/"
+arch="all !s390x"
+options="!check" # mednafen does not ship actual tests
+subpackages="$pkgname-doc"
+license="GPL-2.0-only"
+depends=""
+makedepends="alsa-lib-dev flac-dev libogg-dev libsndfile-dev libvorbis-dev
+ lzo-dev sdl2-dev zlib-dev"
+source="https://mednafen.github.io/releases/files/$pkgname-$pkgver.tar.xz"
+builddir="$srcdir/$pkgname"
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr --enable-ss=no
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="987c14edae68901f8a693c9f7317063daf4274bb0b650ed05cd01cf4ceb38d76e6ff5446c324447f73727096c74d0bf7f545cdeadfb6291d67656d659de26715 mednafen-1.21.3.tar.xz"