void-packages/srcpkgs/attract/template
2016-12-23 12:00:14 +01:00

24 lines
898 B
Bash

# Template file for 'attract'
pkgname=attract
version=2.2.0
revision=2
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=d350a078dec7d97498846adb56fb54210e2d4bab484a8c2cd558ce197194b07b
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"