summaryrefslogtreecommitdiff
path: root/user/mednafen/APKBUILD
blob: e976a358acb1cc9cc40ab49b5bb31cea66149df9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=mednafen
pkgver=1.21.2
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="libogg-dev libvorbis-dev flac-dev lzo-dev sdl2-dev libsndfile-dev alsa-lib-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 install
}

sha512sums="f1eef8cfccc26a40587d0d2c4f7c4aa74ede90889869d620c127e26a500650a4cec801e3fb6d38a62b441e986234803d9ec2099c85ac06f1448c61039de927ed mednafen-1.21.2.tar.xz"