Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 576730

Summary: dev-util/codeblocks-16.01 version bump
Product: Gentoo Linux Reporter: Aldo Mazzeo <aldo.mazzeo>
Component: Current packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED FIXED    
Severity: enhancement CC: iskatu, vityokster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aldo Mazzeo 2016-03-07 22:10:10 UTC
Would it be possible to perform this version bump?
Comment 1 chris_speed 2016-05-18 11:40:40 UTC
preliminary solution

install local overlay

And write in the ebuild

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"
WX_GTK_VER="2.8"

inherit eutils wxwidgets

DESCRIPTION="The open source, cross platform, free C++ IDE"
HOMEPAGE="http://www.codeblocks.org/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
SRC_URI="mirror://sourceforge/codeblocks/${P/-/_}.tar.gz"

IUSE="contrib debug pch static-libs"

RDEPEND="app-arch/zip
	x11-libs/wxGTK:2.8[X]
	contrib? (
		app-text/hunspell
		dev-libs/boost:=
		dev-libs/libgamin
	)"
DEPEND="${RDEPEND}
	sys-devel/automake:1.13
	virtual/pkgconfig"

S=${WORKDIR}/${P}.release

src_configure() {
	econf \
		--with-wx-config="${WX_CONFIG}" \
		$(use_enable debug) \
		$(use_enable pch) \
		$(use_enable static-libs static) \
		$(use_with contrib contrib-plugins all)
}

src_install() {
	default
	prune_libtool_files
}

http://www.gentooforum.de/artikel/22281/kleine-schwierigkeiten-beim-ebuild-erstellen.html

Works fine :)(codeblocks-16.01)
Comment 2 Sergey Torokhov 2016-06-20 08:46:49 UTC
Please add codeblocks-16.01 ebuild to portage tree.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2016-06-24 05:48:03 UTC
Ok.  I'm keeping it at wxGTK 2.8 for now since I see lots of 3.0 fixes in trunk.