public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/polymc/
Date: Fri, 29 Jul 2022 03:16:48 +0000 (UTC)	[thread overview]
Message-ID: <1659064503.a8746c40b3e880596eed2c45f33445e740c44d88.sam@gentoo> (raw)

commit:     a8746c40b3e880596eed2c45f33445e740c44d88
Author:     Thiago Donato Ferreira <flowlnlnln <AT> gmail <DOT> com>
AuthorDate: Sat Jul 23 20:36:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 03:15:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8746c40

games-action/polymc: add `QT_SLOT` variable to simplify maintenance

Signed-off-by: Thiago Donato Ferreira <flowlnlnln <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-action/polymc/polymc-1.4.0.ebuild | 17 +++++++++--------
 games-action/polymc/polymc-9999.ebuild  | 17 +++++++++--------
 2 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/games-action/polymc/polymc-1.4.0.ebuild b/games-action/polymc/polymc-1.4.0.ebuild
index 04335972d1f2..508b1bf1a3e7 100644
--- a/games-action/polymc/polymc-1.4.0.ebuild
+++ b/games-action/polymc/polymc-1.4.0.ebuild
@@ -47,15 +47,16 @@ REQUIRED_USE="
 RESTRICT="!test? ( test )"
 
 MIN_QT="5.12.0"
+QT_SLOT=5
 
 QT_DEPS="
-	>=dev-qt/qtconcurrent-${MIN_QT}:5
-	>=dev-qt/qtcore-${MIN_QT}:5
-	>=dev-qt/qtgui-${MIN_QT}:5
-	>=dev-qt/qtnetwork-${MIN_QT}:5
-	>=dev-qt/qttest-${MIN_QT}:5
-	>=dev-qt/qtwidgets-${MIN_QT}:5
-	>=dev-qt/qtxml-${MIN_QT}:5
+	>=dev-qt/qtconcurrent-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtcore-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtgui-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtnetwork-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qttest-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtwidgets-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtxml-${MIN_QT}:${QT_SLOT}
 "
 
 # Required at both build-time and run-time
@@ -98,7 +99,7 @@ src_configure(){
 		# Resulting binary is named polymc
 		-DLauncher_APP_BINARY_NAME="${PN}"
 		# Force Qt5 to avoid accidentaly building the Qt6 version and breaking things
-		-DLauncher_QT_VERSION_MAJOR=5
+		-DLauncher_QT_VERSION_MAJOR=${QT_SLOT}
 
 		-DENABLE_LTO=$(usex lto)
 		-DBUILD_TESTING=$(usex test)

diff --git a/games-action/polymc/polymc-9999.ebuild b/games-action/polymc/polymc-9999.ebuild
index 04335972d1f2..508b1bf1a3e7 100644
--- a/games-action/polymc/polymc-9999.ebuild
+++ b/games-action/polymc/polymc-9999.ebuild
@@ -47,15 +47,16 @@ REQUIRED_USE="
 RESTRICT="!test? ( test )"
 
 MIN_QT="5.12.0"
+QT_SLOT=5
 
 QT_DEPS="
-	>=dev-qt/qtconcurrent-${MIN_QT}:5
-	>=dev-qt/qtcore-${MIN_QT}:5
-	>=dev-qt/qtgui-${MIN_QT}:5
-	>=dev-qt/qtnetwork-${MIN_QT}:5
-	>=dev-qt/qttest-${MIN_QT}:5
-	>=dev-qt/qtwidgets-${MIN_QT}:5
-	>=dev-qt/qtxml-${MIN_QT}:5
+	>=dev-qt/qtconcurrent-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtcore-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtgui-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtnetwork-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qttest-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtwidgets-${MIN_QT}:${QT_SLOT}
+	>=dev-qt/qtxml-${MIN_QT}:${QT_SLOT}
 "
 
 # Required at both build-time and run-time
@@ -98,7 +99,7 @@ src_configure(){
 		# Resulting binary is named polymc
 		-DLauncher_APP_BINARY_NAME="${PN}"
 		# Force Qt5 to avoid accidentaly building the Qt6 version and breaking things
-		-DLauncher_QT_VERSION_MAJOR=5
+		-DLauncher_QT_VERSION_MAJOR=${QT_SLOT}
 
 		-DENABLE_LTO=$(usex lto)
 		-DBUILD_TESTING=$(usex test)


             reply	other threads:[~2022-07-29  3:16 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-29  3:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-18  2:55 [gentoo-commits] repo/gentoo:master commit in: games-action/polymc/ Sam James
2022-10-17 20:10 Andrew Ammerlaan
2022-10-03  8:23 Andrew Ammerlaan
2022-10-03  8:23 Andrew Ammerlaan
2022-09-22 10:14 Andrew Ammerlaan
2022-09-22 10:14 Andrew Ammerlaan
2022-09-22 10:14 Andrew Ammerlaan
2022-09-14 14:16 Andrew Ammerlaan
2022-09-10  0:29 Sam James
2022-09-09 16:38 Andrew Ammerlaan
2022-09-09 16:38 Andrew Ammerlaan
2022-09-09 16:38 Andrew Ammerlaan
2022-09-09 16:09 Andrew Ammerlaan
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-07-29  3:16 Sam James
2022-06-12 20:24 Andrew Ammerlaan
2022-06-12 20:24 Andrew Ammerlaan
2022-06-01  0:10 Sam James
2022-05-29 18:44 Andrew Ammerlaan
2022-05-23 10:22 Andrew Ammerlaan
2022-05-23 10:22 Andrew Ammerlaan
2022-05-09 15:39 Andrew Ammerlaan
2022-05-02  9:09 Andrew Ammerlaan
2022-05-02  9:09 Andrew Ammerlaan
2022-04-15 18:13 Andrew Ammerlaan

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=1659064503.a8746c40b3e880596eed2c45f33445e740c44d88.sam@gentoo \
    --to=sam@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