summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* scons-utils.eclass: Switch to get_nproc from multiprocessing.eclassMichał Górny2016-12-181-29/+5
|
* multiprocessing.eclass: Support passing custom inf values for gettersMichał Górny2016-12-183-9/+18
| | | | | | | | Support passing custom values for 'infinity' in makeopts_jobs() and makeopts_loadavg(). This can be used e.g. when a build system does not support --loadavg, and therefore '--jobs 999' would most likely be a really bad idea. Combined with get_nproc(), this can be used to provide a sane replacement instead.
* multiprocessing.eclass: Introduce get_nproc() to get no of CPUsMichał Górny2016-12-181-0/+32
| | | | | | | | | | Introduce get_nproc(), a portable 'nproc' wrapper. It uses either 'nproc' or a fallback Python multiprocessing module call to attempt to determine the number of available processing units. This can be used e.g. to determine a safe number of jobs to run when MAKEOPTS specifies unlimited --jobs and the build system in question does not support --load-average.
* multiprocessing.eclass: Fix handling multiple short options (e.g. -kj)Michał Górny2016-12-183-4/+10
| | | | | | | | Improve the regular expressions to handle parameters consisting of multiple short options (such as -kj). It should be noted that the code is not perfect but should handle all common (valid) cases; it could e.g. incorrectly process a short option followed by string arg such as '-Wfoo.j' although having this in MAKEOPTS is extremely unlikely.
* kde5.eclass: Fix configure with >=kde-apps/kde-l10n-16.12.0 L10N=srAndreas Sturmlechner2016-12-181-1/+3
| | | | | | | Upstream added a subdirectory that should not be added to the project. Closes: https://github.com/gentoo/gentoo/pull/3139 Signed-off-by: Johannes Huber <johu@gentoo.org>
* kde4-base.eclass: Add KDevelop 4.7.4 SRC_URIJohannes Huber2016-12-171-0/+1
|
* kernel-2.eclass: Remove kdbus support as it is discontinued. First reported ↵Mike Pagano2016-12-151-18/+0
| | | | in bug #576614 by jon R-B.
* linux-info.eclass: get_version: remove useless readlink -fMike Gilbert2016-12-151-2/+0
| | | | The values get clobbered immediately afterward, so why bother?
* eclass/freebsd.eclass: Changed to apply upstream patch on WORKDIRYuta Satoh2016-12-151-1/+7
|
* kernel-2.eclass: Add required @USAGE documentation to functions.Mike Pagano2016-12-141-4/+34
|
* qt5-build.eclass: fix doc handling in Qt 5.6.2 and laterJimi Huotari2016-12-151-2/+10
| | | | | | | | | The global_docs target is not needed any longer due to the following upstream change: http://code.qt.io/cgit/qt/qtbase.git/commit/?id=a7ddef139415f74f9ba8dc84a2f15105149ca5e8 Gentoo-Bug: https://bugs.gentoo.org/596054
* selinux-policy-2.eclass: support semodule -b/-i base depending on versionJason Zaman2016-12-121-6/+10
|
* selinux-policy-2.eclass: support EAPI6Jason Zaman2016-12-121-8/+10
|
* selinux-policy-2.eclass: eapply for EAPI6Jason Zaman2016-12-121-7/+20
|
* selinux-policy-2.eclass: tidy if syntaxJason Zaman2016-12-121-36/+23
|
* kde-base/kdebase-startkde -> kde-plasma/kdebase-startkdeJohannes Huber2016-12-111-1/+1
|
* depend.apache.eclass: Restructure pkg_setup so in_iuse is used from EAPI=6 onAndreas K. Hüttel2016-12-101-12/+19
|
* depend.apache.eclass: Add missing function want_apache2_4Andreas K. Hüttel2016-12-101-0/+17
|
* depend.apache.eclass: For EAPI=6, move initialization of APACHE_BASEDIR and ↵Andreas K. Hüttel2016-12-101-12/+25
| | | | APACHE_MODULESDIR into pkg_setup
* depend.apache.eclass: Replace build_with_use with has_version, disallow for ↵Doug Freed2016-12-101-3/+15
| | | | | | EAPIs without use dependencies There are no EAPI=0 / EAPI=1 ebuilds in the tree that are affected.
* kde-base/plasma-workspace -> kde-plasma/plasma-workspaceJohannes Huber2016-12-101-3/+3
|
* cmake-utils.eclass: Set assembly compiler & flags directlyMichał Górny2016-12-081-1/+4
| | | | | Set the assembly compiler and flags directly instead of implicitly forcing them in the build rule.
* cmake-utils.eclass: Split multi-arg CC/CXX/FC correctly, #542530Michał Górny2016-12-081-3/+10
| | | | | | | | | | | | | | | | Split multi-argument CC/CXX/FC into a CMake array consisting of one element containing the compiler path (name) and the other containing all command-line options, space-separated. This is how CMake splits the environment variables CC/CXX/FC internally. The alternative would be to set CC/CXX/FC directly, and let CMake handle the splitting. However, changing that had unforeseen consequences like assembler not being set correctly (#601292) which in turn was impossible to set via environment variables due to bugs in CMake. Therefore, splitting the values into CMAKE_*_COMPILER correctly seems the simplest and safest way forward, at least until we can rely on fixed CMake versions being sufficiently deployed.
* eclass/oasis.eclass: set prefix to ED instead of using the destdir option. ↵Alexis Ballier2016-12-071-4/+3
| | | | The latter doesnt work reliably with latest oasis versions.
* kernel-2.eclass: Convert eclass to use documentation standardsMike Pagano2016-12-041-109/+333
|
* qt5-build.eclass: drop support for Qt < 5.6Davide Pesavento2016-12-041-23/+9
|
* kernel-2.eclass: Minor cleanup. Remove die from global scope per EAPI 6 rules.Mike Pagano2016-12-021-3/+5
|
* Revert "mozconfig-v6.49.eclass: Make dependency on gtk+:2 optional (bug ↵Ian Stakenvicius2016-12-021-6/+2
| | | | | | | | #601326)." This reverts commit 00b1fa774f05e16d855dbf39e42d2eb6a7483ab7. At this time the gtk+:2 dependencies are still required.
* cmake-utils.eclass: Revert "export CC/CXX/FC to environment, #542530"Michał Górny2016-12-021-2/+3
| | | | | Revert using CC/CXX/FC envvars since it breaks implicit assembler override and is non-trivial to fix, #601292.
* cmake-utils.eclass: Revert "Set assembler correctly, #601292"Michał Górny2016-12-021-3/+1
| | | | | | Revert setting ASM=${CC}. It turns out that CMake is not splitting arguments in ASM like in CC, so this effectively broke all multilib builds.
* kernel-2.eclass: Fix eapply_user as per PMS spec and execute in src_prepare. ↵Mike Pagano2016-12-011-9/+26
| | | | Support older EAPIs with epatch_user.
* tmpfiles.eclass: fix 'if' statement syntaxMike Gilbert2016-12-011-1/+1
|
* cmake-utils.eclass: Unset BUILD_TYPE-specific ASM flagsMichał Górny2016-12-011-0/+1
|
* cmake-utils.eclass: Set assembler correctly, #601292Michał Górny2016-12-011-1/+3
| | | | | | | | | | | Use <CMAKE_ASM_COMPILER> in the assembly compile command in order to fix building assembly files. It turns out that <CMAKE_C_COMPILER> is no longer correctly evaluated in that command once it is no longer set explicitly in the toolchain file and passed through the environment instead. Pass ASM and ASMFLAGS (equal to CC and CFLAGS) appropriately to enforce using the correct compiler.
* tmpfiles.eclass: add eclass for tmpfiles processingWilliam Hubbs2016-12-011-0/+123
|
* aspell-dict.eclass: Some tweaks so the eclass works with EAPI>0 ebuilds.Lars Wendler2016-12-011-2/+14
|
* mozconfig-v6.49.eclass: Make dependency on gtk+:2 optional (bug #601326).Lars Wendler2016-12-011-2/+6
|
* eclass/cargo: ensure people have a good cargo dependDoug Goldstein2016-11-301-0/+2
| | | | | | We need at least Cargo 0.13.0 to use the new bits in this eclass. Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* eclass/cargo: support cargo dependency vendoringDoug Goldstein2016-11-301-19/+38
| | | | | | | | Add support for newer dependency vendoring which allows us to download the dependencies with the package manager and just have cargo use that to compile the package. Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* eclass/cargo: extend to support building packagesDoug Goldstein2016-11-301-2/+26
| | | | | | | | | Originally this eclass only had the bits to build cargo and not other packages built with cargo. Cargo is a special case and needs to override some parts. This adds the generic case for normal cargo packages, allowing for debug and release builds of packages as well. Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* cmake-utils.eclass: Wipe out default flags for std build typesMichał Górny2016-11-301-0/+13
| | | | | | Wipe out the default compiler & linker flags that are forced by CMake for the standard build types. This improves the sanity of the build if we are forced to use one of those types.
* cmake-utils.eclass: Declare CMAKE_GENTOO_BUILDMichał Górny2016-11-301-0/+1
| | | | | | | Declare the CMAKE_GENTOO_BUILD cache variable to indicate that a Gentoo package build is being performed. This variable enables Gentoo code paths in CMake modules without the necessity of setting a custom CMAKE_BUILD_TYPE.
* kernel-2.eclass: Support EAPI 6 when applying user patches.Mike Pagano2016-11-281-2/+6
|
* mozconfig-*.eclass: added sub-slot dependency for app-text/hunspell.Lars Wendler2016-11-285-5/+5
| | | | This fixes Gentoo bug #601134.
* kernel-2.eclass: Remove call to KV_to_int. See bug #587318.Mike Pagano2016-11-271-1/+1
|
* cmake-utils.eclass: Export PKG_CONFIG as envvar rather than build ruleMichał Górny2016-11-271-1/+1
|
* cmake-utils.eclass: export CC/CXX/FC to environment, #542530Maciej Mrozowski2016-11-271-3/+3
|
* cmake-utils.eclass: Move CMAKE_AR & CMAKE_RANLIB into toolchain defsMichał Górny2016-11-271-2/+2
| | | | | Move CMAKE_AR & CMAKE_RANLIB definitions into the toolchain file. It seems to make more sense there than in build rules.
* kde5.eclass: Fix install with L10N=""Andreas Sturmlechner2016-11-271-6/+10
|
* kde5.eclass: Add KDE_SUBSLOTAndreas Sturmlechner2016-11-271-3/+30
|