This commit is contained in:
Jonas Kvinge 2019-01-31 00:08:52 +01:00
parent 2a004dadf3
commit f0422f7634

View File

@ -14,6 +14,7 @@ parts:
plugin: cmake plugin: cmake
source-type: git source-type: git
source: https://github.com/jonaski/strawberry source: https://github.com/jonaski/strawberry
after: [desktop-qt5]
build-packages: build-packages:
- cmake - cmake
@ -58,6 +59,7 @@ parts:
- libqt5dbus5 - libqt5dbus5
- libqt5sql5 - libqt5sql5
- libqt5x11extras5 - libqt5x11extras5
- libqt5sql5-sqlite
- libsqlite3-0 - libsqlite3-0
- libgpm2 - libgpm2
- libasound2 - libasound2
@ -88,8 +90,10 @@ parts:
apps: apps:
strawberry: strawberry:
command: strawberry command: desktop-launch $SNAP/bin/strawberry
desktop: share/applications/strawberry.desktop desktop: share/applications/strawberry.desktop
environment:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
plugs: plugs:
- system-observe - system-observe
- system-trace - system-trace
@ -98,6 +102,7 @@ apps:
- mpris - mpris
- udisks2 - udisks2
- network - network
- network-bind
- desktop - desktop
- desktop-legacy - desktop-legacy
- x11 - x11