[eog] snap: Handle desktop file rename
- From: Ken VanDine <kvandine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] snap: Handle desktop file rename
- Date: Tue, 21 Jan 2020 17:43:45 +0000 (UTC)
commit 5b9d591547c646496262f5a9ed58d63da478467a
Author: Ken VanDine <kvandine gnome org>
Date: Tue Jan 21 12:42:52 2020 -0500
snap: Handle desktop file rename
snap/snapcraft.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index f9178518..24299216 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -18,11 +18,11 @@ slots:
eog:
interface: dbus
bus: session
- name: org.gnome.eog.ApplicationService
+ name: org.gnome.eog
apps:
eog:
- common-id: eog.desktop
+ common-id: org.gnome.eog.desktop
command: usr/bin/eog
extensions: [gnome-3-28]
plugs:
@@ -87,12 +87,12 @@ parts:
organize:
snap/eog/current/usr: usr
override-build: |
- sed -i.bak -e 's|=org.gnome.eog$|=${SNAP}/meta/gui/org.gnome.eog.svg|g' data/eog.desktop.in.in
+ sed -i.bak -e 's|=org.gnome.eog$|=${SNAP}/meta/gui/org.gnome.eog.svg|g'
data/org.gnome.eog.desktop.in.in
sed -i.bak -e 's|media: media,|media: media, symlink_media: false,|g' help/meson.build
snapcraftctl build
mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
cp ../src/data/icons/scalable/apps/org.gnome.eog.svg $SNAPCRAFT_PART_INSTALL/meta/gui/
- cp snapbuild/data/eog.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
+ cp snapbuild/data/org.gnome.eog.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
build-packages:
- appstream-util
- desktop-file-utils
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]