From 6be6134538269b78f192071a572bae54c5540506 Mon Sep 17 00:00:00 2001 From: EndrII Date: Tue, 15 May 2018 21:02:24 +0300 Subject: [PATCH] fix static package --- snap/snapcraft.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index fb78345..1a68f51 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: hanoi-tower -version: '1.4.testBuildStatic2' +version: '1.4.testBuildStatic3' summary: Hanoi Towers Game description: | The Hanoi Tower is one of the most popular puzzles of the 19th century. Three bars are given, on one of which eight rings are strung, the rings differ in size and lie smaller on larger ones. The problem is to transfer the pyramid from eight rings for the least number of moves to another rod. At a time, only one ring is allowed to carry, and you can not put a larger ring on less. @@ -10,14 +10,14 @@ confinement: strict # use 'strict' once you have the right plugs and slots icon: source/res/icon.png apps: - hanoi-towers: + hanoi-tower: command: bin/hanoi-towers # desktop: usr/share/applications/desc.desktop plugs: [desktop, unity7, home, opengl, x11, wayland] parts: - hanoi-towers: + hanoi-tower: plugin: qmake source: source/ stage-packages: @@ -31,7 +31,7 @@ parts: - libxi-dev - libxcb1-dev organize: - opt/hanoi-towers/bin: bin + opt/hanoi-tower/bin: bin after: - qt @@ -39,7 +39,7 @@ parts: plugin: qtbuilder qt-version: 5.9.5 qt-source-git: https://code.qt.io/qt/qt5.git - qt-submodules: ['qtbase', 'qtimageformats', 'qtsvg', 'qtquickcontrols', 'qtquickcontrols2', 'qtdeclarative'] + qt-submodules: ['qtbase', 'qtimageformats', 'qtgraphicaleffects', 'qtsvg', 'qtquickcontrols', 'qtquickcontrols2', 'qtdeclarative', 'qttranslations'] build-packages: - libasound2-dev @@ -61,7 +61,7 @@ parts: - libxrender-dev configflags: - -prefix - - $SNAPCRAFT_STAGE + - /usr - -release - -force-debug-info - -opensource