# Template file for 'EmulationStation'
pkgname=EmulationStation
version=2.7.1
revision=1
build_style=cmake
hostmakedepends="pkg-config git"
makedepends="libcurl-devel MesaLib-devel freetype-devel freeimage-devel
 SDL2-devel eigen boost-devel vlc-devel"
short_desc="Flexible emulator front-end"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="https://github.com/RetroPie/EmulationStation"
distfiles="https://github.com/RetroPie/EmulationStation/archive/v${version}.tar.gz"
checksum=07415511cc5abf36ba2e35d97bd2f651947040bcc8af9cffc491724a19afb214

pre_configure() {
	rm -rf external/pugixml
	git clone https://github.com/zeux/pugixml.git external/pugixml
}

post_install() {
	vlicense LICENSE.md
}
