From 0c6335eb67d5f46026f85cd6a1f2e80a9e6b8790 Mon Sep 17 00:00:00 2001 From: eszlari Date: Sat, 19 Jan 2019 18:18:19 +0100 Subject: [PATCH] snap: use make install --- snap/snapcraft.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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: