summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ecm.eclass: Use new ecm_punt_kf_module/ecm_punt_qt_module internallyAndreas Sturmlechner2022-01-081-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Introduce ecm_punt_kf_module and ecm_punt_qt_moduleAndreas Sturmlechner2022-01-081-1/+50
| | | | | | | | | | | | | | | | | | | | | | Upstream has begun replacing find_package(Qt5 ...) with find_package(Qt${QT_MAJOR_VERSION}) ...) for optional build with Qt6 - this breaks existing ecm_punt_bogus_dep() regexps. There is no known usage of ecm_punt_bogus_dep with anything else than Qt5 or KF5, so simply replace it with two public functions fixed on Qt* and KF* module removal. Also add '${dep}' info to 'removed by ecm.eclass' output. Replaces ecm_punt_bogus_dep(). Closes: https://bugs.gentoo.org/830729 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Case-insensitivity for grep and sedAndreas Sturmlechner2022-01-071-3/+3
| | | | | | Reported-by: Milos Popovic <gpopac@gmail.com> Bug: https://bugs.gentoo.org/829998 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: set KDE_DEBUG=1 for ecm_src_testJames Beddek2021-11-191-1/+2
| | | | | | | | | | | | | | | | | | The KDE_DEBUG variable [1] prevents crash handlers such as DrKonqi from launching if a test were to segfault. This prevents a hanging test phase where DrKonqi has launched and is waiting for input on the virtx display. [sam: We already try to disable apport/similar crash reporters because they slow down tests, don't always play well in sandbox, and confuse users, so this seems like a natural change.] [1]: https://userbase.kde.org/KDE_System_Administration/Environment_Variables#KDE_DEBUG Signed-off-by: James Beddek <telans@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/22643 Signed-off-by: Sam James <sam@gentoo.org>
* ecm.eclass: Set @PROVIDESMichał Górny2021-09-021-0/+1
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop exec. bit from .desktop files in xdg standard dirAndreas Sturmlechner2021-09-021-2/+20
| | | | | Bug: https://bugs.gentoo.org/621970 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Support EAPI-8, move EXPORT_FUNCTIONS below guardAndreas Sturmlechner2021-09-021-13/+13
| | | | | | Raise baseline Frameworks version to 5.82.0. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guardAndreas Sturmlechner2021-04-241-11/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: KDE Applications -> KDE GearAndreas Sturmlechner2021-04-241-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass: [QA] Revert multiple meaningless doc changesMichał Górny2020-12-281-5/+0
| | | | | | | | | | | Revert multiple meaningless eclass documentation changes, notably adding a lot of placeholders and documenting implementation details. These changes were aimed at silencing (valid) documentation warnings without actually providing valuable documentation to the end users. While some of these changes were beneficial, it would take a lot of effort to review them all and the author is unwilling to fix his mistakes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ecm: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* ecm.eclass: Drop obsolete kde5*.eclass porting cluesAndreas Sturmlechner2020-12-121-25/+0
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit ce04d25f26dbaf4a150be16df96beb3f3c1ed215)
* ecm.eclass: Drop duplicate local lang declarationAndreas Sturmlechner2020-08-081-1/+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)
* ecm.eclass: Drop KDE Applications 19.08.3 supportAndreas Sturmlechner2020-03-191-27/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass, ecm.eclass: Re-add kde-apps-19.08 support for nowAndreas Sturmlechner2020-03-191-1/+27
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop KDE Applications 19.08.3 supportAndreas Sturmlechner2020-03-191-27/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Switch to cmake.eclassAndreas Sturmlechner2019-12-291-14/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Ban variables from kde5*eclass for stricter portingAndreas Sturmlechner2019-12-241-0/+18
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix kde-frameworks/ minimum to major.minor of PVAndreas Sturmlechner2019-12-151-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Set correct KFMIN default for kde-frameworks/*Andreas Sturmlechner2019-12-151-2/+7
| | | | | Closes: https://bugs.gentoo.org/703006 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: cmake-utils_use_find_package -> cmake_use_find_packageAndreas Sturmlechner2019-12-121-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: _ECM_UTILS_ECLASS -> _ECM_ECLASSAndreas Sturmlechner2019-12-031-2/+2
| | | | | | Was forgotten to rename w/ eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Inherit xdg only if ECM_NONGUI=falseAndreas Sturmlechner2019-11-111-13/+17
| | | | | | xdg phase functions were already only called based on this var. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix punt_bogus_dep -> ecm_punt_bogus_depAndreas Sturmlechner2019-11-111-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix inverted usex handbook logicAndreas Sturmlechner2019-11-101-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix typoAndreas Sturmlechner2019-11-101-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: New eclassAndreas Sturmlechner2019-11-101-0/+639
Set up default BDEPEND, DEPEND, RDEPEND. For ECM_TEST!=false, add RESTRICT+=" !test? ( test )" Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>