Skip to content

Commit c7636fa

Browse files
committed
python2-wxpython3: pkgrel++.
1 parent da3ae03 commit c7636fa

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

packages/python2-wxpython3/PKGBUILD

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
pkgname=python2-wxpython3
77
pkgver=3.0.2.0
8-
pkgrel=13
8+
pkgrel=14
99
pkgdesc="Classic wxWidgets GUI toolkit for Python"
1010
arch=(x86_64 aarch64)
1111
license=('custom:wxWindows')
@@ -47,9 +47,11 @@ _append_to_CXXFLAGS_after_configure="${_append_to_CFLAGS_after_configure}"
4747
export CFLAGS
4848
export CXXFLAGS
4949

50-
cd wxPython-src-${pkgver}
50+
cd wxPython-src-${pkgver}
51+
if [[ $CARCH == "aarch64" ]]; then
5152
./configure "${_configure_opts[@]}" \
5253
--prefix=/usr \
54+
--host="$CARCH" \
5355
--libdir=/usr/lib \
5456
--includedir=/usr/include \
5557
--with-gtk=3 \
@@ -63,6 +65,23 @@ _append_to_CXXFLAGS_after_configure="${_append_to_CFLAGS_after_configure}"
6365
--with-libjpeg=sys \
6466
--with-libtiff=sys \
6567
--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
6685

6786
echo "CONFIG DONE"
6887

packages/thcrut/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ prepare() {
2929
}
3030

3131
build() {
32-
cd "$pkgname-$pkgver"
32+
cd "$pkgname-$pkgver"
3333

3434
if [[ $CARCH == "aarch64" ]]; then
3535
./configure --prefix=/usr --host="$CARCH"

0 commit comments

Comments
 (0)