summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-04-16 07:29:17 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-04-16 08:01:35 -0400
commitbeac6639812c50efb879b0ff375015f06afedde6 (patch)
treee3400ae98a47326aae7cd11dc8d6c5c69074e7a8 /dev-qt/qtdeclarative
parentdev-qt/qt-docs: "enable" USE=languageserver in comment (diff)
downloadgentoo-beac6639812c50efb879b0ff375015f06afedde6.tar.gz
gentoo-beac6639812c50efb879b0ff375015f06afedde6.tar.bz2
gentoo-beac6639812c50efb879b0ff375015f06afedde6.zip
dev-qt/qtdeclarative: add IUSE=qmlls for same-named user-facing tool
Masked in stable for now, will stabilize qtlanguageserver-6.7.0 in a few days to match the rest. Was automagic before but don't really need to revbump given the required package wasn't in the tree and fairly harmless even if someone had it from elsewhere. Closes: https://bugs.gentoo.org/930106 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtdeclarative')
-rw-r--r--dev-qt/qtdeclarative/metadata.xml1
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild4
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-6.7.9999.ebuild4
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild4
4 files changed, 10 insertions, 3 deletions
diff --git a/dev-qt/qtdeclarative/metadata.xml b/dev-qt/qtdeclarative/metadata.xml
index 2d0b3fc41d29..b6df94c4541c 100644
--- a/dev-qt/qtdeclarative/metadata.xml
+++ b/dev-qt/qtdeclarative/metadata.xml
@@ -9,6 +9,7 @@
<flag name="localstorage">Build the LocalStorage import for QtQuick (requires QtSql)</flag>
<flag name="network">Enable QtNetwork support</flag>
<flag name="opengl">Enable OpenGL support</flag>
+ <flag name="qmlls">Build the qmlls tool using <pkg>dev-qt/qtlanguageserver</pkg></flag>
<flag name="sql">Enable QtSQL support</flag>
<flag name="widgets">Enable QtWidgets support</flag>
</use>
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild
index c82795f0d0f5..6385d3746191 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.7.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-IUSE="accessibility +network opengl +sql +ssl svg vulkan +widgets"
+IUSE="accessibility +network opengl qmlls +sql +ssl svg vulkan +widgets"
# behaves very badly when qtdeclarative is not already installed, also
# other more minor issues (installs junk, sandbox/offscreen issues)
@@ -20,6 +20,7 @@ RESTRICT="test"
RDEPEND="
~dev-qt/qtbase-${PV}:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=]
+ qmlls? ( ~dev-qt/qtlanguageserver-${PV}:6 )
svg? ( ~dev-qt/qtsvg-${PV}:6 )
"
DEPEND="
@@ -33,6 +34,7 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
+ $(cmake_use_find_package qmlls Qt6LanguageServerPrivate)
$(cmake_use_find_package sql Qt6Sql)
$(cmake_use_find_package svg Qt6Svg)
$(qt_feature network qml_network)
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.7.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.7.9999.ebuild
index b87689b35832..64a1db661828 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.7.9999.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.7.9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-IUSE="accessibility +network opengl +sql +ssl svg vulkan +widgets"
+IUSE="accessibility +network opengl qmlls +sql +ssl svg vulkan +widgets"
# behaves very badly when qtdeclarative is not already installed, also
# other more minor issues (installs junk, sandbox/offscreen issues)
@@ -20,6 +20,7 @@ RESTRICT="test"
RDEPEND="
~dev-qt/qtbase-${PV}:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=]
+ qmlls? ( ~dev-qt/qtlanguageserver-${PV}:6 )
svg? ( ~dev-qt/qtsvg-${PV}:6 )
"
DEPEND="
@@ -33,6 +34,7 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
+ $(cmake_use_find_package qmlls Qt6LanguageServerPrivate)
$(cmake_use_find_package sql Qt6Sql)
$(cmake_use_find_package svg Qt6Svg)
$(qt_feature network qml_network)
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
index b87689b35832..64a1db661828 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-IUSE="accessibility +network opengl +sql +ssl svg vulkan +widgets"
+IUSE="accessibility +network opengl qmlls +sql +ssl svg vulkan +widgets"
# behaves very badly when qtdeclarative is not already installed, also
# other more minor issues (installs junk, sandbox/offscreen issues)
@@ -20,6 +20,7 @@ RESTRICT="test"
RDEPEND="
~dev-qt/qtbase-${PV}:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=]
+ qmlls? ( ~dev-qt/qtlanguageserver-${PV}:6 )
svg? ( ~dev-qt/qtsvg-${PV}:6 )
"
DEPEND="
@@ -33,6 +34,7 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
+ $(cmake_use_find_package qmlls Qt6LanguageServerPrivate)
$(cmake_use_find_package sql Qt6Sql)
$(cmake_use_find_package svg Qt6Svg)
$(qt_feature network qml_network)