2021-12-22 10:45:39 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.wxwidgets.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="A free and open source cross-platform C++ framework for writing advanced GUI applications"
|
|
|
|
TERMUX_PKG_LICENSE="custom"
|
|
|
|
TERMUX_PKG_LICENSE_FILE="docs/gpl.txt, docs/lgpl.txt, docs/licence.txt, docs/licendoc.txt, docs/preamble.txt"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-23 16:52:25 +02:00
|
|
|
TERMUX_PKG_VERSION=3.1.6
|
2021-12-22 10:45:39 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/wxWidgets/wxWidgets/releases/download/v${TERMUX_PKG_VERSION}/wxWidgets-${TERMUX_PKG_VERSION}.tar.bz2
|
2022-04-23 16:52:25 +02:00
|
|
|
TERMUX_PKG_SHA256=4980e86c6494adcd527a41fc0a4e436777ba41d1893717d7b7176c59c2061c25
|
2021-12-22 10:45:39 +01:00
|
|
|
TERMUX_PKG_DEPENDS="glu, gtk3, libcurl, libexpat, libiconv, libjpeg-turbo, liblzma, libnotify, libpng, libsecret, libsm, libtiff, mesa, sdl2"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-option-checking
|
2022-04-23 16:52:25 +02:00
|
|
|
--disable-mediactrl
|
|
|
|
--disable-webview
|
2021-12-22 10:45:39 +01:00
|
|
|
--with-sdl
|
2022-04-23 16:52:25 +02:00
|
|
|
ac_cv_header_langinfo_h=no
|
2021-12-22 10:45:39 +01:00
|
|
|
wx_cv_func_snprintf_pos_params=yes
|
|
|
|
"
|
2021-12-22 21:26:16 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
_WX_RELEASE=$(awk '/^WX_RELEASE =/ { print $3 }' "$TERMUX_PKG_SRCDIR"/Makefile.in)
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
cp -fr "$TERMUX_PKG_SRCDIR"/include/wx/android \
|
|
|
|
$TERMUX_PREFIX/include/wx-${_WX_RELEASE}/wx/android
|
|
|
|
}
|