forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
- Loading branch information
1 parent
41b1bcd
commit 63e398c
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |