From ed24215754e07f280ea859399d298cc35eaa78de Mon Sep 17 00:00:00 2001 From: EndrII Date: Sun, 3 Jun 2018 16:17:40 +0300 Subject: [PATCH] fix snap --- snap/core18/snapcraft.yaml | 35 +++++++++++++++++++++++++++++++++++ snap/snapcraft.yaml | 32 +++++++++++++------------------- 2 files changed, 48 insertions(+), 19 deletions(-) create mode 100755 snap/core18/snapcraft.yaml diff --git a/snap/core18/snapcraft.yaml b/snap/core18/snapcraft.yaml new file mode 100755 index 0000000..62e2cca --- /dev/null +++ b/snap/core18/snapcraft.yaml @@ -0,0 +1,35 @@ +name: qt-deployer +version: '1.0core18' +summary: Deploy Qt Project +description: | + Deploy Qt Projects. this application extract all depends library of executable and create launch script for your application. +grade: stable # must be 'stable' to release into candidate/stable channels +confinement: classic # use 'strict' once you have the right plugs and slots +base: core18 + +icon: snap/gui/icon.png + +apps: + qt-deployer: + command: qt5-launch opt/qt-deployer/bin/qt-deployer +# desktop: usr/share/applications/desc.desktop + plugs: [desktop, home, opengl, x11, wayland] + + +parts: + qt-deployer: + plugin: qmake + source: source/ + build-packages: + - qtbase5-dev + - qtdeclarative5-dev + stage-packages: + # Here for the plugins-- they're not linked in automatically. + - libqt5gui5 + - libqt5qml5 + - libqt5quick5 + - qml-module-qtquick2 + - qml-module-qtquick-dialogs + - qml-module-qtquick-controls + - qml-module-qtgraphicaleffects +after: [qt5conf] # A wiki part diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4931b29..44266c6 100755 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,34 +1,28 @@ name: qt-deployer -version: '1.0test3' +version: '1.0test4' summary: Deploy Qt Project description: | Deploy Qt Projects. this application extract all depends library of executable and create launch script for your application. - grade: stable # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots + icon: snap/gui/icon.png apps: qt-deployer: - command: bin/qt-deployer - - plugs: [desktop, home, opengl, x11, dbus] - environment: - LD_LIBRARY_PATH: $SNAP/lib - QML_IMPORT_PATH: $SNAP/qml - QML2_IMPORT_PATH: $SNAP/qml - QT_PLUGIN_PATH: $SNAP/plugins - QT_QPA_PLATFORM_PLUGIN_PATH: $SNAP/plugins/platforms + command: qt5-launch opt/qt-deployer/bin/qt-deployer +# desktop: usr/share/applications/desc.desktop + plugs: [desktop, home, opengl, x11, wayland, removable-media] parts: qt-deployer: - plugin: dump - source: Release-QtDeployer - source-type: local - - - - - + plugin: qmake + source: source/ + build-packages: + - qtbase5-dev + stage-packages: + # Here for the plugins-- they're not linked in automatically. + - libqt5gui5 +after: [qt5conf] # A wiki part