# Template file for 'EmulationStation'
pkgname=EmulationStation
version=2.7.6
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.org>"
license="MIT"
homepage="https://github.com/RetroPie/EmulationStation"
distfiles="https://github.com/RetroPie/EmulationStation/archive/v${version}.tar.gz"
checksum=f56b4301ddd97beb990aed387d34e021ea1df6a2f1256cf361cf2bcefd1b6247

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

post_install() {
	vlicense LICENSE.md
}
