Gentoo Archives: gentoo-commits

From: "Jurek Bartuszek (jurek)" <jurek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/codeblocks: ChangeLog codeblocks-8.02.ebuild
Date: Sun, 01 Jun 2008 00:12:52
Message-Id: E1K2bBm-0000J9-Sc@stork.gentoo.org
1 jurek 08/06/01 00:12:46
2
3 Modified: ChangeLog
4 Added: codeblocks-8.02.ebuild
5 Log:
6 dev-util/codeblocks: version bump (bug #211865)
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.13 dev-util/codeblocks/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/codeblocks/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/codeblocks/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/codeblocks/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 30 Jan 2008 23:39:21 -0000 1.12
23 +++ ChangeLog 1 Jun 2008 00:12:46 -0000 1.13
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/codeblocks
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.12 2008/01/30 23:39:21 jurek Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.13 2008/06/01 00:12:46 jurek Exp $
29 +
30 +*codeblocks-8.02 (01 Jun 2008)
31 +
32 + 01 Jun 2008; Jurek Bartuszek <jurek@g.o> +files/8.02-version.patch,
33 + +codeblocks-8.02.ebuild:
34 + Version bump (bug #211865)
35
36 30 Jan 2008; Jurek Bartuszek <jurek@g.o>
37 codeblocks-1.0_pre20071215.ebuild:
38
39
40
41 1.1 dev-util/codeblocks/codeblocks-8.02.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/codeblocks/codeblocks-8.02.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/codeblocks/codeblocks-8.02.ebuild?rev=1.1&content-type=text/plain
45
46 Index: codeblocks-8.02.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-8.02.ebuild,v 1.1 2008/06/01 00:12:46 jurek Exp $
51
52 inherit autotools wxwidgets flag-o-matic eutils
53
54 WX_GTK_VER="2.8"
55
56 DESCRIPTION="free cross-platform C/C++ IDE"
57 HOMEPAGE="http://www.codeblocks.org/"
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~x86 ~amd64"
61 SRC_URI="mirror://sourceforge/codeblocks/${P}-src.tar.bz2"
62
63 IUSE="contrib debug pch static unicode"
64
65 RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}*
66 x11-libs/gtk+"
67
68 DEPEND="${RDEPEND}
69 >=sys-devel/autoconf-2.5.0
70 >=sys-devel/automake-1.7
71 >=sys-devel/libtool-1.4
72 app-arch/zip"
73
74 pkg_setup() {
75 if use unicode; then
76 need-wxwidgets "unicode"
77 else
78 need-wxwidgets "gtk2"
79 fi
80 }
81
82 src_unpack() {
83 unpack ${A}
84 epatch "${FILESDIR}/${PV}-version.patch"
85 #epatch "${FILESDIR}/${PV}-install-plugins.patch"
86 cd "${S}"
87 find src/plugins -name Makefile.am -exec \
88 sed -i -e 's#^libdir#pluginsdir#' \
89 -e 's#^lib_LTLIBRARIES#plugins_LTLIBRARIES#' \
90 '{}' \;
91 # This one's buggy
92 sed -i -e 's#^plugins_LTLIBRARIES#lib_LTLIBRARIES#' \
93 src/plugins/contrib/wxSmith/Makefile.am
94
95 eautoreconf || die "autoreconf failed"
96 # ./bootstrap || die "boostrap failed"
97 }
98
99 src_compile() {
100 # C::B is picky on CXXFLAG -fomit-frame-pointer
101 # (project-wizard crash, instability ...)
102 filter-flags -fomit-frame-pointer
103 append-flags -fno-strict-aliasing
104
105 cd "${S}"
106 local myconf="$(use_enable pch)"
107 # $(use_enable autosave) \
108 # $(use_enable class-wizard) \
109 # $(use_enable code-completion) \
110 # $(use_enable compiler) \
111 # $(use_enable debuger) \
112 # $(use_enable mime-handler) \
113 # $(use_enable open-files-list) \
114 #
115 # $(use_enable projects-importer) \
116 # $(use_enable source-formatter) \
117 # $(use_enable todo) \
118 # $(use_enable xpmanifest)
119
120 if use contrib; then
121 myconf="${myconf} --with-contrib-plugins=all"
122 fi
123 econf --with-wx-config="${WX_CONFIG}" \
124 --enable-dependency-tracking \
125 $(use_enable unicode) \
126 $(use_enable debug) \
127 $(use_enable static) \
128 ${myconf} || die "Died in action: econf ..."
129 emake || die "Died in action: make ..."
130 }
131
132 src_install() {
133 einstall || die "Install failed"
134 }
135
136
137
138 --
139 gentoo-commits@l.g.o mailing list