diff options
author | Michael Palimaka <kensington@gentoo.org> | 2022-04-24 22:49:17 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2022-04-24 22:49:17 +1000 |
commit | 15f48fb336e9a34759ed734b94305f9a99d9d0c9 (patch) | |
tree | e2d4fc5aa4553306057df7b52f813f79a38a03ee /dev-util/gource | |
parent | dev-ml/ppx_assert: 0.15.0 bump (diff) | |
download | gentoo-15f48fb336e9a34759ed734b94305f9a99d9d0c9.tar.gz gentoo-15f48fb336e9a34759ed734b94305f9a99d9d0c9.tar.bz2 gentoo-15f48fb336e9a34759ed734b94305f9a99d9d0c9.zip |
dev-util/gource: version bump 0.52
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-util/gource')
-rw-r--r-- | dev-util/gource/Manifest | 1 | ||||
-rw-r--r-- | dev-util/gource/gource-0.52.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest index 0f6bcc3f6e50..ddd491d5ee51 100644 --- a/dev-util/gource/Manifest +++ b/dev-util/gource/Manifest @@ -1 +1,2 @@ DIST gource-0.51.tar.gz 882783 BLAKE2B 86a95a55ef9e1ec50e19a4859163d7cdc2733b7c55a68e4d2db493e4c6587682b900b2c73525131972da4dde9fc4d9fa41ba728bdc56fd46fc6a559cb4d837f0 SHA512 f29326ffb2aa6f645fb941e08e41f0cbf8dd894d5a4d607b782caeb12a24e6446198027060b880e0ad14a36efbed19023620dd8c890cfc0c027fc90ac2d5be24 +DIST gource-0.52.tar.gz 899916 BLAKE2B 84cd4e21402157228f2eaa2c168a7cebf5176e98efe19f04927abc08602e58896a15e6888b5223b977105f2a5b124ed571f30445e6802cf30217e6a91d885520 SHA512 246e8b196f52f4a224e1f81c05ca0970002d15b26e2bb454826c5373bb3a53894abb5c7e6c940a5a540f5e29795093ca7c14dd003708f44df1bbd88faed1433c diff --git a/dev-util/gource/gource-0.52.ebuild b/dev-util/gource/gource-0.52.ebuild new file mode 100644 index 000000000000..15e24379c6be --- /dev/null +++ b/dev-util/gource/gource-0.52.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 +} |