commit: 5f8ae790e0077f24e129df45b6a833ace70e6bcb Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Oct 25 11:09:06 2015 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Oct 25 11:09:15 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f8ae790
dev-util/codeblocks: Support wxGTK:3.0 Package-Manager: portage-2.2.23 ...ocks-9999.ebuild => codeblocks-13.12-r1.ebuild} | 32 +++++----------------- dev-util/codeblocks/codeblocks-9999.ebuild | 5 ++-- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-13.12-r1.ebuild similarity index 51% copy from dev-util/codeblocks/codeblocks-9999.ebuild copy to dev-util/codeblocks/codeblocks-13.12-r1.ebuild index 878c44b..fa0a728 100644 --- a/dev-util/codeblocks/codeblocks-9999.ebuild +++ b/dev-util/codeblocks/codeblocks-13.12-r1.ebuild @@ -1,24 +1,23 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" -WX_GTK_VER="2.8" +WX_GTK_VER="3.0" -inherit autotools eutils subversion wxwidgets +inherit eutils wxwidgets DESCRIPTION="The open source, cross platform, free C++ IDE" HOMEPAGE="http://www.codeblocks.org/" LICENSE="GPL-3" SLOT="0" -KEYWORDS="" -SRC_URI="" -ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd" +SRC_URI="mirror://sourceforge/codeblocks/${P/-/_}-1.tar.gz" IUSE="contrib debug pch static-libs" RDEPEND="app-arch/zip - x11-libs/wxGTK:2.8[X] + x11-libs/wxGTK:${WX_GTK_VER}[X] contrib? ( app-text/hunspell dev-libs/boost:= @@ -27,20 +26,8 @@ RDEPEND="app-arch/zip DEPEND="${RDEPEND} virtual/pkgconfig" -src_unpack() { - subversion_src_unpack -} - -src_prepare() { - # Let's make the autorevision work. - subversion_wc_info - CB_LCD=$(LC_ALL=C svn info "${ESVN_WC_PATH}" | grep "^Last Changed Date:" | cut -d" " -f4,5) - echo "m4_define([SVN_REV], ${ESVN_WC_REVISION})" > revision.m4 - echo "m4_define([SVN_DATE], ${CB_LCD})" >> revision.m4 - eautoreconf -} - src_configure() { + need-wxwidgets unicode econf \ --with-wx-config="${WX_CONFIG}" \ $(use_enable debug) \ @@ -49,11 +36,6 @@ src_configure() { $(use_with contrib contrib-plugins all) } -src_compile() { - emake clean-zipfiles - emake -} - src_install() { default prune_libtool_files diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild index 878c44b..d103c98 100644 --- a/dev-util/codeblocks/codeblocks-9999.ebuild +++ b/dev-util/codeblocks/codeblocks-9999.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI="5" -WX_GTK_VER="2.8" +WX_GTK_VER="3.0" inherit autotools eutils subversion wxwidgets @@ -18,7 +18,7 @@ ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk" IUSE="contrib debug pch static-libs" RDEPEND="app-arch/zip - x11-libs/wxGTK:2.8[X] + x11-libs/wxGTK:${WX_GTK_VER}[X] contrib? ( app-text/hunspell dev-libs/boost:= @@ -41,6 +41,7 @@ src_prepare() { } src_configure() { + need-wxwidgets unicode econf \ --with-wx-config="${WX_CONFIG}" \ $(use_enable debug) \