summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-14 09:45:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-14 10:22:16 -0700
commita62e225e03d5f1118d4a29574517db69a8e8acb5 (patch)
tree314548fe43c93b6cd81980b28766fc1d2a9a9de1
parentaf282a6061d77d5ac830f20baf5db6dad152dbdd (diff)
downloadsubsurface-a62e225e03d5f1118d4a29574517db69a8e8acb5.tar.gz
Hack to work around build issues with current kirigami
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rwxr-xr-xscripts/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 989ddbd9a..02f109556 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -232,6 +232,10 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do
if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then
cd $SRC/subsurface
bash ./scripts/mobilecomponents.sh
+ cd mobile-widgets/qml/kirigami
+ # hack to work around issue in current kirigami
+ sed -i.bak -e '/styles\/Desktop\/ContextDrawer.qml/d' kirigami.qrc
+ sed -i.bak -e '/ecm_create_qm_loader/d' src/CMakeLists.txt
mkdir -p $SRC/kirigami-build
cd $SRC/kirigami-build
cmake $SRC/subsurface/mobile-widgets/qml/kirigami/ -DSTATIC_LIBRARY=ON