summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrahmajit das <listout@protonmail.com>2022-11-22 00:54:20 +0530
committerArsen Arsenović <arsen@gentoo.org>2023-01-20 23:15:46 +0100
commitc31e7b31bee82014fe36ca695dc52c21dfe9f8da (patch)
tree215496c4b5b11b396facf692e8f79fd6d835d1e5 /eclass/wxwidgets.eclass
parentdev-ml/ocamlnet: compute dependency better (diff)
downloadgentoo-c31e7b31bee82014fe36ca695dc52c21dfe9f8da.tar.gz
gentoo-c31e7b31bee82014fe36ca695dc52c21dfe9f8da.tar.bz2
gentoo-c31e7b31bee82014fe36ca695dc52c21dfe9f8da.zip
x11-libs/wxGTK: eclass preparation
Closes: https://bugs.gentoo.org/577030#c37 Signed-off-by: brahmajit das <listout@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/28360 Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r--eclass/wxwidgets.eclass4
1 files 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)"
;;