commit:     954b727d66f076db65a0de7d4ff3a071945ca779
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 05:43:45 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 06:51:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954b727d

gui-apps/qt6ct: use eapi9-ver.eclass

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 gui-apps/qt6ct/qt6ct-0.9-r1.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gui-apps/qt6ct/qt6ct-0.9-r1.ebuild 
b/gui-apps/qt6ct/qt6ct-0.9-r1.ebuild
index 2f798cf51885..17f3c1f18a18 100644
--- a/gui-apps/qt6ct/qt6ct-0.9-r1.ebuild
+++ b/gui-apps/qt6ct/qt6ct-0.9-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake eapi9-ver
 
 DESCRIPTION="Qt6 Configuration Tool (for DE/WM without Qt integration)"
 HOMEPAGE="https://github.com/trialuser02/qt6ct/";
@@ -52,9 +52,7 @@ pkg_postinst() {
 
        # not a very important warning (at most could surprise users that had it
        # installed but weren't really using it), can likely cleanup next 
version
-       if [[ ${REPLACING_VERSIONS##* } ]] &&
-               ver_test ${REPLACING_VERSIONS##* } -lt 0.9-r1
-       then
+       if ver_replacing -lt 0.9-r1; then
                ewarn
                ewarn "Note that ${PF} newly sets QT_QPA_PLATFORMTHEME globally"
                ewarn "by default to use ${PN} (or qt5ct if it is installed)."

Reply via email to