summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* qt5-build.eclass: Rename qt5_tools_oos_quirk -> qt5_configure_oos_quirkAndreas Sturmlechner2023-07-081-38/+23
| | | | | | | | | | ...and turn it into a public helper, as it serves more than just qttools. The initial review missed the fact that qtlocation is not part of qttools, so push the quirks back into the ebuilds, calling the newly publicised function. Bug: https://bugs.gentoo.org/910066 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add qt5_syncqt_version()Andreas Sturmlechner2023-07-081-0/+19
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Import out-of-source quirks from qdoc/qtlocationAndreas Sturmlechner2023-07-081-2/+37
| | | | | | | | We probably won't get this fixed in Qt5 cycle anymore. Standardises the quirk via new internal helper function qt5_tools_oos_quirk() to avoid qt5_qmake usage in ebuilds. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Fix order of patchsets including depending sedAndreas Sturmlechner2023-04-131-11/+13
| | | | | | | - downstream patches are based on top of KDE's patchset - downstream patch affects qmake bootstrapping modifications Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Set _QT5_GENTOOPATCHSET_REV=4 for >=Qt5Base-5.15.9Andreas Sturmlechner2023-04-131-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-3/+3
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass: standardize prologue/epilogueDavid Seifert2023-03-171-6/+10
| | | | | Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert <soap@gentoo.org>
* qt5-build.eclass: Set _QT5_GENTOOPATCHSET_REV=3 for >=Qt5Base-5.15.8Andreas Sturmlechner2023-01-081-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Set _QT5_GENTOOPATCHSET_REV=2 for >=Qt5Base-5.15.7Andreas Sturmlechner2022-11-291-6/+14
| | | | | | | - Apply gentoo-patchset before running sed over configure - _QT5_GENTOOPATCHSET_REV shall always be applied Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Support sed regardless if $MAKE is quoted or notAndreas Sturmlechner2022-07-231-1/+1
| | | | | Bug: https://bugs.gentoo.org/792804 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Merge _QT5_GENTOOPATCHSET_REV handling into main blockAndreas Sturmlechner2022-07-231-6/+5
| | | | | | Dropping pre-5.15.5 SRC_URI support. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add _QT5_GENTOOPATCHSET_REV qtbase patchset logicAndreas Sturmlechner2022-06-191-0/+14
| | | | | | Usage may be extended to other QT5_MODULEs in the future. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Support future double-digit Qt-5.15 patch releasesAndreas Sturmlechner2022-06-191-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop support for Qt 5.15.2Andreas Sturmlechner2022-04-181-51/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-10/+10
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* qt5-build.eclass: Change SLOTing in 5.15.3Andreas Sturmlechner2022-03-211-1/+19
| | | | | | | | | | | - 0 for binary only (user-facing) tools not tied to specific Qt major version - 5 (clean) for binary only/unversioned plugins/files-only/non-private headers - 5/$(ver_cut 1-2) for everything else; unless overridden by ebuild - No change for 5.15.2 ebuilds dev-qt/qtxmlpatterns was added to clean "5" slot because development is dead. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: New helper function: qt5_symlink_binary_to_path()Andreas Sturmlechner2022-03-211-0/+10
| | | | | | | | | Symlink necessary tools to /usr/bin According to upstream discussion on Qt6 recommended tools to be in PATH. See also: https://lists.qt-project.org/pipermail/development/2020-November/040626.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Re-add support for Qt 5.15.2 official tarballsAndreas Sturmlechner2022-03-211-3/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add support for Qt 5.15.3 (and future) tarballsAndreas Sturmlechner2022-03-211-10/+35
| | | | | | KDE Qt5PatchCollection patches will be applied on top of v5.15.3-lts-lgpl Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Update comment regarding MODULE_VERSION downpatchingAndreas Sturmlechner2022-03-211-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: remove kernel_FreeBSDDavid Seifert2022-01-041-8/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* qt5-build.eclass: Drop EAPI-7 support and obsolete quirksAndreas Sturmlechner2021-10-171-12/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Downpatch version of live to 5.15.2 tooAndreas Sturmlechner2021-09-081-3/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Introduce QT5_PV for intra-dev-qt depsAndreas Sturmlechner2021-09-081-2/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Always run qt5_tools_configure for QT5_MODULE=qttoolsAndreas Sturmlechner2021-09-081-5/+20
| | | | | | | | | | | Run qt5_qmake directly inside qt5_tools_configure(), copy the resulting qttools-config.pri into QT5_BUILD_DIR again. Add linguist-tools handling. Closes: https://bugs.gentoo.org/728278 Closes: https://bugs.gentoo.org/811147 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Support EAPI-8Andreas Sturmlechner2021-08-251-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Use kde.org eclass for snapshots and live ebuildsAndreas Sturmlechner2021-08-251-30/+24
| | | | | | | | | - Drop unused src_unpack phase - Snapshots are identified by having KDE_ORG_COMMIT set pre-inherit - All live ebuilds and snapshots except qtwebengine inherit kde.org.eclass - SRC_URI, src_unpack handling is done by kde.org.eclass for them Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete conditional for dev-qt/qtwebengineAndreas Sturmlechner2021-08-251-13/+0
| | | | | | | dev-qt/qtwebengine conditional code already moved into ebuild. Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Rename MY_P to _QT5_P and fix eclassdoc warningAndreas Sturmlechner2021-08-251-3/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add eclassdoc for QT5_BUILD_TYPEAndreas Sturmlechner2021-08-251-3/+10
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop _alpha/_beta/_rc tarball supportAndreas Sturmlechner2021-08-251-7/+0
| | | | | | No more such pre-releases happening for Qt5. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop QT5_MINOR_VERSION (fixes eclassdoc)Andreas Sturmlechner2021-08-251-3/+0
| | | | | | No more usage as qt5-build.eclass supports Qt 5.15 branch exclusively. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: switch sources to KDE upstream for 5.15 live buildsJimi Huotari2021-08-251-7/+6
| | | | | | | | | | The KDE community has started [1] maintaining a repository with patches for the open-source Qt 5.15 branch. 1. https://mail.kde.org/pipermail/distributions/2021-April/000984.html Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Limit qtchooser config install to <qtcore-5.15.2-r10Andreas Sturmlechner2021-08-251-16/+17
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: standardize "EAPI not supported" messageDavide Pesavento2021-07-091-4/+3
| | | | Signed-off-by: Davide Pesavento <pesa@gentoo.org>
* qt5-build.eclass: mark VIRTUALX_REQUIRED as @PRE_INHERITSam James2021-03-311-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: Make dev-qt/qttest dependency work for qtwebengine snapshotAndreas Sturmlechner2021-02-051-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add missing RESTRICT+=" !test? ( test )"Andreas Sturmlechner2021-02-051-2/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete pre-5.15.2 quirkAndreas Sturmlechner2021-01-101-3/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2Andreas Sturmlechner2020-11-251-4/+3
| | | | | | Qt 5.15.2 and above will depend on dev-qt/qtchooser selectively. Signed-off-by: Andreas Sturmlechner <asturm@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>
* qt5-build.eclass: Drop obsolete pre-Qt-5.14.2 quirksAndreas Sturmlechner2020-05-301-8/+2
| | | | | Bug: https://bugs.gentoo.org/676948 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop pre-Qt 5.14 quirksAndreas Sturmlechner2020-05-261-2/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Introduce qt5_tools_configureAndreas Sturmlechner2020-05-261-0/+31
| | | | | | | | | | | This is run in src_configure for qttools modules unless QT5_TARGET_SUBDIRS is defined. Implementing an idea of Chiitoo in the linked PR. Closes: https://github.com/gentoo/qt/pull/218 Thanks-to: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete in-source build workaround for >=5.14.2Andreas Sturmlechner2020-04-091-5/+11
| | | | | | | | | | | | | Fixed upstream in 5.11.1. See also: https://bugreports.qt.io/browse/QTBUG-37417 Upstream commit 67aa365d41ebfe082b4efcfd725e4d5f08be678c qtbase forwarding header was introduced to fix bug 599636 in commit: d82f92ed064996dfb187ef668d74ed5b05546b2d Closes: https://bugs.gentoo.org/676948 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add missing -no-feature-gssapi switchAndreas Sturmlechner2020-04-091-0/+1
| | | | | | Upstream commit 1a8f4a3c8fa30265e7f184373c738dbc3574663a Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop unnecessary >=5.13 conditionAndreas Sturmlechner2020-03-191-2/+2
| | | | | | 5.12 was dropped. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop EAPI-6 supportAndreas Sturmlechner2020-03-191-15/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: adjust configure options for >=5.15Jimi Huotari2020-03-191-2/+6
| | | | | | | | | | Upstream has removed the -qt-xcb, -system-xcb, -xkb, -xcb-xinput switches [1] in 5.15 and 6.0. 1. https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.15&id=60588e1a Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>