blob: 0666bec0ff314a45bf88eaea9f0210d411ba14d3 (
plain) (
tree)
|
|
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=mednafen
pkgver=1.22.1
pkgrel=0
pkgdesc="an emulator for various home gaming consoles"
url="https://mednafen.github.io/"
arch="all !s390x"
options="!check !dbg" # mednafen does not ship actual tests
subpackages="$pkgname-lang"
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
ppc.patch
ppc64.patch
"
builddir="$srcdir/$pkgname"
build() {
./autogen.sh
export CXXFLAGS="$CXXFLAGS -fno-omit-frame-pointer"
./configure \
--prefix=/usr \
--enable-ss=no \
--enable-snes-faust=no
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="4e6890b984a812e188a42582e79dfdac28e101ce3bd658044b68f267d5c8b3799ea3f4de3dcac5314a615f17591a537b51e64f6bd165fec01f028b201eb32763 mednafen-1.22.1.tar.xz
264b22be3af9db57d0e8676d77b57338308764c79a5eae1c7bd3bb211c5e190ec0797e34a952039175395c0b8819e6285f2ac5f652ee0d5b9d1e0eaf43eca6e9 ppc.patch
84cbff76b16960ec67fec785fc6e8d541db342e9567fb6f4d42c84ced3fc0f0dfe702a8a7fd7af4f84835f8efe289e7cb9cf18766e4196525686eaa23b02537c ppc64.patch"
|