diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-12 14:32:48 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-12 14:32:48 +0000 |
| commit | 2ea9e9988bb62d22d6e189a65a0dc0218b8103db (patch) | |
| tree | dba985637358ca69fdb87390fc5711880f1959e7 /dev-util/codeblocks/codeblocks-20.03-r7.ebuild | |
| parent | c2f35c3c3b326b5a16c2f7f7cb347716f3865254 (diff) | |
| download | srcux-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.tar.gz srcux-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.tar.xz srcux-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.zip | |
Adding metadata
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 |
