summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-09-07 23:48:24 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-09-07 23:48:48 +1000
commit63e398c49f28072081a7a2f2b47853c6d8995280 (patch)
tree34487df9cbbee0173d0fd00843cd18504f2bab39 /dev-util/gource
parentdev-cpp/waylandpp: -9999 use newly added LIBDIR option (diff)
downloadgentoo-63e398c49f28072081a7a2f2b47853c6d8995280.tar.gz
gentoo-63e398c49f28072081a7a2f2b47853c6d8995280.tar.bz2
gentoo-63e398c49f28072081a7a2f2b47853c6d8995280.zip
dev-util/gource: version bump 0.46
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-util/gource')
-rw-r--r--dev-util/gource/Manifest1
-rw-r--r--dev-util/gource/gource-0.46.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest
index b2bcec54c8b3..7f1a8b78d1c6 100644
--- a/dev-util/gource/Manifest
+++ b/dev-util/gource/Manifest
@@ -1 +1,2 @@
DIST gource-0.44.tar.gz 875131 SHA256 2604ca4442305ffdc5bb1a7bac07e223d59c846f93567be067e8dfe2f42f097c SHA512 4cdc7824f8f5b4aa7004135e59157ebf731730bc2dab0120ab919240576939b0e13dc6a09df79fcdb55cc7b4628c3887f5eca7ab0fa73d5e7bf5ad49c7cf898c WHIRLPOOL 55d637d7c2306f87b1ea4acd12f639033cf15b627a06d9d7eb2a4a2bb5bc79b78f0ff1ca949cad1eb4fd77586411662a84838abb65b19e4a7e3b3bef537a5eea
+DIST gource-0.46.tar.gz 876639 SHA256 9aafdc072e4508990965da246ca17ab94c6937649030bf49de371126fc8479dd SHA512 5470ae31172623f5129ca609f039995dfa3338bb100241e6f3b9ccac55948b3400068ae6faf180c78fd63efb284e7624515383d4150f60648e4bb3e1819fee31 WHIRLPOOL 0ee43bdd6526cfb3d4af62cf7365bba51ebd0644562ef75b752586f516b5cc990ab817e069e9efaf090d6dfff1cc13d2d6b64ff0aec0df517243fa42eda07b39
diff --git a/dev-util/gource/gource-0.46.ebuild b/dev-util/gource/gource-0.46.ebuild
new file mode 100644
index 000000000000..a5617ffb831d
--- /dev/null
+++ b/dev-util/gource/gource-0.46.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 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
+}