dev-util/gource: version bump 0.48
authorMichael Palimaka <kensington@gentoo.org>
Fri, 16 Feb 2018 11:02:49 +0000 (22:02 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Fri, 16 Feb 2018 11:03:12 +0000 (22:03 +1100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-util/gource/Manifest
dev-util/gource/gource-0.48.ebuild [new file with mode: 0644]

index 93f7e504f9fb9a98dfb474989a59301906300886..b87dea2a1558d923d1fdfe00c563e257f08644d4 100644 (file)
@@ -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 (file)
index 0000000..cd54b4e
--- /dev/null
@@ -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
+}