Skip to content

Commit

Permalink
Packaging: Snap: Snap requires different paths for Pixmaps
Browse files Browse the repository at this point in the history
Worked on Desktop build, failed on Travis
Issue #37
  • Loading branch information
pentix committed Oct 20, 2019
1 parent c7b7436 commit 8f939d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packaging/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ 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
sed -i 's/desktop-file.path = \/usr\/share\/applications/desktop-file.path = \/snap\/prime\/usr\/share\/applications/' qjournalctl.pro
sed -i 's/desktop-icon.path = \/usr\/share\/pixmaps/desktop-icon.path = \/snap\/prime\/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 Down

0 comments on commit 8f939d9

Please sign in to comment.