# Template file for 'mednafen' pkgname=mednafen version=0.9.38.3 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, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator" maintainer="Juan RP " license="GPL-2" homepage="http://mednafen.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" checksum=e64c6ac9de18b3735ed24f797c9e9304cb51ad3467011aae8e6d188b3a49e7d4 pre_build() { # XXX not sure what's going on with those asserts. sed -i '/assert/d' src/hash/sha{1,256}.cpp }