summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2008-06-01 00:12:46 +0000
committerJurek Bartuszek <jurek@gentoo.org>2008-06-01 00:12:46 +0000
commitd64a481e94b28daf4d868768d0fd3479e4643cb2 (patch)
tree8afc3d4fb21636c7b114503e5e5c611b6b69bf87 /dev-util/codeblocks
parentadded ~amd64 keyword (diff)
downloadgentoo-2-d64a481e94b28daf4d868768d0fd3479e4643cb2.tar.gz
gentoo-2-d64a481e94b28daf4d868768d0fd3479e4643cb2.tar.bz2
gentoo-2-d64a481e94b28daf4d868768d0fd3479e4643cb2.zip
dev-util/codeblocks: version bump (bug #211865)
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-util/codeblocks')
-rw-r--r--dev-util/codeblocks/ChangeLog8
-rw-r--r--dev-util/codeblocks/codeblocks-8.02.ebuild87
-rw-r--r--dev-util/codeblocks/files/8.02-version.patch8
3 files changed, 102 insertions, 1 deletions
diff --git a/dev-util/codeblocks/ChangeLog b/dev-util/codeblocks/ChangeLog
index 89c367789439..42c54500ec9b 100644
--- a/dev-util/codeblocks/ChangeLog
+++ b/dev-util/codeblocks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/codeblocks
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.12 2008/01/30 23:39:21 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.13 2008/06/01 00:12:46 jurek Exp $
+
+*codeblocks-8.02 (01 Jun 2008)
+
+ 01 Jun 2008; Jurek Bartuszek <jurek@gentoo.org> +files/8.02-version.patch,
+ +codeblocks-8.02.ebuild:
+ Version bump (bug #211865)
30 Jan 2008; Jurek Bartuszek <jurek@gentoo.org>
codeblocks-1.0_pre20071215.ebuild:
diff --git a/dev-util/codeblocks/codeblocks-8.02.ebuild b/dev-util/codeblocks/codeblocks-8.02.ebuild
new file mode 100644
index 000000000000..f250c253d1b0
--- /dev/null
+++ b/dev-util/codeblocks/codeblocks-8.02.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-8.02.ebuild,v 1.1 2008/06/01 00:12:46 jurek Exp $
+
+inherit autotools wxwidgets flag-o-matic eutils
+
+WX_GTK_VER="2.8"
+
+DESCRIPTION="free cross-platform C/C++ IDE"
+HOMEPAGE="http://www.codeblocks.org/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+SRC_URI="mirror://sourceforge/codeblocks/${P}-src.tar.bz2"
+
+IUSE="contrib debug pch static unicode"
+
+RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}*
+ x11-libs/gtk+"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.5.0
+ >=sys-devel/automake-1.7
+ >=sys-devel/libtool-1.4
+ app-arch/zip"
+
+pkg_setup() {
+ if use unicode; then
+ need-wxwidgets "unicode"
+ else
+ need-wxwidgets "gtk2"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${PV}-version.patch"
+ #epatch "${FILESDIR}/${PV}-install-plugins.patch"
+ cd "${S}"
+ find src/plugins -name Makefile.am -exec \
+ sed -i -e 's#^libdir#pluginsdir#' \
+ -e 's#^lib_LTLIBRARIES#plugins_LTLIBRARIES#' \
+ '{}' \;
+ # This one's buggy
+ sed -i -e 's#^plugins_LTLIBRARIES#lib_LTLIBRARIES#' \
+ src/plugins/contrib/wxSmith/Makefile.am
+
+ eautoreconf || die "autoreconf failed"
+# ./bootstrap || die "boostrap failed"
+}
+
+src_compile() {
+ # C::B is picky on CXXFLAG -fomit-frame-pointer
+ # (project-wizard crash, instability ...)
+ filter-flags -fomit-frame-pointer
+ append-flags -fno-strict-aliasing
+
+ cd "${S}"
+ local myconf="$(use_enable pch)"
+# $(use_enable autosave) \
+# $(use_enable class-wizard) \
+# $(use_enable code-completion) \
+# $(use_enable compiler) \
+# $(use_enable debuger) \
+# $(use_enable mime-handler) \
+# $(use_enable open-files-list) \
+#
+# $(use_enable projects-importer) \
+# $(use_enable source-formatter) \
+# $(use_enable todo) \
+# $(use_enable xpmanifest)
+
+ if use contrib; then
+ myconf="${myconf} --with-contrib-plugins=all"
+ fi
+ econf --with-wx-config="${WX_CONFIG}" \
+ --enable-dependency-tracking \
+ $(use_enable unicode) \
+ $(use_enable debug) \
+ $(use_enable static) \
+ ${myconf} || die "Died in action: econf ..."
+ emake || die "Died in action: make ..."
+}
+
+src_install() {
+ einstall || die "Install failed"
+}
diff --git a/dev-util/codeblocks/files/8.02-version.patch b/dev-util/codeblocks/files/8.02-version.patch
new file mode 100644
index 000000000000..83958ac5185e
--- /dev/null
+++ b/dev-util/codeblocks/files/8.02-version.patch
@@ -0,0 +1,8 @@
+diff -ruN codeblocks-8.02.orig/revision.m4 codeblocks-8.02/revision.m4
+--- codeblocks-8.02.orig/revision.m4 2008-03-02 00:49:23.000000000 +0300
++++ codeblocks-8.02/revision.m4 2008-03-02 12:05:16.000000000 +0300
+@@ -1,3 +1,3 @@
+ m4_define([SVN_REV], )
+-m4_define([SVN_REVISION], 1.0svn)
++m4_define([SVN_REVISION], 8.02)
+ m4_define([SVN_DATE], )