summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/ros-catkin.eclass: Bump C++ standard to C++14Alexis Ballier2020-05-181-1/+1
| | | | Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* mozcoreconf-v6.eclass: Work around missing "clang" USE flag in seamonkeyLars Wendler2020-05-151-1/+1
| | | | | Bug: https://bugs.gentoo.org/720316 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* postgres.eclass: Add 9999 slotAaron W. Swenson2020-05-151-1/+1
| | | | Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
* kernel-2.eclass: Add gcc 10.X compatibility to CPU opt patchMike Pagano2020-05-131-1/+1
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* rebar.eclass: Remove myself from maintainersAmadeusz Piotr Żołnowski2020-05-111-1/+1
| | | | Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
* meson.eclass: add workaround for broken boost detectionMike Gilbert2020-05-101-0/+4
| | | | | Bug: https://bugs.gentoo.org/721786 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* unpacker.eclass: respect AR variable in unpack_debMike Gilbert2020-05-101-1/+2
| | | | | Closes: https://bugs.gentoo.org/722054 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests/toolchain.sh: add znver2 downgrade testSergei Trofimovich2020-05-101-0/+1
| | | | | Bug: https://bugs.gentoo.org/721690 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: downgrade znver2 to znver1Alexey Sokolov2020-05-101-0/+1
| | | | | | | | Multiple other downgrades are missing here after 4.9 though Closes: https://bugs.gentoo.org/721690 Closes: https://github.com/gentoo/gentoo/pull/15733 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* meson.eclass: append /usr/share/pkgconfig to PKG_CONFIG_PATHMike Gilbert2020-05-051-2/+2
| | | | | Bug: https://bugs.gentoo.org/720866 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass: fix copyright header on rebar.eclassJoonas Niilola2020-05-041-1/+1
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* rebar.eclass: Run tests with newly compiled library.Hanno Böck2020-05-041-1/+3
| | | | | Closes: https://bugs.gentoo.org/720448 Signed-off-by: Hanno Böck <hanno@gentoo.org>
* meson.eclass: use a subshell to unexport variables temporarilyMike Gilbert2020-05-031-16/+18
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: export FLAGS for older versions on mesonMike Gilbert2020-05-031-0/+15
| | | | | Closes: https://bugs.gentoo.org/720860 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: ignore PKG_CONFIG_PATH due to Portage bugMike Gilbert2020-05-031-2/+2
| | | | | Bug: https://bugs.gentoo.org/720866 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: respect PKG_CONFIG_PATH and PKG_CONFIG_LIBDIRMike Gilbert2020-05-031-5/+9
| | | | | | | | | Respect PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR if set before meson_src_configure. Add BUILD variants for use in cross-compiles. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: avoid leaking BUILD vars outside meson_src_configureMike Gilbert2020-05-031-1/+14
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: use export -n instead of unsetMike Gilbert2020-05-031-1/+1
| | | | | | | | This ensures the variables are still availble if the configure function is called more than once, as would happen for a multilib build. Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: unset FLAGS before calling meson setupMike Gilbert2020-05-031-0/+3
| | | | | Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: only default BUILD_FLAGS to FLAGS if not cross-compilingMike Gilbert2020-05-031-3/+9
| | | | | Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* texlive-module: shorten distfiles namingMikle Kolyada2020-05-031-3/+3
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* meson.eclass: include ABI in machine file namesMike Gilbert2020-05-021-2/+2
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: fix tc-endian call for native fileMike Gilbert2020-05-021-1/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: implement support for native machine filesMike Gilbert2020-05-021-20/+87
| | | | | | | | | | | Using a native file avoids putting meson into cross-compiler mode for multilib builds. Reference: https://mesonbuild.com/Machine-files.html Reference: https://mesonbuild.com/Native-environments.html Bug: https://bugs.gentoo.org/719382 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* distutils-r1: fix test runner for setup.pyAlexey Sokolov2020-05-011-1/+2
| | | | | | | It didn't fail under nonfatal (e.g. by virtx) if the test failed. Closes: https://github.com/gentoo/gentoo/pull/15590 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Remove old slotsMichał Górny2020-05-011-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/distutils-r1.sh: Revert "Update Python versions"Michał Górny2020-04-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Restore old CPython version reqsMichał Górny2020-04-301-7/+5
| | | | | Closes: https://bugs.gentoo.org/720048 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Print elog about symlink updateMichał Górny2020-04-291-0/+7
| | | | | Bug: https://bugs.gentoo.org/719910 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass: last-rite bzr.eclassJoonas Niilola2020-04-281-1/+2
| | | | | | | | - became dysfunctional after removal of dev-vcs/bzr. Bug: https://bugs.gentoo.org/715044 Bug: https://bugs.gentoo.org/719892 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass: last-rite twisted-r1.eclassJoonas Niilola2020-04-271-1/+2
| | | | | Bug: https://bugs.gentoo.org/719794 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* rebar.eclass: rebuild on erlang updates with := depHanno Böck2020-04-271-1/+1
| | | | | Closes: https://bugs.gentoo.org/714702 Signed-off-by: Hanno Böck <hanno@gentoo.org>
* mozconfig-v6.52.eclass: Replace virtual/ffmpegDavid Seifert2020-04-261-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/rust-toolchain.eclass: add multilib support on amd64Georgy Yakovlev2020-04-241-14/+14
| | | | | Bug: https://bugs.gentoo.org/701362 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* meson.eclass: wire up pkgconfig variablesMike Gilbert2020-04-231-0/+3
| | | | | | | | | | | | meson-0.54.0 introduced a regression in how meson treats the PKG_CONFIG_PATH variable. Work around this by passing the value to meson setup on the command line. Also add sys_root and pkg_config_libdir to cross files per the upstream documentation. Bug: https://bugs.gentoo.org/719018 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: export NM and READELF variablesMike Gilbert2020-04-221-0/+5
| | | | | | | These are used by the symbolextractor.py script in meson. Closes: https://bugs.gentoo.org/717720 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* rpm.eclass: use BDEPEND for EAPI 7David Michael2020-04-201-1/+4
| | | | | | | | The build system's rpm2tar command is executed during unpack, so it must be install in /. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* eclass/tests/python-utils-r1.sh: Add tests for py3.8Michał Górny2020-04-191-0/+14
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Fix PYTHON_LIBS for py3.8+Michał Górny2020-04-191-2/+6
| | | | | | | | | | | Python 3.8+ provides two pkg-config files: python-3.8 for building Python extensions and python-3.8-embed for embedding Python in other programs. The former no longer lists -lpython*, resulting in empty PYTHON_LIBS. Since our consumers are more likely to want it non-empty if they already query it, switch to the latter file. Closes: https://bugs.gentoo.org/718344 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* texlive-module.eclass: Make SRC_URI more configurableAndreas K. Hüttel2020-04-191-3/+12
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* font.eclass: Fix condition for FONT_S in src_install().Ulrich Müller2020-04-181-1/+1
| | | | | | | Whitespace can be other characters than literal space. Fixes: 58cea2803d7aa7b1a98f72aa55b6221618dc5e5f Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* texlive-module.eclass: migrate from mirror://gentooMikle Kolyada2020-04-161-3/+3
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* kde5-functions.eclass: Remove last-rited eclassAndreas Sturmlechner2020-04-161-244/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Remove last-rited eclassAndreas Sturmlechner2020-04-161-439/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop references to -DNDEBUG of cmake.eclassAndreas Sturmlechner2020-04-161-3/+2
| | | | | | | Flag has been removed from there. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit 1f4a58b2d53b1ae8d006be6fb53a491c5167a7c1)
* ecm.eclass: Drop kde5.eclass supportAndreas Sturmlechner2020-04-161-39/+14
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit ed6084d902979c53477f2084f9c292e0553b97a5)
* kde.org.eclass: Allow to use SRC_URI in addition to live sourcesAndreas Sturmlechner2020-04-161-5/+4
| | | | | | | Copied from qt5-build.eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit bb9352eaa4e149475a4f2c8a34f115b9e27fe732)
* fcaps.eclass: Remove sys-libs/libcap-ng supportMatt Turner2020-04-151-66/+33
| | | | | | | | | | | | | | | libcap-ng-0.7.10 changed the output format slightly (in upstream commit bc1a9c07ebf5 "- Add capng_have_permitted_capabilities function and use it in filecap"), breaking our usage of it. It's obvious that it's not supposed to be used programmatically given the awful sed'ing we were already doing. It doesn't seem like there was a compelling reason why it was added either (bug #454908), so let's just get rid of it. At the same time, fix the dependency on sys-libs/libcap by moving it to RDEPEND, as dependencies in DEPEND/BDEPEND are not guaranteed to exist during pkg_postinst() when this eclass is intended to run. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* mozextension.eclass: fix sed which determines extension idThomas Deutschmann2020-04-151-8/+8
| | | | | Closes: https://bugs.gentoo.org/717348 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* texlive-module.eclass: Optimize src_unpack()Michał Górny2020-04-141-10/+8
| | | | | | | | | This goes a bit further than slyfox's work. On my machine, it reduces the post-unpack time from ~44m to ~13m. Bug: https://bugs.gentoo.org/688922 Acked-by: Mikle Kolyada <zlogene@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>