summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2014-11-26 02:14:54 +0000
committerYixun Lan <dlan@gentoo.org>2014-11-26 02:14:54 +0000
commitbe2eba42bdf8872978fb5e4d08115cbbfbc5ee30 (patch)
tree7dfbe44fca07a8313c3f07a5f141e4417f771f3d
parentDrop jruby. Fix deps for ruby21. (diff)
downloadgentoo-2-be2eba42bdf8872978fb5e4d08115cbbfbc5ee30.tar.gz
gentoo-2-be2eba42bdf8872978fb5e4d08115cbbfbc5ee30.tar.bz2
gentoo-2-be2eba42bdf8872978fb5e4d08115cbbfbc5ee30.zip
version bump, bug 517724, update libsdl2 as new dep
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
-rw-r--r--dev-util/gource/ChangeLog9
-rw-r--r--dev-util/gource/gource-0.43.ebuild62
2 files changed, 69 insertions, 2 deletions
diff --git a/dev-util/gource/ChangeLog b/dev-util/gource/ChangeLog
index c3cd7a12ef5b..45e7d818535c 100644
--- a/dev-util/gource/ChangeLog
+++ b/dev-util/gource/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/gource
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gource/ChangeLog,v 1.29 2013/09/18 08:28:37 flameeyes Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gource/ChangeLog,v 1.30 2014/11/26 02:14:54 dlan Exp $
+
+*gource-0.43 (26 Nov 2014)
+
+ 26 Nov 2014; Yixun Lan <dlan@gentoo.org> +gource-0.43.ebuild:
+ version bump, bug 517724, update libsdl2 as new dep
18 Sep 2013; Diego E. Pettenò <flameeyes@gentoo.org> gource-0.40.ebuild:
Fix bug #479896. Patch by Enrico Tagliavini.
diff --git a/dev-util/gource/gource-0.43.ebuild b/dev-util/gource/gource-0.43.ebuild
new file mode 100644
index 000000000000..5f94dfb4e4f4
--- /dev/null
+++ b/dev-util/gource/gource-0.43.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gource/gource-0.43.ebuild,v 1.1 2014/11/26 02:14:54 dlan Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic versionator
+
+MY_P=${P/_p/-}
+MY_P=${MY_P/_/-}
+MY_DATE=${PV/*_p}
+
+DESCRIPTION="A software version control visualization tool"
+HOMEPAGE="http://code.google.com/p/gource/"
+SRC_URI="https://github.com/acaudwell/Gource/releases/download/${P}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/boost-1.46:=[threads(+)]
+ >=media-libs/glew-1.5
+ >=media-libs/libpng-1.2
+ media-libs/libsdl2[video,opengl,X]
+ media-libs/sdl2-image[jpeg,png]
+ dev-libs/libpcre:3
+ dev-libs/tinyxml
+ media-fonts/freefont
+ media-libs/freetype:2
+ media-libs/mesa
+ virtual/glu
+ virtual/jpeg
+ "
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ >=media-libs/glm-0.9.3
+ "
+
+case ${PV} in
+ *_beta*)
+ my_v=$(get_version_component_range 1-3)
+ my_v=${my_v//_/-}
+ S="${WORKDIR}/${PN}-${my_v}" ;;
+ *)
+ S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" ;;
+esac
+
+src_configure() {
+ # fix bug #386525
+ # this enable 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
+}
+
+DOCS=( README ChangeLog THANKS )