bcfc78c804
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
25 lines
848 B
Bash
25 lines
848 B
Bash
# Template file for 'mednafen'
|
|
pkgname=mednafen
|
|
version=1.21.1
|
|
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 SDL2-devel zlib-devel"
|
|
short_desc="Portable, argument(command-line)-driven multi-system emulator"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://mednafen.sourceforge.net/"
|
|
distfiles="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz"
|
|
checksum=848136e4b98d5a949d7691f6596564b20d5720e7d766e93deedc7832bbee2a40
|
|
|
|
CFLAGS="-D_FILE_OFFSET_BITS=64"
|
|
CXXFLAGS="$CFLAGS"
|
|
configure_args+=" ac_cv_sizeof_off_t=8"
|
|
nopie=yes
|
|
|
|
pre_build() {
|
|
# XXX not sure what's going on with those asserts.
|
|
sed -i '/assert/d' src/hash/sha{1,256}.cpp
|
|
}
|