File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
pkgname=python2-wxpython3
7
7
pkgver=3.0.2.0
8
- pkgrel=13
8
+ pkgrel=14
9
9
pkgdesc=" Classic wxWidgets GUI toolkit for Python"
10
10
arch=(x86_64 aarch64)
11
11
license=(' custom:wxWindows' )
@@ -47,9 +47,11 @@ _append_to_CXXFLAGS_after_configure="${_append_to_CFLAGS_after_configure}"
47
47
export CFLAGS
48
48
export CXXFLAGS
49
49
50
- cd wxPython-src-${pkgver}
50
+ cd wxPython-src-${pkgver}
51
+ if [[ $CARCH == " aarch64" ]]; then
51
52
./configure " ${_configure_opts[@]} " \
52
53
--prefix=/usr \
54
+ --host=" $CARCH " \
53
55
--libdir=/usr/lib \
54
56
--includedir=/usr/include \
55
57
--with-gtk=3 \
@@ -63,6 +65,23 @@ _append_to_CXXFLAGS_after_configure="${_append_to_CFLAGS_after_configure}"
63
65
--with-libjpeg=sys \
64
66
--with-libtiff=sys \
65
67
--with-wx-config=/opt/wxgtk-3.0/bin/wx-config-gtk3
68
+ else
69
+ ./configure " ${_configure_opts[@]} " \
70
+ --prefix=/usr \
71
+ --libdir=/usr/lib \
72
+ --includedir=/usr/include \
73
+ --with-gtk=3 \
74
+ --with-opengl \
75
+ --enable-unicode \
76
+ --enable-graphics_ctx \
77
+ --disable-precomp-headers \
78
+ --with-regex=sys \
79
+ --with-libpng=sys \
80
+ --with-libxpm=sys \
81
+ --with-libjpeg=sys \
82
+ --with-libtiff=sys \
83
+ --with-wx-config=/opt/wxgtk-3.0/bin/wx-config-gtk3
84
+ fi
66
85
67
86
echo " CONFIG DONE"
68
87
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ prepare() {
29
29
}
30
30
31
31
build () {
32
- cd " $pkgname -$pkgver "
32
+ cd " $pkgname -$pkgver "
33
33
34
34
if [[ $CARCH == " aarch64" ]]; then
35
35
./configure --prefix=/usr --host=" $CARCH "
You can’t perform that action at this time.
0 commit comments