Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/codeblocks: codeblocks-9999.ebuild ChangeLog
Date: Fri, 02 Jul 2010 23:23:09
Message-Id: 20100702232304.E0EDC2C621@corvid.gentoo.org
1 dirtyepic 10/07/02 23:23:04
2
3 Modified: ChangeLog
4 Added: codeblocks-9999.ebuild
5 Log:
6 Add live ebuild from keenblade for bug #296484.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 dev-util/codeblocks/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/codeblocks/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/codeblocks/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/codeblocks/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 2 Jul 2010 22:04:11 -0000 1.18
23 +++ ChangeLog 2 Jul 2010 23:23:04 -0000 1.19
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/codeblocks
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.18 2010/07/02 22:04:11 dirtyepic Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.19 2010/07/02 23:23:04 dirtyepic Exp $
29 +
30 +*codeblocks-9999 (02 Jul 2010)
31 +
32 + 02 Jul 2010; Ryan Hill <dirtyepic@g.o> +codeblocks-9999.ebuild:
33 + Add live ebuild from keenblade for bug #296484.
34
35 *codeblocks-10.05 (02 Jul 2010)
36
37
38
39
40 1.1 dev-util/codeblocks/codeblocks-9999.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/codeblocks/codeblocks-9999.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/codeblocks/codeblocks-9999.ebuild?rev=1.1&content-type=text/plain
44
45 Index: codeblocks-9999.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-9999.ebuild,v 1.1 2010/07/02 23:23:04 dirtyepic Exp $
50
51 EAPI="2"
52 WX_GTK_VER="2.8"
53
54 inherit autotools flag-o-matic subversion wxwidgets
55
56 DESCRIPTION="The open source, cross platform, free C++ IDE."
57 HOMEPAGE="http://www.codeblocks.org/"
58 ESVN_REPO_URI="svn://svn.berlios.de/${PN}/trunk"
59 SRC_URI=""
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS=""
63 IUSE="contrib debug pch static-libs"
64
65 RDEPEND="x11-libs/wxGTK:2.8[X]"
66 DEPEND="${RDEPEND}
67 app-arch/zip
68 sys-devel/libtool:2"
69
70 src_prepare() {
71 # Let's make the autorevision work.
72 subversion_wc_info
73 CB_LCD=$(LC_ALL=C svn info "${ESVN_WC_PATH}" | grep "^Last Changed Date:" | cut -d" " -f4,5)
74 echo "m4_define([SVN_REV], ${ESVN_WC_REVISION})" > revision.m4
75 echo "m4_define([SVN_DATE], ${CB_LCD})" >> revision.m4
76 eautoreconf
77 }
78
79 src_configure() {
80 # C::B is picky on CXXFLAG -fomit-frame-pointer
81 # (project-wizard crash, instability ...)
82 filter-flags -fomit-frame-pointer
83 append-flags -fno-strict-aliasing
84
85 econf \
86 --with-wx-config="${WX_CONFIG}" \
87 $(use_enable debug) \
88 $(use_enable pch) \
89 $(use_enable static-libs static) \
90 $(use_with contrib contrib-plugins all)
91 }
92
93 src_compile() {
94 emake clean-zipfiles || die '"emake clean-zipfiles" failed'
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake DESTDIR="${D}" install || die "Install failed"
100 }