public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/
Date: Thu, 22 Feb 2024 11:32:37 +0000 (UTC)	[thread overview]
Message-ID: <1708600672.b348e68385d5b0020393469f9abc6b9238995925.asturm@gentoo> (raw)

commit:     b348e68385d5b0020393469f9abc6b9238995925
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 10:31:48 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 11:17:52 2024 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=b348e683

x11-misc/sddm: Add IUSE qt5

Even built-in themes are only "semi-compatible" right now,
so Qt5 remains default.

Qt5 minimum version won't change anymore so simply set it to current
latest version in ::gentoo and repurpose QTMIN to Qt6 minimum version.

Thanks-to: Mike Lothian <mike <AT> fireburn.co.uk>
Closes: https://github.com/gentoo/qt/pull/276
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/sddm/sddm-9999.ebuild | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild
index f210629a..177c1c2e 100644
--- a/x11-misc/sddm/sddm-9999.ebuild
+++ b/x11-misc/sddm/sddm-9999.ebuild
@@ -11,7 +11,7 @@ else
 	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
-QTMIN=5.15.2
+QTMIN=6.6.2
 inherit cmake linux-info systemd tmpfiles
 
 DESCRIPTION="Simple Desktop Display Manager"
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/sddm/sddm"
 
 LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
 SLOT="0"
-IUSE="+elogind systemd test +X"
+IUSE="+elogind +qt5 systemd test +X"
 
 REQUIRED_USE="^^ ( elogind systemd )"
 RESTRICT="!test? ( test )"
@@ -27,20 +27,29 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
 	acct-group/sddm
 	acct-user/sddm
-	>=dev-qt/qtcore-${QTMIN}:5
-	>=dev-qt/qtdbus-${QTMIN}:5
-	>=dev-qt/qtdeclarative-${QTMIN}:5
-	>=dev-qt/qtgui-${QTMIN}:5
-	>=dev-qt/qtnetwork-${QTMIN}:5
 	sys-libs/pam
 	x11-libs/libXau
 	x11-libs/libxcb:=
 	elogind? ( sys-auth/elogind[pam] )
+	qt5? (
+		>=dev-qt/qtcore-5.15.12:5
+		>=dev-qt/qtdbus-5.15.12:5
+		>=dev-qt/qtdeclarative-5.15.12:5
+		>=dev-qt/qtgui-5.15.12:5
+		>=dev-qt/qtnetwork-5.15.12:5
+	)
+	!qt5? (
+		>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network]
+		>=dev-qt/qtdeclarative-${QTMIN}:6
+	)
 	systemd? ( sys-apps/systemd:=[pam] )
 	!systemd? ( sys-power/upower )
 "
 DEPEND="${COMMON_DEPEND}
-	test? ( >=dev-qt/qttest-${QTMIN}:5 )
+	test? (
+		qt5? ( >=dev-qt/qttest-5.15.12:5 )
+		!qt5? ( >=dev-qt/qtbase-${QTMIN}:6[network,test] )
+	)
 "
 RDEPEND="${COMMON_DEPEND}
 	X? ( x11-base/xorg-server )
@@ -48,7 +57,9 @@ RDEPEND="${COMMON_DEPEND}
 "
 BDEPEND="
 	dev-python/docutils
-	>=dev-qt/linguist-tools-${QTMIN}:5
+	>=dev-build/cmake-3.25.0
+	qt5? ( >=dev-qt/linguist-tools-5.15.12:5 )
+	!qt5? ( >=dev-qt/qttools-${QTMIN}[linguist] )
 	kde-frameworks/extra-cmake-modules:0
 	virtual/pkgconfig
 "
@@ -87,6 +98,7 @@ EOF
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_MAN_PAGES=ON
+		-DBUILD_WITH_QT6=$(usex !qt5)
 		-DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
 		-DRUNTIME_DIR=/run/sddm
 		-DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d"


             reply	other threads:[~2024-02-22 11:32 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-22 11:32 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01 21:49 [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/ Andreas Sturmlechner
2024-07-01 21:49 Andreas Sturmlechner
2024-07-01 21:49 Andreas Sturmlechner
2024-05-27 22:18 Andreas Sturmlechner
2024-03-08 23:03 Andreas Sturmlechner
2023-11-27 10:51 Andreas Sturmlechner
2023-03-22 19:24 Andreas Sturmlechner
2023-03-10 22:08 Andreas Sturmlechner
2023-02-13  7:53 Andreas Sturmlechner
2023-02-08 19:33 Andreas Sturmlechner
2023-02-05 16:24 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2022-10-08 10:52 Andreas Sturmlechner
2021-09-22 17:41 Andreas Sturmlechner
2021-08-13 15:13 Jimi Huotari
2019-12-31 16:44 Andreas Sturmlechner
2017-08-27  5:52 [gentoo-commits] proj/qt:qtbase59 " Michael Palimaka
2017-08-27  5:50 ` [gentoo-commits] proj/qt:master " Michael Palimaka
2015-10-01 14:27 Michael Palimaka
2014-09-22  0:08 Davide Pesavento
2014-08-04 12:47 Jauhien Piatlicki
2014-08-04 10:44 Jauhien Piatlicki
2014-07-26  9:03 Davide Pesavento
2014-07-24 17:01 Michael Palimaka
2014-06-18 13:00 Michael Palimaka
2014-06-04 13:41 Davide Pesavento
2014-05-31 16:02 Davide Pesavento
2014-02-14 19:48 Johannes Huber
2013-07-22 15:17 Ben de Groot
2013-04-29  9:09 Michael Palimaka
2013-03-24  6:58 Ben de Groot
2013-03-19 12:46 Ben de Groot
2013-03-18 14:32 Ben de Groot
2013-03-18 11:31 Ben de Groot
2013-03-18 11:04 Ben de Groot
2013-02-08 12:55 Michael Palimaka
2013-01-27 14:56 Ben de Groot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1708600672.b348e68385d5b0020393469f9abc6b9238995925.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox