diff --git a/FeedTheMonkey.pro b/FeedTheMonkey.pro index fd862a6..cd315e7 100644 --- a/FeedTheMonkey.pro +++ b/FeedTheMonkey.pro @@ -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 diff --git a/feedthemonkey.desktop b/feedthemonkey.desktop new file mode 100644 index 0000000..2e18cb3 --- /dev/null +++ b/feedthemonkey.desktop @@ -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