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 0000000..75f1364 Binary files /dev/null and b/src/assets/fasttrack.png differ