commit:     c31e7b31bee82014fe36ca695dc52c21dfe9f8da
Author:     brahmajit das <listout <AT> protonmail <DOT> com>
AuthorDate: Mon Nov 21 19:24:20 2022 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 22:15:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31e7b31

x11-libs/wxGTK: eclass preparation

Closes: https://bugs.gentoo.org/577030#c37
Signed-off-by: brahmajit das <listout <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28360
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 eclass/wxwidgets.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index afc4aae5f7d3..64f0e38552ec 100644
--- a/eclass/wxwidgets.eclass
+++ b/eclass/wxwidgets.eclass
@@ -36,7 +36,7 @@ _WXWIDGETS_ECLASS=1
 # The SLOT of the x11-libs/wxGTK you're targeting.  Needs to be defined before
 # inheriting the eclass.  Can be either "3.0" or "3.0-gtk3".
 case ${WX_GTK_VER} in
-       3.0-gtk3) ;;
+       3.0-gtk3 | 3.2-gtk3) ;;
        3.0)
                if [[ ${EAPI} != 7 ]]; then
                        die "${ECLASS}: GTK 2 no longer supported in EAPI 
${EAPI}"
@@ -67,7 +67,7 @@ setup-wxwidgets() {
        local w wxtoolkit wxconf
 
        case ${WX_GTK_VER} in
-               3.0-gtk3) wxtoolkit=gtk3 ;;
+               3.0-gtk3 | 3.2-gtk3) wxtoolkit=gtk3 ;;
                3.0)      wxtoolkit=gtk2
                          eqawarn "This package relies on the deprecated GTK 2 
slot, which will go away soon (https://bugs.gentoo.org/618642)"
                          ;;

Reply via email to