# Template file for 'attract'
pkgname=attract
version=2.6.1
revision=1
build_style=gnu-makefile
make_build_args="VERBOSE=1"
hostmakedepends="pkg-config"
makedepends="SFML-devel ffmpeg-devel fontconfig-devel glu-devel libarchive-devel
 libcurl-devel libjpeg-turbo-devel xine-lib rapidjson"
depends="git"
short_desc="Attract-Mode is a graphical frontend for emulators"
maintainer="Pedro Narciso García Revington <p.revington@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://attractmode.org/"
distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz"
checksum=4c17641ce0a0b9ff77da5e75f0cb26cc48e4c6295ef57d86a37db18b2bd9fbe9

CFLAGS="-std=gnu++11 \
	-I extlibs/audio/include \
	-I extlibs/gameswf \
	-I extlibs/nowide \
	-I extlibs/sqrat/include \
	-I extlibs/squirrel/include \
	-I ${XBPS_CROSS_BASE}/usr/include/freetype2 \
	-I ${XBPS_CROSS_BASE}/usr/include/SFML"
