summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* kde5-functions.eclass: Move *_MINIMAL setup here from kde5.eclassAndreas Sturmlechner2016-11-272-35/+29
| | | | | Makes sure that 5.8 LTS stable branch does not raise FRAMEWORKS_MINIMAL Also bumping FRAMEWORKS_MINIMAL to 5.28.0 for >=Plasma-5.9
* qt4-build-multilib.eclass: explicitly build with -std=gnu++98Anthony Ryan2016-11-251-0/+6
| | | | | | | | | | While some of the Qt4 packages build correctly with -std=gnu++14, others rely upon std::tr1 and other renamed library items. Because most of these issues have been resolved upstream in Qt5, the easiest solution is to ensure Qt4 is always built with -std=gnu++98. Gentoo-Bug: 582522, 582618, 583744, 583662 Closes: https://github.com/gentoo/gentoo/pull/2908
* eclass/{xorg-2,x-modular}: fix slash.soredake2016-11-232-2/+2
| | | | Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* eclass/xorg-2: update links.soredake2016-11-231-2/+2
| | | | Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* eclass/x-modular: update links.soredake2016-11-231-2/+2
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/2550 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* mozlinguas-v2.eclass: Fixed typo.Lars Wendler2016-11-231-1/+1
|
* mozlinguas-v2.eclass: Introduced MOZ_LANGPACK_HTTP_URI variable.Lars Wendler2016-11-221-3/+9
| | | | | | | This is necessary in case the language packs need to be taken from an alternative URL instead of the default Mozilla URL. It is considered to be a drop-in replacement so no changes to existing mozilla ebuilds are necessary.
* sys-devel/binutils & sys-libs/binutils-libs: version bump to 2.27 #595148Mike Frysinger2016-11-151-0/+6
|
* toolchain-binutils.eclass: handle zlib better across multiple versions #591516Mike Frysinger2016-11-151-3/+7
|
* mercurial.eclass: update my emailChristoph Junghans2016-11-141-1/+1
|
* distutils-r1.eclass: make *_install_for_testing install proper egg-infoMathy Vanvoorden2016-11-141-0/+2
| | | | | | | | | | | | | Currently distutils_install_for_testing does not install the complete egg-info into ${TEST_DIR}. This was first noticed by W. Trevor King and reported in bug #524322. Based on info found in the related upstream setuptools bug I added the necessary call to setuptools to create the complete egg_info. Without this certain packages (like cryptography) fail during testing because they use introspection but the metadata isn't available. Bug: https://bugs.gentoo.org/524322
* apache-2.eclass: fix pcre-config wrapper scriptMike Gilbert2016-11-131-3/+10
| | | | | | Thanks Robert Förster for noticing the error. Bug: https://bugs.gentoo.org/598808
* eclass/ruby-ng: Remove ree18 supportManuel Rüger2016-11-131-14/+3
|
* kde5.eclass: only set FRAMEWORKS_MINIMAL if undefinedMichael Palimaka2016-11-121-4/+5
| | | | | Unconditionally setting FRAMEWORKS_MINIMAL prevents it being overridden in an ebuild (or somewhere else...).
* kde5.eclass: Raise frameworks minimal for KDE Apps 16.12Johannes Huber2016-11-121-1/+1
| | | | Thanks-to: Arfrever on irc @ #gentoo-kde
* kde5.eclass: KDE Applications 16.12 requires >=KF-5.27Andreas Sturmlechner2016-11-121-0/+8
|
* kde5.eclass: KDE Plasma 5.9 requires >=KF-5.27Andreas Sturmlechner2016-11-121-0/+6
| | | | Don't interfere with live ebuild KF5 dep though.
* kde5.eclass: drop obsolete FRAMEWORKS_MINIMAL conditionalMichael Palimaka2016-11-121-6/+0
| | | | 5.26.0 is unconditionally required since 6c5d7cc84530d912bb7d6433b54d154f37717e2d.
* kde5-functions.eclass: raise FRAMEWORKS_MINIMAL to 5.26.0 (latest stable)Michael Palimaka2016-11-121-1/+1
|
* vala.eclass: raise VALA_MAX_API_VERSION to 0.34Gilles Dartiguelongue2016-11-121-1/+1
|
* flag-o-matic.eclass: handle gcc-6 -no-pie option #596584Mike Frysinger2016-11-111-2/+11
| | | | Reported-by: Laine Gholson <laine.gholson@gmail.com>