summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-11-25 21:33:10 +1100
committerMichael Palimaka <kensington@gentoo.org>2019-11-25 21:33:21 +1100
commitf0f8eede7e255526ba2bffbe8bb6a3146571d1a7 (patch)
tree055ab7c82351d0f74fcb439314ea56c4be1f1f7b /dev-util/gource
parentapp-text/ansifilter: version bump 2.15 (diff)
downloadgentoo-f0f8eede7e255526ba2bffbe8bb6a3146571d1a7.tar.gz
gentoo-f0f8eede7e255526ba2bffbe8bb6a3146571d1a7.tar.bz2
gentoo-f0f8eede7e255526ba2bffbe8bb6a3146571d1a7.zip
dev-util/gource: version bump 0.51
Package-Manager: Portage-2.3.76, Repoman-2.3.18 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-util/gource')
-rw-r--r--dev-util/gource/Manifest1
-rw-r--r--dev-util/gource/gource-0.51.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest
index 1ed66d04d7a0..46762be358e1 100644
--- a/dev-util/gource/Manifest
+++ b/dev-util/gource/Manifest
@@ -1 +1,2 @@
DIST gource-0.49.tar.gz 874349 BLAKE2B b7d24f415944921deb7df33be4e9918291f5df6dd4813bf98727894e0192b881a583a1dacec2d6e8f2d1a0d6b644bc3b735ef8d7c0b7882d77bcd80913fe08c5 SHA512 cb3482dd06cf38bd775f2ac4b8f3bee78e480dd51e37527024df6e59d6e613290297d65e167a21364aa6251eff78a50ecc8a5fd3772a6e9a4ad22ca21b4b615e
+DIST gource-0.51.tar.gz 882783 BLAKE2B 86a95a55ef9e1ec50e19a4859163d7cdc2733b7c55a68e4d2db493e4c6587682b900b2c73525131972da4dde9fc4d9fa41ba728bdc56fd46fc6a559cb4d837f0 SHA512 f29326ffb2aa6f645fb941e08e41f0cbf8dd894d5a4d607b782caeb12a24e6446198027060b880e0ad14a36efbed19023620dd8c890cfc0c027fc90ac2d5be24
diff --git a/dev-util/gource/gource-0.51.ebuild b/dev-util/gource/gource-0.51.ebuild
new file mode 100644
index 000000000000..a1e9aa52d6f9
--- /dev/null
+++ b/dev-util/gource/gource-0.51.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="A software version control visualization tool"
+HOMEPAGE="https://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[X(+)]
+ virtual/glu:0
+"
+RDEPEND="${COMMON_DEPEND}
+ media-fonts/freefont
+"
+DEPEND="${COMMON_DEPEND}
+ >=media-libs/glm-0.9.3
+"
+BDEPEND="virtual/pkgconfig"
+
+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
+}