=== removed file 'snap/ubuntu-calendar-app.wrapper'
--- snap/ubuntu-calendar-app.wrapper 2016-11-07 15:48:15 +0000
+++ snap/ubuntu-calendar-app.wrapper 1970-01-01 00:00:00 +0000
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-# Qt Modules
-export QML2_IMPORT_PATH=$SNAP/usr/lib/$ARCH/qt5/qml:$QML2_IMPORT_PATH
-export QML2_IMPORT_PATH=$SNAP/lib/$ARCH:$QML2_IMPORT_PATH
-
-# Necessary for the SDK to find the translations directory
-export APP_DIR=$SNAP
-
-exec "$SNAP/ubuntu-app-platform/usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene" "$@" $SNAP/usr/share/calendar-app/calendar.qml
-
=== modified file 'snapcraft.yaml'
--- snapcraft.yaml 2016-11-07 15:48:15 +0000
+++ snapcraft.yaml 2016-11-08 13:16:09 +0000
@@ -7,7 +7,7 @@
apps:
ubuntu-calendar-app:
- command: desktop-launch $SNAP/bin/ubuntu-calendar-app --desktop_file_hint=unity8 "$@"
+ command: desktop-launch qmlscene --desktop_file_hint=unity8 $SNAP/usr/share/calendar-app/calendar.qml
plugs: [platform, gsettings, unity7, opengl]
plugs:
@@ -56,7 +56,7 @@
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: qt
plugin: make
- make-parameters: ["FLAVOR=qt5-app-platform"]
+ make-parameters: ["FLAVOR=qt5appplatform"]
# developer should use stable-phone-overlay PPA for Qt 5.6 to match the platform snap
build-packages:
- qtbase5-dev
@@ -65,5 +65,3 @@
environment:
source: snap/
plugin: dump
- organize:
- ubuntu-calendar-app.wrapper: bin/ubuntu-calendar-app