[vlc-commits] snap: Fixed Exec and Icon entries in the .desktop file.
Konstantin Pavlov
git at videolan.org
Sun Jan 8 00:26:19 CET 2017
vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Jan 8 00:01:19 2017 +0300| [7477eca9dbd98dd5f34086a315dfc1dad1dd83fd] | committer: Konstantin Pavlov
snap: Fixed Exec and Icon entries in the .desktop file.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7477eca9dbd98dd5f34086a315dfc1dad1dd83fd
---
extras/package/snap/package.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/extras/package/snap/package.mak b/extras/package/snap/package.mak
index c6b766d..e5c69ba 100644
--- a/extras/package/snap/package.mak
+++ b/extras/package/snap/package.mak
@@ -1,6 +1,7 @@
snap:
snapcraft prime
mkdir -p setup/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
snapcraft snap
More information about the vlc-commits
mailing list