summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-02-16 22:02:49 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-02-16 22:03:12 +1100
commite622ab8737c8f9320856b7b16a3723eb51dff15d (patch)
tree361af70a4e1d3d4920d2cd1ac45c804afcae8742 /dev-util/gource
parentgames-puzzle/nudoku: New package, version 0.2.5 (diff)
downloadgentoo-e622ab8737c8f9320856b7b16a3723eb51dff15d.tar.gz
gentoo-e622ab8737c8f9320856b7b16a3723eb51dff15d.tar.bz2
gentoo-e622ab8737c8f9320856b7b16a3723eb51dff15d.zip
dev-util/gource: version bump 0.48
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util/gource')
-rw-r--r--dev-util/gource/Manifest1
-rw-r--r--dev-util/gource/gource-0.48.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest
index 93f7e504f9fb..b87dea2a1558 100644
--- a/dev-util/gource/Manifest
+++ b/dev-util/gource/Manifest
@@ -1 +1,2 @@
DIST gource-0.47.tar.gz 876624 BLAKE2B bb54650d4d642c15c4c83028b077b8b76fb15e7d1da1f523ef323ff7d58fcc97fa936cfceaaa18628fe6881c7a4f0f84e48e4d0ad66ae5f7bb188581fca346c1 SHA512 8b2c4c20f5266823846ee2ff18e4b793b35af4c65ab466b962aa2861d2fc8b3b9f7614db14ad8b3745548d3921ecd8163d58bb7ef67e7e4ca07f381565c85d14
+DIST gource-0.48.tar.gz 873333 BLAKE2B 95b876b486f0215f7516cb2bb940dd00771f67659cb2d10ad23e9da0732a51e3f2030d8f7599a8be901f0211bf1c484964f1fb66696be01c990a7b99d1123084 SHA512 5b638cac9b464c0d8f0df87ae0115c36d314cce9cd0ce269b05e0a635ff6f23e62d06d0def484b796267299041e4de675cb13a0381b19d9144bbdc1d3b7f1b16
diff --git a/dev-util/gource/gource-0.48.ebuild b/dev-util/gource/gource-0.48.ebuild
new file mode 100644
index 000000000000..cd54b4eb2266
--- /dev/null
+++ b/dev-util/gource/gource-0.48.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
+}