diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-02-01 17:48:03 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-02-01 17:48:03 +0800 |
commit | eddc629bd637ec5d9260849d095b6951a437360d (patch) | |
tree | 98fd45c4b4e2ed3bdcc213722de76df0decd3b18 /qmidiplayer-desktop/qmidiplayer-desktop.pro | |
parent | 8a0d671e1a77c58142d0cbe82f40ee64bcae2be5 (diff) | |
download | QMidiPlayer-eddc629bd637ec5d9260849d095b6951a437360d.tar.xz |
Make packaging qmidiplayer less painful.
Add mime info.
Do not throw integers.
Fix incorrect font paths in Arch Linux.
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer-desktop.pro')
-rw-r--r-- | qmidiplayer-desktop/qmidiplayer-desktop.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer-desktop.pro b/qmidiplayer-desktop/qmidiplayer-desktop.pro index 5572479..4a04d6b 100644 --- a/qmidiplayer-desktop/qmidiplayer-desktop.pro +++ b/qmidiplayer-desktop/qmidiplayer-desktop.pro @@ -82,7 +82,7 @@ unix{ BINDIR = $$PREFIX/bin target.path = $$BINDIR DATADIR = $$PREFIX/share - INSTALLS += target desktop iconbmp iconsvg iconxpm doc docimg appdata menu + INSTALLS += target desktop iconbmp iconsvg iconxpm doc docimg appdata menu mimetype desktop.path = $$DATADIR/applications desktop.files += $${TARGET}.desktop iconbmp.path = $$DATADIR/icons/hicolor/64x64/apps @@ -99,6 +99,8 @@ unix{ appdata.files += $${TARGET}.appdata.xml menu.path = $${DATADIR}/menu menu.files += ./menu/$${TARGET} + mimetype.path = $$DATADIR/mime/packages + mimetype.files += $${TARGET}.mime QMAKE_CXXFLAGS += -Wall LIBS += -lfluidsynth -lrtmidi -ldl } |