diff options
Diffstat (limited to 'dev-qt/qttools')
-rw-r--r-- | dev-qt/qttools/Manifest | 6 | ||||
-rw-r--r-- | dev-qt/qttools/metadata.xml | 14 | ||||
-rw-r--r-- | dev-qt/qttools/qttools-6.5.2-r1.ebuild | 69 | ||||
-rw-r--r-- | dev-qt/qttools/qttools-6.5.2.ebuild | 66 | ||||
-rw-r--r-- | dev-qt/qttools/qttools-6.5.9999.ebuild | 69 | ||||
-rw-r--r-- | dev-qt/qttools/qttools-6.9999.ebuild | 69 |
6 files changed, 220 insertions, 73 deletions
diff --git a/dev-qt/qttools/Manifest b/dev-qt/qttools/Manifest index 1978f6df19c9..2adc70f5109d 100644 --- a/dev-qt/qttools/Manifest +++ b/dev-qt/qttools/Manifest @@ -1,3 +1,5 @@ DIST qttools-everywhere-src-6.5.2.tar.xz 8591336 BLAKE2B 37adbaec83938d4dae096b1ab4e49d1693ab2a926b3b61f5b40f45c8f89ba71ae847abf6eab4db26206dfc9896e5a880de489cfe17c942e66383dcf9b6fc7397 SHA512 d5b858b5307b2abfda2786331034a2957afbaba6299955bc3a2489f15bc8c2613b613b0f6f1fdf2aabfa9929a44eeeae3faeb26e0ab176d347e8ddd47f0e8011 -EBUILD qttools-6.5.2.ebuild 1846 BLAKE2B 6b5787882cb6684fbb3f09c90de1ce9782d3d010ce3ce762f75439fb207d1bde9af9fd6d3a44c081626d12cdab6daf8d8dad7d8cb7d4abbaa8a601337222f60b SHA512 27d05449276f44ea507d3791432bf36c5530846184d98363f7bfa63888781957f6e73bead5c9b4df95891a4855cafc82fce68fa71b74d5f633053519b670e822 -MISC metadata.xml 1091 BLAKE2B b10645f2835b9c5163745ff656e5b2a25277f5d1de7de4c294161f85f7eae51a7bf55367215bc9c183eb6700ec12a3f1fe51cad98211c98a2f51df2efc972ae2 SHA512 93d7528b809549f111b61cef09176d62a25b6e67668cdb9cda8d099464496b5ed63eddaa81efed222d7f0afec287d75056a117d6379fe7af61f463ac85e33c1e +EBUILD qttools-6.5.2-r1.ebuild 1851 BLAKE2B a3347a7be8334f9cf3a5ecd6957d47c59199e06e0fea6b949bd827f268cae3c7e185c8068e9ae9fd8a7f91385a557ce82b41ae8f709d375b7f144320d01212a5 SHA512 fde51204cedd73be0933eaf545596b158b295d00ead13035a21431a8800a90ee5049cf8835ba28345a21a064b099a85a4b4f3f8e16002da762b30819bde88fb5 +EBUILD qttools-6.5.9999.ebuild 1851 BLAKE2B a3347a7be8334f9cf3a5ecd6957d47c59199e06e0fea6b949bd827f268cae3c7e185c8068e9ae9fd8a7f91385a557ce82b41ae8f709d375b7f144320d01212a5 SHA512 fde51204cedd73be0933eaf545596b158b295d00ead13035a21431a8800a90ee5049cf8835ba28345a21a064b099a85a4b4f3f8e16002da762b30819bde88fb5 +EBUILD qttools-6.9999.ebuild 1851 BLAKE2B a3347a7be8334f9cf3a5ecd6957d47c59199e06e0fea6b949bd827f268cae3c7e185c8068e9ae9fd8a7f91385a557ce82b41ae8f709d375b7f144320d01212a5 SHA512 fde51204cedd73be0933eaf545596b158b295d00ead13035a21431a8800a90ee5049cf8835ba28345a21a064b099a85a4b4f3f8e16002da762b30819bde88fb5 +MISC metadata.xml 1393 BLAKE2B ffe27b97fb8e5d072b2228ded8dfb59c4f0d5837cb1656ebdf4893818d3dbb3b7e359e273d8fdc356d21d3af5f5a841254b7ab26e348584e896b94151181a6c3 SHA512 3dad0d030fb1d92fb5719a1405199c4e9a2b445a5f6d3d3ac609c74a0cc6c6b5bcd414c556db8cb09e54549158b23b57175a04fdf21ae29f331827872db69a04 diff --git a/dev-qt/qttools/metadata.xml b/dev-qt/qttools/metadata.xml index 7664b3e6cd03..ce7dba6ed80a 100644 --- a/dev-qt/qttools/metadata.xml +++ b/dev-qt/qttools/metadata.xml @@ -7,19 +7,23 @@ </maintainer> <use> <flag name="assistant">Build Qt Assistant</flag> + <flag name="clang">Enable using libclang for code parsing (linguist/qdoc)</flag> <flag name="designer">Build Qt Designer</flag> <flag name="distancefieldgenerator">Build Qt Distance Field Generator</flag> - <flag name="linguist">Build Qt Linguist</flag> + <flag name="linguist">Build Qt Linguist (GUI requires USE=widgets)</flag> <flag name="pixeltool">Build Qt Pixeltool</flag> - <flag name="qattributionsscanner">Build Qt Source Code Attribution Scanner</flag> - <flag name="qdbus">Build the Qt D-Bus Interface and D-Bus Viewer</flag> + <flag name="qdbus">Build the Qt D-Bus Interface (D-Bus Viewer requires USE=widgets)</flag> <flag name="qdoc">Build Qt Documentation Generator</flag> - <flag name="qdiag">Build Qt Diag</flag> - <flag name="qplugininfo">Build Qt Plugin Info</flag> + <flag name="qml">Build QML/QtQuick bindings and imports</flag> + <flag name="qtattributionsscanner">Build Qt Source Code Attribution Scanner</flag> + <flag name="qtdiag">Build Qt Diag</flag> + <flag name="qtplugininfo">Build Qt Plugin Info</flag> + <flag name="widgets">Enable QtWidgets support</flag> </use> <upstream> <bugs-to>https://bugreports.qt.io/</bugs-to> <doc>https://doc.qt.io/</doc> + <remote-id type="github">qt/qttools</remote-id> </upstream> <slots> <subslots> diff --git a/dev-qt/qttools/qttools-6.5.2-r1.ebuild b/dev-qt/qttools/qttools-6.5.2-r1.ebuild new file mode 100644 index 000000000000..4c7d4b23fe7b --- /dev/null +++ b/dev-qt/qttools/qttools-6.5.2-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit llvm qt6-build + +DESCRIPTION="Qt Tools Collection" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE=" + assistant clang designer distancefieldgenerator gles2-only + +linguist opengl pixeltool qdbus qdoc qml qtattributionsscanner + qtdiag qtplugininfo vulkan +widgets +" +# note that some tools do not *require* widgets but will skip a sub-tool +# if not enabled (e.g. linguist gives lrelease but not the GUI linguist6) +REQUIRED_USE=" + assistant? ( widgets ) + designer? ( qml widgets ) + distancefieldgenerator? ( qml widgets ) + pixeltool? ( widgets ) + qdoc? ( clang ) +" + +# behaves very badly when qttools is not already installed, also +# other more minor issues (clang tests flaky depending on version, +# and 3rdparty/ tries to FetchContent gtest) +RESTRICT="test" + +LLVM_MAX_SLOT=17 +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[network,widgets?] + assistant? ( ~dev-qt/qtbase-${PV}:6[sql,sqlite] ) + clang? ( <sys-devel/clang-$((LLVM_MAX_SLOT+1)):= ) + designer? ( ~dev-qt/qtbase-${PV}:6[xml] ) + qdbus? ( ~dev-qt/qtbase-${PV}:6[dbus,xml] ) + qml? ( ~dev-qt/qtdeclarative-${PV}:6[widgets?] ) + qtdiag? ( ~dev-qt/qtbase-${PV}:6[gles2-only=,vulkan=] ) + widgets? ( ~dev-qt/qtbase-${PV}:6[opengl=] ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use clang && llvm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package qml Qt6Qml) + $(cmake_use_find_package widgets Qt6Widgets) + $(qt_feature assistant) + $(qt_feature clang clangcpp) + $(qt_feature designer) + $(qt_feature distancefieldgenerator) + $(qt_feature linguist) + $(qt_feature pixeltool) + $(qt_feature qdbus) + $(qt_feature qdoc clang) + $(qt_feature qtattributionsscanner) + $(qt_feature qtdiag) + $(qt_feature qtplugininfo) + ) + + qt6-build_src_configure +} diff --git a/dev-qt/qttools/qttools-6.5.2.ebuild b/dev-qt/qttools/qttools-6.5.2.ebuild deleted file mode 100644 index e75eadff55af..000000000000 --- a/dev-qt/qttools/qttools-6.5.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# 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 -} diff --git a/dev-qt/qttools/qttools-6.5.9999.ebuild b/dev-qt/qttools/qttools-6.5.9999.ebuild new file mode 100644 index 000000000000..4c7d4b23fe7b --- /dev/null +++ b/dev-qt/qttools/qttools-6.5.9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit llvm qt6-build + +DESCRIPTION="Qt Tools Collection" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE=" + assistant clang designer distancefieldgenerator gles2-only + +linguist opengl pixeltool qdbus qdoc qml qtattributionsscanner + qtdiag qtplugininfo vulkan +widgets +" +# note that some tools do not *require* widgets but will skip a sub-tool +# if not enabled (e.g. linguist gives lrelease but not the GUI linguist6) +REQUIRED_USE=" + assistant? ( widgets ) + designer? ( qml widgets ) + distancefieldgenerator? ( qml widgets ) + pixeltool? ( widgets ) + qdoc? ( clang ) +" + +# behaves very badly when qttools is not already installed, also +# other more minor issues (clang tests flaky depending on version, +# and 3rdparty/ tries to FetchContent gtest) +RESTRICT="test" + +LLVM_MAX_SLOT=17 +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[network,widgets?] + assistant? ( ~dev-qt/qtbase-${PV}:6[sql,sqlite] ) + clang? ( <sys-devel/clang-$((LLVM_MAX_SLOT+1)):= ) + designer? ( ~dev-qt/qtbase-${PV}:6[xml] ) + qdbus? ( ~dev-qt/qtbase-${PV}:6[dbus,xml] ) + qml? ( ~dev-qt/qtdeclarative-${PV}:6[widgets?] ) + qtdiag? ( ~dev-qt/qtbase-${PV}:6[gles2-only=,vulkan=] ) + widgets? ( ~dev-qt/qtbase-${PV}:6[opengl=] ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use clang && llvm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package qml Qt6Qml) + $(cmake_use_find_package widgets Qt6Widgets) + $(qt_feature assistant) + $(qt_feature clang clangcpp) + $(qt_feature designer) + $(qt_feature distancefieldgenerator) + $(qt_feature linguist) + $(qt_feature pixeltool) + $(qt_feature qdbus) + $(qt_feature qdoc clang) + $(qt_feature qtattributionsscanner) + $(qt_feature qtdiag) + $(qt_feature qtplugininfo) + ) + + qt6-build_src_configure +} diff --git a/dev-qt/qttools/qttools-6.9999.ebuild b/dev-qt/qttools/qttools-6.9999.ebuild new file mode 100644 index 000000000000..4c7d4b23fe7b --- /dev/null +++ b/dev-qt/qttools/qttools-6.9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit llvm qt6-build + +DESCRIPTION="Qt Tools Collection" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE=" + assistant clang designer distancefieldgenerator gles2-only + +linguist opengl pixeltool qdbus qdoc qml qtattributionsscanner + qtdiag qtplugininfo vulkan +widgets +" +# note that some tools do not *require* widgets but will skip a sub-tool +# if not enabled (e.g. linguist gives lrelease but not the GUI linguist6) +REQUIRED_USE=" + assistant? ( widgets ) + designer? ( qml widgets ) + distancefieldgenerator? ( qml widgets ) + pixeltool? ( widgets ) + qdoc? ( clang ) +" + +# behaves very badly when qttools is not already installed, also +# other more minor issues (clang tests flaky depending on version, +# and 3rdparty/ tries to FetchContent gtest) +RESTRICT="test" + +LLVM_MAX_SLOT=17 +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[network,widgets?] + assistant? ( ~dev-qt/qtbase-${PV}:6[sql,sqlite] ) + clang? ( <sys-devel/clang-$((LLVM_MAX_SLOT+1)):= ) + designer? ( ~dev-qt/qtbase-${PV}:6[xml] ) + qdbus? ( ~dev-qt/qtbase-${PV}:6[dbus,xml] ) + qml? ( ~dev-qt/qtdeclarative-${PV}:6[widgets?] ) + qtdiag? ( ~dev-qt/qtbase-${PV}:6[gles2-only=,vulkan=] ) + widgets? ( ~dev-qt/qtbase-${PV}:6[opengl=] ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use clang && llvm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package qml Qt6Qml) + $(cmake_use_find_package widgets Qt6Widgets) + $(qt_feature assistant) + $(qt_feature clang clangcpp) + $(qt_feature designer) + $(qt_feature distancefieldgenerator) + $(qt_feature linguist) + $(qt_feature pixeltool) + $(qt_feature qdbus) + $(qt_feature qdoc clang) + $(qt_feature qtattributionsscanner) + $(qt_feature qtdiag) + $(qt_feature qtplugininfo) + ) + + qt6-build_src_configure +} |