Skip to content

Commit

Permalink
Packaging: Snap: Added .desktop file
Browse files Browse the repository at this point in the history
Issue #37
  • Loading branch information
pentix committed Oct 20, 2019
1 parent a1be9fb commit b2daf27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packaging/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ parts:
cd ../..
sed -i 's/target.path = \/usr\/bin/target.path = \/snap\/parts\/qjournalctl\/install\/usr\/bin/' qjournalctl.pro
sed -i 's/desktop-file.path = \/usr\/share\/applications/desktop-file.path = \/snap\/parts\/qjournalctl\/install\/usr\/share\/applications/' qjournalctl.pro
sed -i 's/desktop-icon.path = \/usr\/share\/pixmaps/desktop-icon.path = \/snap\/parts\/qjournalctl\/install\/usr\/share\/pixmaps/' qjournalctl.pro
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/snap/parts/qjournalctl/install/lib/pkgconfig/ QT_SELECT=qt5 qmake qjournalctl.pro -r -spec linux-g++ CONFIG+=release QMAKE_LIBDIR=/snap/parts/qjournalctl/install/lib/
make install -j$(nproc)
Expand All @@ -47,4 +50,5 @@ parts:
apps:
qjournalctl:
command: desktop-launch qjournalctl
desktop: /usr/share/applications/qjournalctl.desktop

0 comments on commit b2daf27

Please sign in to comment.