added desktop file for linux and make install

This commit is contained in:
Jeena 2015-02-19 17:44:03 +01:00
parent 1c89abbac3
commit c8be783e03
2 changed files with 33 additions and 1 deletions

View file

@ -13,7 +13,22 @@ RESOURCES += qml.qrc \
images.qrc \
html.qrc
RC_FILE = Icon.icns
mac {
RC_FILE = Icon.icns
}
unix {
target.path = $$PREFIX/usr/local/bin
shortcutfiles.files += feedthemonkey.desktop
shortcutfiles.path = $$PREFIX/usr/share/applications/
data.files += feedthemonkey.xpm
data.path = $$PREFIX/usr/share/pixmaps/
INSTALLS += shortcutfiles
INSTALLS += data
}
# Needed for bringing browser from background to foreground using QDesktopServices: http://bugreports.qt-project.org/browse/QTBUG-8336
TARGET.CAPABILITY += SwEvent
@ -30,3 +45,8 @@ HEADERS += \
tinytinyrss.h \
tinytinyrsslogin.h \
post.h
DISTFILES += \
feedthemonkey.desktop \
README.md \
LICENSE.txt

12
feedthemonkey.desktop Normal file
View file

@ -0,0 +1,12 @@
[Desktop Entry]
Version=2.0.0
Comment=A desktop client for the TinyTinyRSS feed reader.
Exec=feedthemonkey
GenericName=Feed Reader
Icon=feedthemonkey
Name=Feed the Monkey
NoDisplay=false
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;Qt