summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/cargo.eclass: tc-export PKG_CONFIGGeorgy Yakovlev5 hours1-1/+1
| | | | | | | this way cargo will call properly prefixed pkg-config binary Closes: https://bugs.gentoo.org/756913 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* qt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2Andreas Sturmlechner3 days1-4/+3
| | | | | | Qt 5.15.2 and above will depend on dev-qt/qtchooser selectively. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* multilib.eclass: drop amd64 from maintainersMike Gilbert3 days1-1/+0
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib.eclass: Include /$(get_libdir) in PKG_CONFIG_SYSTEM_LIBRARY_PATH.Arfrever Frehtes Taifersar Arahesis3 days1-1/+3
| | | | | | | | Set also PKG_CONFIG_SYSTEM_INCLUDE_PATH for consistency. Bug: https://bugs.gentoo.org/756238 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests: Initial test cases for eapi8-dosym.eclass.Ulrich Müller5 days1-0/+78
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eapi8-dosym.eclass: New eclass.Ulrich Müller5 days1-0/+108
| | | | | | | | | | | | | | | | | | | This implements the dosym command proposed for EAPI 8 (called dosym8 because we cannot use the same name as the package-manager builtin). "dosym -r <target> <link>" will expand the (apparent) path of <target> relative to the (apparent) path of the directory containing <link>. The main aim of this is to allow for an absolute path to be specified as the link target, and the function will count path components and convert it into a relative path. Since we're inside ED at this point but the image will finally be installed in EROOT, we don't try to resolve any pre-existing symlinks in <target> or <link>. In other words, path expansion only looks at the specified apparent paths, without touching any actual files in ED or EROOT. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ruby-utils.eclass: prefer ruby26 as the stable rubyHans de Graaff7 days1-2/+2
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* nvidia-driver.eclass: Take over maintainershipDavid Seifert13 days1-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-build.eclass: Support merging config filesMichał Górny14 days1-0/+32
| | | | | | | Add a convenience function to merge kernel config files from within the build tree, and support merging user configs. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: clarify variable docsGeorgy Yakovlev2020-11-101-0/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/cargo.eclass: add CARGO_OPTIONAL conditionGeorgy Yakovlev2020-11-101-4/+25
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* mozcoreconf-v?.eclass: Added waterfox supportLars Wendler2020-11-102-2/+4
| | | | | Acked-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* depend.apache.eclass: support EAPI-7Marek Szuba2020-11-091-3/+3
| | | | | | | | | | | Technically speaking, the eclass in question does not properly support EAPI-6 to begin with - but from what I could see during testing, the way it doesn't work is the same for 6 and 7. Moreover, the current workaround for the main problem with EAPI-6 support, i.e. having ebuilds themselves call the apache2 init functions, seems to work fine with EAPI-7 as well. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* toolchain.eclass: add USE=custom-cflags for gcc-11Sergei Trofimovich2020-11-081-6/+13
| | | | | | | | | | | | | Sometimes it's useful to build gcc quickly with CFLAGS=-O0 as a smoke test for sanity. CFLAGS=-O3 should also generally work as a code generation stres test. But not in general case. Some options like -flto would probably not work as is. Let's allow users to experiment with gcc flags if they really want to. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* verify-sig.eclass: Support verifying checksum listsMichał Górny2020-11-081-1/+54
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Add a function to verify PGP signed messagesMichał Górny2020-11-081-0/+36
| | | | | | | | Add a function to verify files containing PGP signed messages (i.e. not using detached signatures). This will be used for projects that publish signed checksum lists. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: don't skip xvfb dependency on PrefixAlexey Sokolov2020-11-071-1/+1
| | | | | | Closes: https://bugs.gentoo.org/730190 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* versionator.eclass: Fix eclassdoc tag orderMichał Górny2020-11-061-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/*: Add @DEPRECATED tags, based on pkgcheck listMichał Górny2020-11-0611-8/+19
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* lua-single.eclass: fix typo in eclassdocMarek Szuba2020-11-061-1/+1
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* kernel-2.eclass: Add support for patches that fail to apply with --dry-runMike Pagano2020-11-051-20/+24
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* lua-single.eclass: add an example to eclassdocMarek Szuba2020-11-051-2/+32
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: Fix eclassdoc indentationMarek Szuba2020-11-051-3/+3
| | | | | | | Must use spaces instead of tabs in code examples in order for them to be properly indented in generated man pages etc. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* selinux-policy-2.eclass: drop EAPI 5David Michael2020-11-051-35/+12
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* selinux-policy-2.eclass: add EAPI 7David Michael2020-11-051-6/+12
| | | | | | Closes: https://bugs.gentoo.org/748483 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* user.eclass: Deprecate general use for future EAPIs.Ulrich Müller2020-11-041-0/+13
| | | | | | | | | No functional difference for existing EAPIs. Reviewed-by: David Seifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/nvidia-drivers.eclass: update copyright (fix OldGentooCopyright)Sam James2020-11-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* nvidia-drivers.eclass: Reassign due to jer's retirementMichał Górny2020-11-031-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Account for verifying stdinMichał Górny2020-11-031-1/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* fdo-mime.eclass: Mark @DEAD for removalDavid Seifert2020-11-031-0/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* lua-single.eclass: fix copy-pastoMarek Szuba2020-11-021-1/+1
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* verify-sig.eclass: Predict attempted writes to /run/userMichał Górny2020-10-311-0/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dune.eclass: pass --mandir to dune installRafael Kitover2020-10-311-0/+1
| | | | | | Closes: https://bugs.gentoo.org/749615 Signed-off-by: Rafael Kitover <rkitover@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* llvm.org.eclass: Add manpage build/install utilitiesMichał Górny2020-10-261-0/+47
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Always unpack all distfilesMichał Górny2020-10-261-0/+7
| | | | | | | Unpack all distfiles from SRC_URI, not only the primary LLVM tarball. This will be helpful in implementing manpage support. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove support for pre-9.0.1 archivesMichał Górny2020-10-261-76/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* leechcraft.eclass: RemoveMichał Górny2020-10-201-60/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt5-build.eclass: Drop obsolete pre-Qt-5.15 quirksAndreas Sturmlechner2020-10-181-7/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop dev branch support, closing with 5.15.9999Andreas Sturmlechner2020-10-181-6/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* lua-utils.eclass: Add lua_get_shared_lib()Marek Szuba2020-10-151-0/+52
| | | | | | | For build systems which must be pointed directly to the relevant files, e.g. CMake. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua-utils.eclass: Add lua_get_include_dir()Marek Szuba2020-10-151-0/+24
| | | | | | | For build systems which must be pointed directly to the relevant files, e.g. CMake. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* pam.eclass: allow modules substackingMikle Kolyada2020-10-141-5/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* verify-sig.eclass: allow .asc PGP signaturesJoonas Niilola2020-10-141-1/+1
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/dune.eclass: Add BDEPENDMark Wright2020-10-131-2/+5
| | | | Signed-off-by: Mark Wright <gienah@gentoo.org>
* eclass/opam.eclass: Changes from ml-overlayMark Wright2020-10-131-5/+17
| | | | | Co-Author: Alexis Ballier <aballier@gentoo.org> Signed-off-by: Mark Wright <gienah@gentoo.org>
* lua-utils.eclass: Support luajitMarek Szuba2020-10-121-4/+17
| | | | | | | | | | | | | | | According to discussions on IRC, luajit should work as a drop-in replacement for lua5.1 - and indeed, at least for x11-wm/awesome it has worked. Note that for the time being dev-lang/luajit uses the same module directories as dev-lang/lua:5.1, which may lead to weird behaviour in multi-impl ebuilds supporting both lua5-1 and luajit. Hopefully we will get luajit to use its own directories so that it is fully independent, same as we install pypy3 modules in their own directory hierarchy in spite of compatibility with cpython-3.6. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* eclass/ros-catkin.eclass: Enable python 3.8Alexis Ballier2020-10-111-2/+2
| | | | Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* verify-sig.eclass: Fix eclassdocMichał Górny2020-10-101-2/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: New eclass to verify OpenPGP sigsMichał Górny2020-10-101-0/+177
| | | | | | | | | | | verify-sig eclass provides a streamlined approach to verifying upstream signatures on distfiles. Its primary purpose is to permit developers to easily verify signatures while bumping packages. The eclass removes the risk of developer forgetting to perform the verification, or performing it incorrectly, e.g. due to additional keys in the local keyring. It also permits users to verify the developer's work. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: Drop obsolete KDE Frameworks 5.70 quirkAndreas Sturmlechner2020-10-091-4/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>