5 |
5 |
|
6 |
6 |
inherit multilib-minimal
|
7 |
7 |
|
8 |
|
WXSUBVERSION=${PV}-gtk3 # 3.2.1-gtk3
|
9 |
|
WXVERSION=${PV} # 3.2.1
|
10 |
|
WXRELEASE=${WXVERSION%.*}-gtk3 # 3.2-gtk3
|
|
8 |
WXSUBVERSION="${PV}-gtk3" # 3.2.1-gtk3
|
|
9 |
WXVERSION="$(ver_cut 1-3)" # 3.2.1
|
|
10 |
# Make sure that this matches the number of components in ${PV}
|
|
11 |
WXRELEASE="$(ver_cut 1-2)-gtk3" # 3.2-gtk3
|
11 |
12 |
WXRELEASE_NODOT=${WXRELEASE//./} # 32-gtk3
|
12 |
13 |
|
13 |
14 |
DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
|
... | ... | |
19 |
20 |
|
20 |
21 |
LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
|
21 |
22 |
SLOT="${WXRELEASE}"
|
22 |
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
|
23 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
23 |
24 |
IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit"
|
24 |
25 |
REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
|
25 |
26 |
RESTRICT="!test? ( test )"
|
... | ... | |
77 |
78 |
|
78 |
79 |
PATCHES=(
|
79 |
80 |
#"${WORKDIR}"/wxGTK-3.0.5_p20210214/
|
80 |
|
"${FILESDIR}"/${P}-gtk3-translation-domain.patch
|
|
81 |
"${FILESDIR}/${PN}-3.2.1-gtk3-translation-domain.patch"
|
81 |
82 |
#"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
|
82 |
|
"${FILESDIR}/${P}-configure-tests.patch"
|
83 |
|
"${FILESDIR}/${P}"-wayland-control.patch
|
84 |
|
"${FILESDIR}/${P}"-prefer-lib64-in-tests.patch
|
|
83 |
"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
|
|
84 |
"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
|
|
85 |
"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
|
|
86 |
"${FILESDIR}/${PN}-3.2.2.1-dont-break-flags.patch"
|
85 |
87 |
)
|
86 |
88 |
|
87 |
89 |
src_prepare() {
|
... | ... | |
195 |
197 |
newdoc base/readme.txt base_readme.txt
|
196 |
198 |
newdoc gtk/readme.txt gtk_readme.txt
|
197 |
199 |
|
198 |
|
use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${WXVERSION}-docs-html/. )
|
|
200 |
use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
|
199 |
201 |
einstalldocs
|
200 |
202 |
|
201 |
203 |
# Unversioned links
|