summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorst G. Burkhardt <horst@adelielinux.org>2018-06-21 09:14:07 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 19:27:19 +0000
commit43d7d42b70140891b86eeca409154098a2762e95 (patch)
tree170a86f873ded8e9bb698bfa2af6f980d857f860
parent3ea72354bebf5ce1cb9ebc5e8e36af96fe0f83b3 (diff)
downloadpackages-43d7d42b70140891b86eeca409154098a2762e95.tar.gz
packages-43d7d42b70140891b86eeca409154098a2762e95.tar.bz2
packages-43d7d42b70140891b86eeca409154098a2762e95.tar.xz
packages-43d7d42b70140891b86eeca409154098a2762e95.zip
user/mednaffe: new package
-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"