commit:     ff21849c5934e7dcd624f432c1fa8b84dd538a04
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Tue Aug 23 15:43:44 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 06:27:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff21849c

net-im/telegram-desktop: Hotfix for proper Qt selection

They changed the variable for this, causing the build to prefer qt6 when
it's available.

Closes: https://bugs.gentoo.org/866157
Thanks-to: Agostino Sarubbo <ago <AT> gentoo.org>
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26980
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{telegram-desktop-4.1.1.ebuild => telegram-desktop-4.1.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild 
b/net-im/telegram-desktop/telegram-desktop-4.1.1-r1.ebuild
similarity index 99%
rename from net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild
rename to net-im/telegram-desktop/telegram-desktop-4.1.1-r1.ebuild
index 363e89f23081..ea8aea70d791 100644
--- a/net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-4.1.1-r1.ebuild
@@ -117,7 +117,7 @@ src_configure() {
        local mycmakeargs=(
                -DTDESKTOP_LAUNCHER_BASENAME="${PN}"
                -DCMAKE_DISABLE_FIND_PACKAGE_tl-expected=ON  # header only lib, 
some git version. prevents warnings.
-               -DDESKTOP_APP_QT6=$(usex qt6)
+               -DQT_VERSION_MAJOR=$(usex qt6 6 5)
 
                -DDESKTOP_APP_DISABLE_DBUS_INTEGRATION=$(usex !dbus)
                -DDESKTOP_APP_DISABLE_X11_INTEGRATION=$(usex !X)

Reply via email to