void-packages/srcpkgs/EmulationStation-rpi/template

26 lines
867 B
Bash

# Template file for 'EmulationStation-rpi'
pkgname=EmulationStation-rpi
version=2.0.1a
revision=1
_githash=93f6e11c95f9e7a0c00d3a70c744b22d9a931127
build_style=cmake
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
provides="EmulationStation-${version}_${revision}"
makedepends="libcurl-devel rpi-userland-devel freetype-devel freeimage-devel
SDL2-devel eigen boost-devel"
short_desc="A flexible emulator front-end"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="https://github.com/Herdinger/EmulationStation"
distfiles="https://github.com/Herdinger/EmulationStation/archive/$_githash.tar.gz"
checksum=e144e06fdd64522c67f35b882eb0d8c5ab455075d9d3b4cd13e2c6f7764c7e38
wrksrc=EmulationStation-$_githash
pre_configure() {
sed -i "s#/opt/vc#$XBPS_CROSS_BASE\0#; s/EGL/\0 GLESv2/" CMakeLists.txt
}
post_install() {
vlicense LICENSE.md
}