Skip to content

Commit

Permalink
dev-qt: Add RDEPEND on dev-qt/qtchooser where link targets exist
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Nov 25, 2020
1 parent e0111ad commit 072da15
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 17 deletions.
4 changes: 3 additions & 1 deletion dev-qt/designer/designer-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ DEPEND="
~dev-qt/qtxml-${PV}
declarative? ( ~dev-qt/qtdeclarative-${PV}[widgets] )
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

src_prepare() {
qt_use_disable_mod declarative quickwidgets \
Expand Down
5 changes: 4 additions & 1 deletion dev-qt/linguist-tools/linguist-tools-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

QT5_MODULE="qttools"
inherit qt5-build

Expand All @@ -18,7 +19,9 @@ DEPEND="
~dev-qt/qtxml-${PV}
qml? ( ~dev-qt/qtdeclarative-${PV} )
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

QT5_TARGET_SUBDIRS=(
src/linguist
Expand Down
5 changes: 4 additions & 1 deletion dev-qt/pixeltool/pixeltool-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

QT5_MODULE="qttools"
inherit qt5-build

Expand All @@ -18,4 +19,6 @@ DEPEND="
~dev-qt/qtgui-${PV}:5=
~dev-qt/qtwidgets-${PV}
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"
5 changes: 4 additions & 1 deletion dev-qt/qdoc/qdoc-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

QT5_MODULE="qttools"
inherit qt5-build

Expand All @@ -18,7 +19,9 @@ DEPEND="
sys-devel/clang:=
qml? ( ~dev-qt/qtdeclarative-${PV} )
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

src_prepare() {
qt_use_disable_mod qml qmldevtools-private \
Expand Down
8 changes: 6 additions & 2 deletions dev-qt/qt3d/qt3d-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit qt5-build

DESCRIPTION="3D rendering module for the Qt5 framework"
Expand All @@ -13,7 +14,7 @@ fi
# TODO: tools
IUSE="gamepad gles2-only qml vulkan"

RDEPEND="
COMMON_DEPEND="
~dev-qt/qtconcurrent-${PV}
~dev-qt/qtcore-${PV}
~dev-qt/qtgui-${PV}:5=[vulkan=]
Expand All @@ -22,9 +23,12 @@ RDEPEND="
gamepad? ( ~dev-qt/qtgamepad-${PV} )
qml? ( ~dev-qt/qtdeclarative-${PV}[gles2-only=] )
"
DEPEND="${RDEPEND}
DEPEND="${COMMON_DEPEND}
vulkan? ( dev-util/vulkan-headers )
"
RDEPEND="${COMMON_DEPEND}
dev-qt/qtchooser
"

src_prepare() {
rm -r src/3rdparty/assimp/{code,contrib,include} || die
Expand Down
1 change: 1 addition & 0 deletions dev-qt/qtcore/qtcore-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ DEPEND="
"
RDEPEND="${DEPEND}
!<dev-qt/qtcore-4.8.7-r4:4
dev-qt/qtchooser
"

QT5_TARGET_SUBDIRS=(
Expand Down
4 changes: 3 additions & 1 deletion dev-qt/qtdbus/qtdbus-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ DEPEND="
~dev-qt/qtcore-${PV}:5=
>=sys-apps/dbus-1.4.20
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

QT5_TARGET_SUBDIRS=(
src/dbus
Expand Down
5 changes: 4 additions & 1 deletion dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8} )
inherit python-any-r1 qt5-build

Expand All @@ -23,7 +24,9 @@ DEPEND="
localstorage? ( ~dev-qt/qtsql-${PV} )
widgets? ( ~dev-qt/qtwidgets-${PV}[gles2-only=] )
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

PATCHES=(
"${FILESDIR}/${PN}-5.14.2-QQuickItemView-fix-maxXY-extent.patch" # QTBUG-83890
Expand Down
8 changes: 6 additions & 2 deletions dev-qt/qtdiag/qtdiag-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

QT5_MODULE="qttools"
inherit qt5-build

Expand All @@ -13,16 +14,19 @@ fi

IUSE="+network +widgets"

RDEPEND="
COMMON_DEPEND="
~dev-qt/qtcore-${PV}:5=
~dev-qt/qtgui-${PV}:5=
network? ( ~dev-qt/qtnetwork-${PV}[ssl] )
widgets? ( ~dev-qt/qtwidgets-${PV} )
"
# TODO: we know it is bogus, figure out how to disable checks, bug 728278
DEPEND="${RDEPEND}
DEPEND="${COMMON_DEPEND}
~dev-qt/qtxml-${PV}
"
RDEPEND="${COMMON_DEPEND}
dev-qt/qtchooser
"

src_prepare() {
qt_use_disable_mod network network \
Expand Down
7 changes: 5 additions & 2 deletions dev-qt/qtgui/qtgui-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ REQUIRED_USE="
X? ( gles2-only? ( egl ) )
"

RDEPEND="
COMMON_DEPEND="
dev-libs/glib:2
~dev-qt/qtcore-${PV}:5=
dev-util/gtk-update-icon-cache
Expand Down Expand Up @@ -66,10 +66,13 @@ RDEPEND="
x11-libs/xcb-util-wm
)
"
DEPEND="${RDEPEND}
DEPEND="${COMMON_DEPEND}
evdev? ( sys-kernel/linux-headers )
udev? ( sys-kernel/linux-headers )
"
RDEPEND="${COMMON_DEPEND}
dev-qt/qtchooser
"
PDEPEND="
ibus? ( app-i18n/ibus )
wayland? ( ~dev-qt/qtwayland-${PV} )
Expand Down
5 changes: 4 additions & 1 deletion dev-qt/qthelp/qthelp-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

QT5_MODULE="qttools"
inherit qt5-build

Expand All @@ -20,7 +21,9 @@ DEPEND="
~dev-qt/qtsql-${PV}[sqlite]
~dev-qt/qtwidgets-${PV}
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

QT5_TARGET_SUBDIRS=(
src/assistant/help
Expand Down
4 changes: 3 additions & 1 deletion dev-qt/qtpaths/qtpaths-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ IUSE=""
DEPEND="
~dev-qt/qtcore-${PV}
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"
4 changes: 3 additions & 1 deletion dev-qt/qtplugininfo/qtplugininfo-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ IUSE=""
DEPEND="
~dev-qt/qtcore-${PV}
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"
4 changes: 3 additions & 1 deletion dev-qt/qtwidgets/qtwidgets-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ DEPEND="
x11-libs/pango
)
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

QT5_TARGET_SUBDIRS=(
src/tools/uic
Expand Down
5 changes: 4 additions & 1 deletion dev-qt/qtxmlpatterns/qtxmlpatterns-5.15.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit qt5-build

DESCRIPTION="XPath, XQuery, XSLT, and XML Schema validation library for the Qt5 framework"
Expand All @@ -17,7 +18,9 @@ DEPEND="
~dev-qt/qtnetwork-${PV}
qml? ( ~dev-qt/qtdeclarative-${PV} )
"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-qt/qtchooser
"

src_prepare() {
qt_use_disable_mod qml qml \
Expand Down

0 comments on commit 072da15

Please sign in to comment.