OpenCPN: use cmake-wxWidgets-gtk3 build_helper

This commit is contained in:
John 2020-12-27 00:28:51 +01:00 committed by John Zimmermann
parent 7398436b6c
commit a4f5addb11

View file

@ -3,6 +3,7 @@ pkgname=OpenCPN
version=5.2.0
revision=1
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
configure_args="-DOCPN_BUNDLE_GSHHS=NONE -DOCPN_BUNDLE_TCDATA=ON
-DOCPN_BUNDLE_DOCS=ON -DOCPN_FORCE_GTK3=ON
-DOCPN_USE_CRASHREPORT=$(vopt_if crashreport ON OFF)
@ -32,10 +33,6 @@ case $XBPS_TARGET_MACHINE in
*) build_options_default+=" crashreport";;
esac
if [ -z "$CROSS_BUILD" ]; then
configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
fi
CFLAGS="-fcommon"
post_install() {