diff options
Diffstat (limited to 'dev-util/codeblocks/codeblocks-20.03-r7.ebuild')
| -rw-r--r-- | dev-util/codeblocks/codeblocks-20.03-r7.ebuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/dev-util/codeblocks/codeblocks-20.03-r7.ebuild b/dev-util/codeblocks/codeblocks-20.03-r7.ebuild index eebbb8597cad..ec7b50a3be12 100644 --- a/dev-util/codeblocks/codeblocks-20.03-r7.ebuild +++ b/dev-util/codeblocks/codeblocks-20.03-r7.ebuild @@ -5,13 +5,10 @@ EAPI=8 WX_GTK_VER="3.0-gtk3" -inherit autotools flag-o-matic wxwidgets xdg +inherit autotools flag-o-matic multiprocessing wxwidgets xdg DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE" HOMEPAGE="https://codeblocks.org/" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz @@ -19,6 +16,10 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz https://dev.gentoo.org/~leio/distfiles/${P}-codecompletion-symbolbrowser-update.tar.xz " +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc ~x86" + # USE="fortran" enables FortranProject plugin (updated to v1.8 2021-05-29 [r230]) # that is delivered with Code::Blocks 20.03 source code. # https://sourceforge.net/projects/fortranproject @@ -84,6 +85,18 @@ src_configure() { econf "${myeconfargs[@]}" } +src_compile() { + if use contrib; then + if (( $(get_makeopts_jobs) > 8 )); then + emake -j8 # Bug 930819 + else + emake + fi + else + emake + fi +} + src_install() { default find "${ED}" -type f -name '*.la' -delete || die |
