diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index be32acb53..baf03cbf6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -41,13 +41,9 @@ parts: - libslang2 - libglu1-mesa override-build: | - qmake olive.pro + qmake PREFIX=$SNAPCRAFT_PART_INSTALL make - 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 + make install snapcraftctl set-version $(git rev-parse --short HEAD) desktop-qt5: build-packages: