void-packages/srcpkgs/attract/template

26 lines
936 B
Bash

# Template file for 'attract'
pkgname=attract
version=2.5.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"
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=c3bfb339989cc32b961457eba8f4517a56ec619cd9eaf4ab84bdab6b96b1b4ee
CFLAGS="-std=gnu++11"
CFLAGS+=" -I extlibs/audio/include"
CFLAGS+=" -I extlibs/gameswf"
CFLAGS+=" -I extlibs/nowide"
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"