void-packages/srcpkgs/mednafen/template
2016-09-22 06:22:47 +02:00

22 lines
751 B
Bash

# Template file for 'mednafen'
pkgname=mednafen
version=0.9.39.2
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="http://mednafen.fobby.net/releases/files/mednafen-${version}.tar.bz2"
checksum=b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc
nopie=yes
pre_build() {
# XXX not sure what's going on with those asserts.
sed -i '/assert/d' src/hash/sha{1,256}.cpp
}