updated snap yaml

This commit is contained in:
itsmattkc
2019-01-09 14:29:57 +11:00
parent d798edfd05
commit a359cb461c
+6 -1
View File
@@ -12,6 +12,7 @@ apps:
olive-editor: olive-editor:
environment: environment:
"LD_LIBRARY_PATH": "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio" "LD_LIBRARY_PATH": "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio"
"DISABLE_WAYLAND": "1"
command: desktop-launch $SNAP/bin/olive-editor command: desktop-launch $SNAP/bin/olive-editor
plugs: plugs:
- opengl - opengl
@@ -42,7 +43,11 @@ parts:
override-build: | override-build: |
qmake olive.pro qmake olive.pro
make make
make install mkdir -p $SNAPCRAFT_PART_INSTALL/bin/effects
cp olive-editor $SNAPCRAFT_PART_INSTALL/bin
cp effects/*.xml $SNAPCRAFT_PART_INSTALL/bin/effects
cp effects/*.frag $SNAPCRAFT_PART_INSTALL/bin/effects
cp effects/*.vert $SNAPCRAFT_PART_INSTALL/bin/effects
snapcraftctl set-version $(git rev-parse --short HEAD) snapcraftctl set-version $(git rev-parse --short HEAD)
desktop-qt5: desktop-qt5:
build-packages: build-packages: