Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/dependencies/
Date: Mon, 29 Mar 2021 20:44:10
Message-Id: 1617050497.c0db3d2014ed39035a0b840a7264d13f044acd31.ulm@gentoo
1 commit: c0db3d2014ed39035a0b840a7264d13f044acd31
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 20 14:55:10 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 20:41:37 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c0db3d20
7
8 general-concepts/dependencies: slightly modernise Qt example
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 general-concepts/dependencies/text.xml | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml
17 index 1b8f425..eac1967 100644
18 --- a/general-concepts/dependencies/text.xml
19 +++ b/general-concepts/dependencies/text.xml
20 @@ -347,7 +347,7 @@ the package name, where 'SLOT' is the <c>SLOT</c> of the package wanted:
21 </p>
22
23 <codesample lang="ebuild">
24 -DEPEND="qt3? ( x11-libs/qt:3 )
25 +DEPEND="qt5? ( dev-qt/qtcore:5 )
26 gtk? ( x11-libs/gtk+:2 )
27 </codesample>
28
29 @@ -356,7 +356,7 @@ To depend on a specific version or version-range within a SLOT we use:
30 </p>
31
32 <codesample lang="ebuild">
33 -DEPEND="qt3? ( ~x11-libs/qt-3.3.8:3 )
34 +DEPEND="qt5? ( ~dev-qt/qtcore-5.15.2:5 )
35 gtk? ( &gt;=x11-libs/gtk+-2.24.9:2 )
36 </codesample>
37 </body>