[vlc-commits] snap: use snap prefix for assets instead of setup.

Konstantin Pavlov git at videolan.org
Sun Jul 2 16:08:25 CEST 2017


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Jul  2 16:56:35 2017 +0300| [15aced917d2bdf994198e6af74dff5af4ef1e9c6] | committer: Konstantin Pavlov

snap: use snap prefix for assets instead of setup.

The latter was deprecated:
https://snapcraft.io/docs/deprecation-notices/dn3

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15aced917d2bdf994198e6af74dff5af4ef1e9c6
---

 extras/package/snap/package.mak | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/package/snap/package.mak b/extras/package/snap/package.mak
index e5c69bae6e..7d6e79bd20 100644
--- a/extras/package/snap/package.mak
+++ b/extras/package/snap/package.mak
@@ -1,11 +1,11 @@
 snap:
 	snapcraft prime
-	mkdir -p setup/gui
+	mkdir -p snap/gui
 	sed -i -e 's,^Exec=/bin/vlc,Exec=vlc,' -e 's,^Icon=vlc,Icon=$${SNAP}/meta/gui/vlc.png,' prime/share/applications/vlc.desktop
-	ln -sf ../../prime/share/applications/vlc.desktop setup/gui
-	ln -sf ../../prime/share/icons/hicolor/256x256/apps/vlc.png setup/gui
+	ln -sf ../../prime/share/applications/vlc.desktop snap/gui
+	ln -sf ../../prime/share/icons/hicolor/256x256/apps/vlc.png snap/gui
 	snapcraft snap
 
 snap-clean:
 	snapcraft clean
-	rm -rf setup
+	rm -rf snap



More information about the vlc-commits mailing list