void-packages/srcpkgs/attract/template
2018-05-09 17:28:47 +02:00

24 lines
898 B
Bash

# Template file for 'attract'
pkgname=attract
version=2.3.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=561c5bcd9a10d216c2f43de7eb9224fa000d5ac8690e2d41cb4a8cec86b72583
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"