# Template file for 'dosbox-staging'
pkgname=dosbox-staging
version=0.77.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libpng-devel SDL2-devel SDL2_net-devel
 opusfile-devel fluidsynth-devel libmt32emu-devel"
short_desc="DOS/x86 emulator focusing on ease of use"
maintainer="Joshua Krämer <joshua@kraemer.link>"
license="GPL-2.0-or-later"
homepage="https://dosbox-staging.github.io"
distfiles="https://github.com/dosbox-staging/dosbox-staging/archive/v${version}.tar.gz"
checksum=85e1739f5dfd7d96b752b2b0e12aad6f95c7770b47fcdaf978d4128d7890d986
conflicts="dosbox"

if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
	makedepends+=" libatomic-devel"
fi
