From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2594A158094 for ; Fri, 29 Jul 2022 03:16:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8810CE0EA3; Fri, 29 Jul 2022 03:16:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6352AE0EA2 for ; Fri, 29 Jul 2022 03:16:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 813F833BE33 for ; Fri, 29 Jul 2022 03:16:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDF8A560 for ; Fri, 29 Jul 2022 03:16:48 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1659064503.a8746c40b3e880596eed2c45f33445e740c44d88.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/polymc/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/polymc/polymc-1.4.0.ebuild games-action/polymc/polymc-9999.ebuild X-VCS-Directories: games-action/polymc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a8746c40b3e880596eed2c45f33445e740c44d88 X-VCS-Branch: master Date: Fri, 29 Jul 2022 03:16:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 92109c1a-d95e-4013-8b43-3040a873c0cd X-Archives-Hash: 3c66da8de5f1dda23918fd929c67ca59 commit: a8746c40b3e880596eed2c45f33445e740c44d88 Author: Thiago Donato Ferreira gmail com> AuthorDate: Sat Jul 23 20:36:44 2022 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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)