From 374561aeaff53ce5a2836af934749923b4ea3763 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 20 Jan 2023 23:41:21 +0000 Subject: gentoo auto-resync : 20:01:2023 - 23:41:20 --- eclass/wxwidgets.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/wxwidgets.eclass') diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index afc4aae5f7d3..0a58c44bbf40 100644 --- a/eclass/wxwidgets.eclass +++ b/eclass/wxwidgets.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: wxwidgets.eclass @@ -36,14 +36,14 @@ _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}" fi ;; "") die "WX_GTK_VER not declared" ;; - *) die "Invalid WX_GTK_VER: must be set to a valid wxGTK SLOT ('3.0' or '3.0-gtk3')" ;; + *) die "Invalid WX_GTK_VER: must be set to a valid wxGTK SLOT ('3.0', '3.0-gtk3', or '3.2-gtk3')" ;; esac readonly WX_GTK_VER @@ -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)" ;; -- cgit v1.2.3