summaryrefslogtreecommitdiff
path: root/eclass/wxwidgets.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-20 23:41:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-20 23:41:21 +0000
commit374561aeaff53ce5a2836af934749923b4ea3763 (patch)
tree66880cb44879bf28002f361a4c862814df616b8f /eclass/wxwidgets.eclass
parentea0515fa73da4755b498bdb18bd7fd7a13e616cf (diff)
gentoo auto-resync : 20:01:2023 - 23:41:20
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r--eclass/wxwidgets.eclass8
1 files changed, 4 insertions, 4 deletions
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)"
;;