# Template file for 'mednafen' pkgname=mednafen version=0.9.38.4 revision=2 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=3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 pre_build() { # XXX not sure what's going on with those asserts. sed -i '/assert/d' src/hash/sha{1,256}.cpp }