diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-08-19 14:18:09 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-05 09:01:01 -0400 |
commit | 7c34d9a49348ceb4f2e4443220e8d1481c829c62 (patch) | |
tree | c419075baf7ef561ef80e04881a68ed2040f39e1 /dev-qt/qttools/qttools-6.9999.ebuild | |
parent | qt6-build.eclass: prevent passing -O2 after user's C(XX)FLAGS (diff) | |
download | gentoo-7c34d9a49348ceb4f2e4443220e8d1481c829c62.tar.gz gentoo-7c34d9a49348ceb4f2e4443220e8d1481c829c62.tar.bz2 gentoo-7c34d9a49348ceb4f2e4443220e8d1481c829c62.zip |
dev-qt/*: import qt6 live ebuilds from ::qt
As-is, no changes in this commit which is mostly the same
as the current in-tree ebuilds.
Maintaining these in two different repos feels like just a hassle
(to me), and would rather have everything in one place so I can
change live and release ebuilds simultaneously as needed, plus not
have to sync metadata or eclass changes either (plus chiitoo has
::gentoo commit access now).
May move packages if I happen to work on them, albeit I have no
intention to really touch Qt5 or LXQt (anyone working on these
are free to the same if they want, or keep current workflow).
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qttools/qttools-6.9999.ebuild')
-rw-r--r-- | dev-qt/qttools/qttools-6.9999.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/dev-qt/qttools/qttools-6.9999.ebuild b/dev-qt/qttools/qttools-6.9999.ebuild new file mode 100644 index 000000000000..e75eadff55af --- /dev/null +++ b/dev-qt/qttools/qttools-6.9999.ebuild @@ -0,0 +1,66 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt6-build + +DESCRIPTION="Qt Tools Collection" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE=" + assistant designer distancefieldgenerator +linguist pixeltool + qattributionsscanner qdbus qdoc qdiag qplugininfo +" + +DEPEND=" + =dev-qt/qtbase-${PV}*[network] + assistant? ( =dev-qt/qtbase-${PV}*[sql,widgets] ) + designer? ( =dev-qt/qtbase-${PV}*[widgets] ) + distancefieldgenerator? ( + =dev-qt/qtbase-${PV}*[widgets] + =dev-qt/qtdeclarative-${PV}* + ) + pixeltool? ( =dev-qt/qtbase-${PV}*[widgets] ) + qdbus? ( =dev-qt/qtbase-${PV}*[widgets] ) + qdoc? ( sys-devel/clang:= ) + qdiag? ( =dev-qt/qtbase-${PV}*[opengl,widgets] ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + $(qt_feature assistant) + -DQT_FEATURE_commandlineparser=ON + $(qt_feature designer) + $(qt_feature distancefieldgenerator) + $(qt_feature linguist) + $(qt_feature pixeltool) + $(qt_feature qattributionsscanner qtattributionsscanner) + $(qt_feature qdbus) + $(qt_feature qdoc clang) + $(qt_feature qdiag qtdiag) + $(qt_feature qplugininfo qtplugininfo) + -DQT_FEATURE_thread=ON + ) + + qt6-build_src_configure +} + +src_install() { + qt6-build_src_install + + use assistant && qt6_symlink_binary_to_path assistant 6 + use designer && qt6_symlink_binary_to_path designer 6 + use distancefieldgenerator && qt6_symlink_binary_to_path qdistancefieldgenerator 6 + use linguist && qt6_symlink_binary_to_path linguist 6 + use pixeltool && qt6_symlink_binary_to_path pixeltool 6 + use qdbus && qt6_symlink_binary_to_path qdbus 6 + use qdbus && qt6_symlink_binary_to_path qdbusviewer 6 + use qdoc && qt6_symlink_binary_to_path qdoc 6 + use qdiag && qt6_symlink_binary_to_path qtdiag 6 + use qplugininfo && qt6_symlink_binary_to_path qtplugininfo 6 +} |