# Template file for 'attract'
pkgname=attract
version=2.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
make_build_args="VERBOSE=1"
makedepends="xine-lib glu-devel libjpeg-turbo-devel SFML-devel
 libopenal-devel ffmpeg-devel fontconfig-devel libarchive-devel"
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"
homepage="http://attractmode.org/"
distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz"
checksum=fa47322f3c311be1fad3072283395fb3ac2d1681dff06af1eb1bbe23aaa19e79

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