From 55041756b4df92824f8614603971a5e8e9464f73 Mon Sep 17 00:00:00 2001 From: RunningDroid Date: Thu, 1 Sep 2022 01:58:23 -0400 Subject: [PATCH] qflipper: update to 1.1.3. - disable building on i686 and point to upstream bug https://github.com/flipperdevices/qFlipper/issues/120 - add configure args that upstream recommends: https://github.com/flipperdevices/qFlipper#standalone-build - add configure arg to disable update checker --- srcpkgs/qflipper/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/qflipper/template b/srcpkgs/qflipper/template index 351e7d35fdaf..2fca433477d9 100644 --- a/srcpkgs/qflipper/template +++ b/srcpkgs/qflipper/template @@ -1,10 +1,12 @@ # Template file for 'qflipper' pkgname=qflipper -version=1.1.0 +version=1.1.3 revision=1 _nanopb_version=0.4.5 +archs="~i686" #https://github.com/flipperdevices/qFlipper/issues/120 wrksrc="qFlipper-${version}" build_style=qmake +configure_args="-spec linux-g++ CONFIG+=qtquickcompiler DEFINES+=DISABLE_APPLICATION_UPDATES" hostmakedepends="qt5-qmake pkg-config qt5-host-tools" makedepends="qt5-devel qt5-serialport-devel libusb-devel qt5-quickcontrols2-devel qt5-svg-devel qt5-declarative-devel" depends="qt5-graphicaleffects qt5-quickcontrols" @@ -14,9 +16,13 @@ license="GPL-3.0-only" homepage="https://flipperzero.one" distfiles="https://github.com/flipperdevices/qFlipper/archive/refs/tags/${version}.tar.gz https://github.com/nanopb/nanopb/archive/refs/tags/${_nanopb_version}.tar.gz" -checksum="ccafe9b7e4f6c0cabe6e030dae7b0672062bdee048f461aa3429cde5371ef6c2 +checksum="eccdca2ad8afc4207b677dffd0ffd4d55a34b87191ffd79ae212804e484a7a5a 7d57ebcf26885c9758f95f26bf06d366744599f9a2ff4de477a348eb13e7a7d8" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-serialport-devel qt5-quickcontrols2-devel qt5-svg-devel qt5-declarative-devel" +fi + post_extract() { rmdir 3rdparty/nanopb ln -s ../../nanopb-0.4.5 3rdparty/nanopb