# Template file for 'mednafen' pkgname=mednafen version=0.9.37.1 revision=2 wrksrc="$pkgname" build_style=gnu-configure configure_args="--with-libcdio --with-libsndfile --enable-alsa" hostmakedepends="pkg-config" makedepends="libcdio-devel>=0.93 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=5fdf573c4166d16b430b729595d1b548e5f3163e84f348474b3c94b9156e2dc3 pre_build() { # XXX not sure what's going on with those asserts. sed -i '/assert/d' src/hash/sha{1,256}.cpp }