aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-16 22:28:53 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-16 22:28:53 +0800
commit9c2eb04f6baadf33f60bf4af35caec77aebf48ff (patch)
tree77be5eede3ed6115a2e107b4a50b48a43719e9e0 /qmidiplayer-desktop
parentaf657df8a4accb3758138769e3cc5b86530b57d5 (diff)
downloadQMidiPlayer-9c2eb04f6baadf33f60bf4af35caec77aebf48ff.tar.xz
Guessworks trying to make it install and produce packages again.
(which it won't, because Debian still doesn't have fluidsynth >= 2.0) Also lite version is currently out of scope.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r--qmidiplayer-desktop/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/CMakeLists.txt b/qmidiplayer-desktop/CMakeLists.txt
index 7064e28..87741f8 100644
--- a/qmidiplayer-desktop/CMakeLists.txt
+++ b/qmidiplayer-desktop/CMakeLists.txt
@@ -73,3 +73,14 @@ target_link_libraries(qmidiplayer
${CMAKE_THREAD_LIBS_INIT}
${CMAKE_DL_LIBS}
)
+
+install(TARGETS qmidiplayer)
+
+install(DIRECTORY ${PROJECT_SOURCE_DIR}/doc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/qmidiplayer)
+install(DIRECTORY ${PROJECT_SOURCE_DIR}/img DESTINATION ${CMAKE_INSTALL_PREFIX}/share/qmidiplayer FILES_MATCHING PATTERN "*.png")
+install(FILES qmidiplayer.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata)
+install(FILES qmidiplayer.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
+install(FILES ${PROJECT_SOURCE_DIR}/img/qmidiplyr.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps)
+install(FILES ${PROJECT_SOURCE_DIR}/img/qmidiplyr.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
+install(FILES menu/qmidiplayer DESTINATION ${CMAKE_INSTALL_PREFIX}/share/menu)
+install(FILES qmidiplayer.mime DESTINATION ${CMAKE_INSTALL_PREFIX}/share/mime/packages)