Browse Source

Deployment procedure update

- Added desktop file for Linux
- Update project README
- Update install procedure for Linux
Alexey Edelev 6 years ago
parent
commit
bed0aa7b73
3 changed files with 17 additions and 2 deletions
  1. 8 0
      CuteGit.desktop
  2. 8 2
      CuteGit.pro
  3. 1 0
      README.md

+ 8 - 0
CuteGit.desktop

@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Version=1.1
+Name=CuteGit
+GenericName=Qt-based GUI for Git SCM
+Comment=CuteGit it's based on Qt framework Graphical User Interface with advanced functionality for Git SCM
+Exec=/usr/bin/CuteGit
+Categories=Utility

+ 8 - 2
CuteGit.pro

@@ -5,8 +5,12 @@ TARGET = CuteGit
 TEMPLATE = app
 
 unix {
+    desktop.files = CuteGit.desktop
+    desktop.path = $$SYSROOT/usr/share/applications
+    INSTALLS += desktop
     LIBS += -lgit2
 }
+
 win32 {
     INCLUDEPATH += $$PWD//include
     LIBS += -L$$PWD//lib// -lgit2
@@ -70,9 +74,11 @@ HEADERS += \
 RESOURCES += \
     resources.qrc
 
+OTHER_FILES += \
+    CuteGit.desktop
 debug {
     DEFINES += DEBUG
 }
 
-target.path = /usr/bin
-INSTALLS+=target
+target.path = $$SYSROOT/usr/bin
+INSTALLS += target

+ 1 - 0
README.md

@@ -1,4 +1,5 @@
 # CuteGit
+CuteGit it's based on Qt framework Graphical User Interface with advanced functionality for Git SCM
 
 # Build for windows
 For building and run CuteGit on Windows, you need: