Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/gource: gource-0.38.ebuild ChangeLog
Date: Sat, 28 Apr 2012 20:58:51
Message-Id: 20120428205838.16D1E2004B@flycatcher.gentoo.org
1 flameeyes 12/04/28 20:58:38
2
3 Modified: ChangeLog
4 Added: gource-0.38.ebuild
5 Log:
6 Version bump, thanks to Enrico.
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 dev-util/gource/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gource/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gource/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gource/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/gource/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 21 Oct 2011 09:26:34 -0000 1.17
24 +++ ChangeLog 28 Apr 2012 20:58:38 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/gource
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gource/ChangeLog,v 1.17 2011/10/21 09:26:34 flameeyes Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gource/ChangeLog,v 1.18 2012/04/28 20:58:38 flameeyes Exp $
31 +
32 +*gource-0.38 (28 Apr 2012)
33 +
34 + 28 Apr 2012; Diego E. Pettenò <flameeyes@g.o> +gource-0.38.ebuild:
35 + Version bump, thanks to Enrico.
36
37 *gource-0.37 (21 Oct 2011)
38
39
40
41
42 1.1 dev-util/gource/gource-0.38.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gource/gource-0.38.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gource/gource-0.38.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gource-0.38.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/gource/gource-0.38.ebuild,v 1.1 2012/04/28 20:58:37 flameeyes Exp $
52
53 EAPI=2
54
55 inherit autotools flag-o-matic versionator
56
57 MY_P=${P/_p/-}
58 MY_P=${MY_P/_/-}
59 MY_DATE=${PV/*_p}
60
61 DESCRIPTION="A software version control visualization tool"
62 HOMEPAGE="http://code.google.com/p/gource/"
63 SRC_URI="http://gource.googlecode.com/files/${MY_P}.tar.gz"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE=""
69
70 RDEPEND="
71 >=media-libs/libsdl-1.2.10[opengl,X]
72 >=media-libs/sdl-image-1.2[jpeg,png]
73 dev-libs/libpcre:3
74 >=media-libs/libpng-1.2
75 virtual/jpeg
76 media-libs/mesa
77 media-fonts/freefont-ttf
78 >=media-libs/glew-1.5
79 dev-libs/tinyxml
80 >=dev-libs/boost-1.46
81 "
82 DEPEND="
83 ${RDEPEND}
84 dev-util/pkgconfig
85 media-libs/freetype:2
86 >=media-libs/glm-0.9.3
87 "
88
89 case ${PV} in
90 *_beta*)
91 my_v=$(get_version_component_range 1-3)
92 my_v=${my_v//_/-}
93 S="${WORKDIR}/${PN}-${my_v}" ;;
94 *)
95 S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" ;;
96 esac
97
98 src_prepare() {
99 eautoreconf
100 }
101
102 src_configure() {
103 # fix bug #386525
104 # this enable gource to be compiled against dev-libs/tinyxml[stl]
105 if has_version dev-libs/tinyxml[stl]; then
106 append-cppflags -DTIXML_USE_STL;
107 fi
108 econf --enable-ttf-font-dir=/usr/share/fonts/freefont-ttf/ \
109 --with-tinyxml
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die "Install failed"
114 dodoc README ChangeLog THANKS || die "dodoc failed"
115 }