void-packages/srcpkgs/mednafen/template

26 lines
894 B
Bash

# Template file for 'mednafen'
pkgname=mednafen
version=1.32.1
revision=1
build_style=gnu-configure
configure_args="--with-libsndfile --enable-alsa $(vopt_enable altivec)
ac_cv_sizeof_off_t=8"
hostmakedepends="pkg-config libtool gettext-devel"
makedepends="libsndfile-devel glu-devel SDL2-devel zlib-devel"
short_desc="Portable, argument(command-line)-driven multi-system emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mednafen.github.io/"
changelog="https://mednafen.github.io/documentation/ChangeLog.txt"
distfiles="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz"
checksum=de7eb94ab66212ae7758376524368a8ab208234b33796625ca630547dbc83832
nopie=yes
build_options="altivec"
desc_option_altivec="Enable AltiVec support on PowerPC"
case "$XBPS_TARGET_MACHINE" in
ppc64*) build_options_default="altivec";;
*) ;;
esac