summaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2018-08-29 02:32:54 +0200
committerGitHub <noreply@github.com>2018-08-29 02:32:54 +0200
commite79a2ebe40e5af86fabe62cc403bdaa6db829c85 (patch)
tree3c704809d890eea014a7931222b15b9943391815 /snap
parent4061667dea7a9a24c9b8b734d740233c609f13d7 (diff)
downloadmidori-git-e79a2ebe40e5af86fabe62cc403bdaa6db829c85.tar.gz
Use full pathname for Icon in .desktop for snap (#25)
This change adds a `DESKTOP_ICON` variable in CMake to customize the value of `Icon` in the `.desktop` file, which in the case of the snap should be an absolute filename.
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 6e1316d2..f37a6bfe 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -62,6 +62,7 @@ parts:
plugin: cmake
configflags:
- -DCMAKE_INSTALL_DATADIR=/usr/share
+ - -DDESKTOP_ICON=/usr/share/icons/hicolor/scalable/apps/midori.svg
build-packages:
- git
- valac