void-packages/srcpkgs/EmulationStation/template

28 lines
952 B
Bash

# Template file for 'EmulationStation'
pkgname=EmulationStation
version=2.9.3
revision=1
_pugixml_version=1.10
build_style=cmake
configure_args="-DOpenGL_GL_PREFERENCE=GLVND -Wno-dev"
hostmakedepends="pkg-config"
makedepends="libcurl-devel MesaLib-devel freetype-devel freeimage-devel
SDL2-devel eigen boost-devel rapidjson 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
https://github.com/zeux/pugixml/releases/download/v1.10/pugixml-${_pugixml_version}.tar.gz"
checksum="ed5125611afd7f79453b8d634a2d3495ec775c4914eb90571a20b74ead54335c
55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a"
pre_configure() {
rm -rf external/pugixml
mv ../pugixml-${_pugixml_version} external/pugixml
}
post_install() {
vlicense LICENSE.md
}