summaryrefslogtreecommitdiff
path: root/user/mednaffe
diff options
context:
space:
mode:
Diffstat (limited to 'user/mednaffe')
-rw-r--r--user/mednaffe/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/mednaffe/APKBUILD b/user/mednaffe/APKBUILD
new file mode 100644
index 000000000..9770912b1
--- /dev/null
+++ b/user/mednaffe/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Horst Burkhardt <horst@adelielinux.org>
+# Maintainer: Horst Burkhardt <horst@adelielinux.org>
+pkgname=mednaffe
+pkgver=0.8.7
+pkgrel=0
+pkgdesc="a front-end to the mednafen emulator"
+url="https://github.com/AmatCoder/mednaffe"
+arch="all !s390x"
+options="!check" # mednaffe does not ship a test suite
+subpackages="$pkgname-doc"
+license="GPL-3.0-only"
+depends="mednafen"
+makedepends="mednafen gtk+2.0-dev glib-dev atk-dev pango-dev cairo-dev libxfixes-dev libx11-dev libxrender-dev libxi-dev libxext-dev libxdamage-dev libffi-dev pcre-dev freetype-dev harfbuzz-dev libxcb-dev expat-dev libxau-dev libxdmcp-dev graphite2-dev libuuid libbsd-dev"
+source="https://github.com/AmatCoder/mednaffe/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr --disable-gtk3
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3495ecd3b87f19ab65d8760ea8adfa830c4dc9fe959f2e2f349216b36f58d9623c9cfd0c7e40fe5e8b7b90846fe85d9808c2a5885f36d5d8b16659b25cf8a3a1 mednaffe-0.8.7.tar.gz"