# Template file for 'gource'
pkgname=gource
version=0.38
revision=2
build_style=gnu-configure
configure_args="--enable-ttf-font-dir=/usr/share/fonts/TTF"
short_desc="Software version control visualization"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="https://code.google.com/p/gource/"
distfiles="https://gource.googlecode.com/files/gource-${version}.tar.gz"
checksum=9b250a70c1fbe9383a22673931bbc4ff43d669da5d6c1e18b5b3329ad2154505
long_desc="
 Software projects are displayed by Gource as an animated tree with the root
 directory of the project at its centre. Directories appear as branches with
 files as leaves. Developers can be seen working on the tree at the times
 they contributed to the project.

 Currently Gource includes built-in log generation support for Git, Mercurial
 and Bazaar and SVN (as of 0.29). Gource can also parse logs produced by
 several third party tools for CVS repositories."

makedepends="pkg-config SDL-devel SDL_image-devel glew-devel>=1.9.0 glu-devel
 freetype-devel boost-devel glm pcre-devel"

pre_configure() {
	sed -i "s/filesystem3/filesystem/g" src/logmill.cpp
}