From 0f792f690e70080a067531597e12b3efcaef1945 Mon Sep 17 00:00:00 2001 From: bgallois Date: Wed, 8 Sep 2021 19:46:56 +0200 Subject: [PATCH] [add] global: add make install for linux --- src/FastTrack-Cli.pro | 10 ++++------ src/FastTrack.pro | 12 ++++++++++++ src/assets/fasttrack.png | Bin 0 -> 13148 bytes 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 src/assets/fasttrack.png diff --git a/src/FastTrack-Cli.pro b/src/FastTrack-Cli.pro index 66f9246..12aed42 100644 --- a/src/FastTrack-Cli.pro +++ b/src/FastTrack-Cli.pro @@ -33,13 +33,11 @@ unix:!macx { LIBS += -L/usr/lib/ -fopenmp LIBS += -L/usr/local/lib -L/usr/lib -L/usr/local/lib64 -L/usr/lib64 -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_videoio -lopencv_video -lopencv_calib3d -lopencv_photo -lopencv_features2d RCC_DIR=build -} -win32 { - QMAKE_CXXFLAGS += /std:c++latest - LIBS += -LC:\opencv\build\x64\vc15\lib -lopencv_world430 - INCLUDEPATH += C:\opencv\build\include - DEPENDPATH += C:\opencv\build\include + target.path = /usr/bin/ + license.path = /usr/share/licenses/FastTrack/ + license.files = LICENSE + INSTALLS += target license } unix:macx { diff --git a/src/FastTrack.pro b/src/FastTrack.pro index f6bd9e9..22509fe 100644 --- a/src/FastTrack.pro +++ b/src/FastTrack.pro @@ -37,6 +37,18 @@ unix:!macx { INCLUDEPATH += /usr/local/include/opencv4/ LIBS += -L/usr/lib/ -fopenmp LIBS += -L/usr/local/lib -L/usr/lib -L/usr/local/lib64 -L/usr/lib64 -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_videoio -lopencv_video -lopencv_calib3d -lopencv_photo -lopencv_features2d + + # custom destination INSTALL_ROOT=$PWD/package_root make install + target.path = /usr/bin/ + desktop.path = /usr/share/applications/ + desktop.files = sh.fasttrack.fasttrack.desktop + metainfo.path = /usr/share/metainfo/ + metainfo.files = sh.fasttrack.fasttrack.metainfo.xml + icon.path = /usr/share/icons/ + icon.files = src/assets/fasttrack.png + license.path = /usr/share/licenses/FastTrack/ + license.files = LICENSE + INSTALLS += target desktop metainfo icon license } win32 { diff --git a/src/assets/fasttrack.png b/src/assets/fasttrack.png new file mode 100644 index 0000000000000000000000000000000000000000..75f1364241e0f06c6731df98a163cf306f1f762f GIT binary patch literal 13148 zcmeHuXH=6**Y*uau_7P@1cHK!9-6=bq=bl4EC?df1tL}Hh>#GfA`(a-DuM+F95{;f zCcO(JNLQpc4MONSp@#lVp6^}j{eHc_p7+nUo&{OCnVEafo;`c^?0xM`^lc-9qlZo& zf*|PV^=rC!Ac%dH_2Jh0%mUqeDaltwD#4hu3dg#s6&Stl@omDFHTaqxdO0WuYah{G=qpk#!LbLzK zDPER#(F>l8-Kde)WInTL1Dw4o2@B0{&4IH+(4dA6F9aPF0NlU0_@BrB$l?D{fYpTHJzUYRNq(MwS;s`^UrPsNqg#kDGGUR6e0yxb2wsFQExL2%2BWNnqp- z1!#G?sK9^B*so8Zb6ct6H}jagQ|7^sON)*Qd^xyHqa6au>GRzm%n=rpe^}#q3sk9k z8=d3{^px-$il8XeU>P*(q_(&GUWy^G(yj?#nMYLh;WzC3&xE>6-1#$rF|UL@fPgM0 z&RI1dUYDoP?JAFR&quVmV8%yp>@a?1`0negD8JAKyb)5~)ezJqG)^KF>%}&YFF4iv zrb~o9VqVhAwin5>H3a=+p3fIDBYdJs$a;QzwRhyU4MRIJUCbKiUEygjCX-wL=>Ai9c-ulZ zzM@JI*Ho&MpTFi<&)=qTqin?TVZM{P3h-gpOS{bP`pA55p>Ks{Ja494*X7BYZ<5N!ee3{#x01T? z7)%a~*L{65=NuNiggn;g5%nacu)v&bykrv%3-SFpXCizDjK#liYs2W~z=-b_$d2c# z83~<@w?_%wh_bla$pIugzNPiB+BJYttfmIX0Fy+A4jMDg8%vOh6@XB53 zkA8f-S(vtt>@=F}Q#i^n_`2iq3H6eb#wnhZK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