# Template file for 'openmw'
pkgname=openmw
version=0.41.0
revision=3
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libXt-devel libunshield-devel libmygui-devel osg-devel\
	bullet-devel libopenal-devel SDL2-devel qt-devel boost-devel\
	ffmpeg-devel libavformat libavutil libswscale libswresample"
short_desc="Open Implementation of Morrowninds Engine"
maintainer="JohnZ <johnz@posteo.net>"
license="GPL-3"
homepage="http://openmw.org"
distfiles="https://github.com/OpenMW/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=a3e1c7d060dc461b9b63ceb5d9ec56b90c1bdcbfd37f0c7c7310c38ec7e3e21d

case "${XBPS_TARGET_MACHINE}" in
	aarch* | mips* | arm*) broken="https://bugs.openmw.org/issues/564" ;;
esac
