void-packages/srcpkgs/attract/template

25 lines
898 B
Bash

# Template file for 'attract'
pkgname=attract
version=2.4.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=ce75bfc9ca928ad8fe6b4bd7b0ae425eba3806dca06c9cbbe5ee0ce6ce3ea788
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"