void-packages/srcpkgs/mednafen/template
2017-02-16 13:54:40 +01:00

22 lines
749 B
Bash

# Template file for 'mednafen'
pkgname=mednafen
version=0.9.42
revision=1
wrksrc="$pkgname"
build_style=gnu-configure
configure_args="--with-libcdio --with-libsndfile --enable-alsa"
hostmakedepends="pkg-config"
makedepends="libcdio-devel libsndfile-devel glu-devel SDL_net-devel zlib-devel"
short_desc="Portable, argument(command-line)-driven multi-system emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://mednafen.sourceforge.net/"
distfiles="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz"
checksum=93e000286bd24ed5d39e6f67a22b950f3081aa71eeee1107a552246bbd3b5c25
nopie=yes
pre_build() {
# XXX not sure what's going on with those asserts.
sed -i '/assert/d' src/hash/sha{1,256}.cpp
}