snapcraft.yaml: add desktop-platform-gnome part #46

Merged
merged 3 commits into from Feb 14, 2017
Jump to file or symbol
Failed to load files and symbols.
+10 −10
Split
Viewing a subset of changes. View all
Prev

rename gnome-runtime to gnome-platform

  • Loading branch information...
commit 2289e89d49bc86f2d4a9308846526cc4f137f18e @3v1n0 3v1n0 committed Feb 9, 2017
View
@@ -2,16 +2,16 @@
# GNOME runtime selection #
###########################
-if [ -d $SNAP/gnome-runtime ]; then
- RUNTIME=$SNAP/gnome-runtime
+if [ -d $SNAP/gnome-platform ]; then
+ RUNTIME=$SNAP/gnome-platform
if [ ! -d $RUNTIME/usr ]; then
- echo "You need to connect the snap to the gnome-runtime interface."
+ echo "You need to connect the snap to the gnome-platform interface."
echo ""
echo "You can do this with those commands:"
echo "snap install --edge gnome318-udt"
- echo "snap connect $SNAP_NAME:gnome318-runtime gnome318-udt:gnome318-runtime"
+ echo "snap connect $SNAP_NAME:gnome318-platform gnome318-udt:gnome318-platform"
@didrocks

didrocks Feb 10, 2017

Owner

s/gnome318-platform/platform/g (both)

echo ""
- echo "(the '318' number defines the runtime version and might change)"
+ echo "(the '318' number defines the platform version and might change)"
exit 1
fi
fi
View
@@ -43,13 +43,13 @@ description: |
plugs: [platform]
- similarly for the gnome platform based apps
plugs:
- gnome-runtime:
- content: gnome318-runtime
- default-provider: gnome318-udt:gnome318-runtime
+ gnome-platform:
@didrocks

didrocks Feb 10, 2017

Owner

s/gnome-platform/platform/

+ content: gnome318-platform
+ default-provider: gnome318-udt:gnome318-platform
@didrocks

didrocks Feb 10, 2017

Owner

s/gnome318-platform/platform/

interface: content
- target: gnome-runtime
+ target: gnome-platform
and then make your apps use it:
- plugs: [gnome-runtime]
+ plugs: [gnome-platform]
@didrocks

didrocks Feb 10, 2017

Owner

s/gnome-platform/platform/

confinement: strict