From e16fc35253a335f23d5b783f497b1bdddc06e151 Mon Sep 17 00:00:00 2001 From: Peter Eszlari Date: Thu, 27 Dec 2018 08:37:17 +0100 Subject: [PATCH] support make install for Linux --- olive.pro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/olive.pro b/olive.pro index 650aedb28..79b08f99f 100644 --- a/olive.pro +++ b/olive.pro @@ -217,6 +217,17 @@ unix:!mac { RESOURCES += \ icons/icons.qrc +unix:!mac:isEmpty(PREFIX) { + PREFIX = /usr/local +} + +unix:!mac:target.path = $$PREFIX/bin + +effects.files = $$PWD/effects/*.frag $$PWD/effects/*.xml $$PWD/effects/*.vert +unix:!mac:effects.path = $$PREFIX/share/olive-editor/effects + +INSTALLS += target effects + unix:!mac { metainfo.files = $$PWD/packaging/linux/org.olivevideoeditor.Olive.appdata.xml metainfo.path = $$PREFIX/share/metainfo