summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2022-06-24 18:49:15 +1000
committerMichael Palimaka <kensington@gentoo.org>2022-06-24 18:49:15 +1000
commit7493ca03d411ff485cb316b7ae65bdfc00bb2759 (patch)
tree565398ac73a40a42c357d5fd92799d0cb2605b5d /dev-util
parentsys-libs/libapparmor: remove 3.0.3-r0 (diff)
downloadgentoo-7493ca03d411ff485cb316b7ae65bdfc00bb2759.tar.gz
gentoo-7493ca03d411ff485cb316b7ae65bdfc00bb2759.tar.bz2
gentoo-7493ca03d411ff485cb316b7ae65bdfc00bb2759.zip
dev-util/gource: version bump 0.53
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gource/Manifest1
-rw-r--r--dev-util/gource/gource-0.53.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest
index ddd491d5ee51..19f24f027dd1 100644
--- a/dev-util/gource/Manifest
+++ b/dev-util/gource/Manifest
@@ -1,2 +1,3 @@
DIST gource-0.51.tar.gz 882783 BLAKE2B 86a95a55ef9e1ec50e19a4859163d7cdc2733b7c55a68e4d2db493e4c6587682b900b2c73525131972da4dde9fc4d9fa41ba728bdc56fd46fc6a559cb4d837f0 SHA512 f29326ffb2aa6f645fb941e08e41f0cbf8dd894d5a4d607b782caeb12a24e6446198027060b880e0ad14a36efbed19023620dd8c890cfc0c027fc90ac2d5be24
DIST gource-0.52.tar.gz 899916 BLAKE2B 84cd4e21402157228f2eaa2c168a7cebf5176e98efe19f04927abc08602e58896a15e6888b5223b977105f2a5b124ed571f30445e6802cf30217e6a91d885520 SHA512 246e8b196f52f4a224e1f81c05ca0970002d15b26e2bb454826c5373bb3a53894abb5c7e6c940a5a540f5e29795093ca7c14dd003708f44df1bbd88faed1433c
+DIST gource-0.53.tar.gz 900932 BLAKE2B 7f2822b11b5eaeb5345ade1326702109dff120d3ef8c523a2425a84b54d357a29cfe23a9c4a253b287d570e74943cb67bb80753c6c698f9f60739735cb41769b SHA512 e4190eb581d9998808d1bb4f18ba5a3ae22bacf643b9a150c7d1607e97fca2eab720592aefdcc6a47f92adb4a8df17db48bb941a67ee3d23a10f300754f473be
diff --git a/dev-util/gource/gource-0.53.ebuild b/dev-util/gource/gource-0.53.ebuild
new file mode 100644
index 000000000000..15e24379c6be
--- /dev/null
+++ b/dev-util/gource/gource-0.53.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools 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/libpcre2:=
+ dev-libs/tinyxml
+ media-libs/libglvnd[X]
+ media-libs/freetype:2
+ virtual/glu:0
+"
+RDEPEND="${COMMON_DEPEND}
+ media-fonts/freefont
+"
+DEPEND="${COMMON_DEPEND}
+ >=media-libs/glm-0.9.3
+"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( README.md ChangeLog THANKS )
+
+src_prepare() {
+ default
+
+ sed -e "/data\/gource.1/s/^/#/" -i Makefile.am || die
+ eautoreconf
+}
+
+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
+}
+
+src_install() {
+ default
+ doman data/gource.1
+}