commit:     60ee9c52ea1bdd64b925b49fa77cea5a655db067
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 29 23:29:36 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Jun 29 23:29:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ee9c52

dev-util/gource: version bump 0.49

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/gource/Manifest           |  1 +
 dev-util/gource/gource-0.49.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest
index aea94872bb5..8b1de61bf44 100644
--- a/dev-util/gource/Manifest
+++ b/dev-util/gource/Manifest
@@ -1 +1,2 @@
 DIST gource-0.48.tar.gz 873333 BLAKE2B 
95b876b486f0215f7516cb2bb940dd00771f67659cb2d10ad23e9da0732a51e3f2030d8f7599a8be901f0211bf1c484964f1fb66696be01c990a7b99d1123084
 SHA512 
5b638cac9b464c0d8f0df87ae0115c36d314cce9cd0ce269b05e0a635ff6f23e62d06d0def484b796267299041e4de675cb13a0381b19d9144bbdc1d3b7f1b16
+DIST gource-0.49.tar.gz 874349 BLAKE2B 
b7d24f415944921deb7df33be4e9918291f5df6dd4813bf98727894e0192b881a583a1dacec2d6e8f2d1a0d6b644bc3b735ef8d7c0b7882d77bcd80913fe08c5
 SHA512 
cb3482dd06cf38bd775f2ac4b8f3bee78e480dd51e37527024df6e59d6e613290297d65e167a21364aa6251eff78a50ecc8a5fd3772a6e9a4ad22ca21b4b615e

diff --git a/dev-util/gource/gource-0.49.ebuild 
b/dev-util/gource/gource-0.49.ebuild
new file mode 100644
index 00000000000..cd54b4eb226
--- /dev/null
+++ b/dev-util/gource/gource-0.49.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="A software version control visualization tool"
+HOMEPAGE="http://gource.io/";
+SRC_URI="https://github.com/acaudwell/Gource/releases/download/${P}/${P}.tar.gz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+       >=dev-libs/boost-1.46:=[threads(+)]
+       >=media-libs/glew-1.5:0=
+       >=media-libs/libpng-1.2:0=
+       media-libs/libsdl2[video,opengl,X]
+       media-libs/sdl2-image[jpeg,png]
+       dev-libs/libpcre:3
+       dev-libs/tinyxml
+       media-libs/freetype:2
+       media-libs/mesa
+       virtual/glu:0
+"
+RDEPEND="${COMMON_DEPEND}
+       media-fonts/freefont
+"
+DEPEND="${COMMON_DEPEND}
+       virtual/pkgconfig
+       >=media-libs/glm-0.9.3
+"
+
+DOCS=( README ChangeLog THANKS )
+
+src_configure() {
+       # fix bug #386525
+       # this enables gource to be compiled against dev-libs/tinyxml[stl]
+       if has_version dev-libs/tinyxml[stl]; then
+               append-cppflags -DTIXML_USE_STL;
+       fi
+
+       econf \
+               --enable-ttf-font-dir=/usr/share/fonts/freefont/ \
+               --with-tinyxml
+}

Reply via email to