diff options
-rw-r--r-- | debian/control | 13 | ||||
-rw-r--r-- | debian/qmidiplayer-plugin-keyboard.install | 1 | ||||
-rw-r--r-- | midifmt-plugin/CMakeLists.txt | 2 | ||||
-rw-r--r-- | qmidiplayer-desktop/CMakeLists.txt | 11 | ||||
-rw-r--r-- | sample-plugin/CMakeLists.txt | 2 | ||||
-rw-r--r-- | simple-visualization/CMakeLists.txt | 2 | ||||
-rw-r--r-- | visualization/CMakeLists.txt | 2 |
7 files changed, 29 insertions, 4 deletions
diff --git a/debian/control b/debian/control index 703ad68..05465f6 100644 --- a/debian/control +++ b/debian/control @@ -23,10 +23,10 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Midi player based on Qt and fluidsynth. -Package: qmidiplayer-lite -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Midi player based on Qt and fluidsynth (Lite version). +#Package: qmidiplayer-lite +#Architecture: any +#Depends: ${shlibs:Depends}, ${misc:Depends} +#Description: Midi player based on Qt and fluidsynth (Lite version). Package: qmidiplayer-plugin-visualization Architecture: any @@ -37,3 +37,8 @@ Package: qmidiplayer-plugin-midifmt Architecture: any Depends: qmidiplayer, ${shlibs:Depends}, ${misc:Depends} Description: Extra midi formats support for QMidiPlayer. + +Package: qmidiplayer-plugin-keyboard +Architecture: any +Depends: qmidiplayer, ${shlibs:Depends}, ${misc:Depends} +Description: Simple keyboard visualization plugin for QMidiPlayer. diff --git a/debian/qmidiplayer-plugin-keyboard.install b/debian/qmidiplayer-plugin-keyboard.install new file mode 100644 index 0000000..e5d9a7b --- /dev/null +++ b/debian/qmidiplayer-plugin-keyboard.install @@ -0,0 +1 @@ +usr/lib/qmidiplayer/libsimple-visualization.* diff --git a/midifmt-plugin/CMakeLists.txt b/midifmt-plugin/CMakeLists.txt index 5b1902a..02cd4cc 100644 --- a/midifmt-plugin/CMakeLists.txt +++ b/midifmt-plugin/CMakeLists.txt @@ -8,3 +8,5 @@ include_directories(${PROJECT_SOURCE_DIR}/include/) add_library(midifmt-plugin MODULE ${midifmt-plugin_SOURCES} ) + +install(TARGETS midifmt-plugin LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/) 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) diff --git a/sample-plugin/CMakeLists.txt b/sample-plugin/CMakeLists.txt index be8913b..888e874 100644 --- a/sample-plugin/CMakeLists.txt +++ b/sample-plugin/CMakeLists.txt @@ -8,3 +8,5 @@ include_directories(${PROJECT_SOURCE_DIR}/include/) add_library(sampleplugin MODULE ${sampleplugin_SOURCES} ) + +install(TARGETS sampleplugin LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/) diff --git a/simple-visualization/CMakeLists.txt b/simple-visualization/CMakeLists.txt index 777640f..758d671 100644 --- a/simple-visualization/CMakeLists.txt +++ b/simple-visualization/CMakeLists.txt @@ -20,3 +20,5 @@ add_library(simple-visualization MODULE target_link_libraries(simple-visualization Qt5::Widgets ) + +install(TARGETS simple-visualization LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/) diff --git a/visualization/CMakeLists.txt b/visualization/CMakeLists.txt index 3e86c37..426f50c 100644 --- a/visualization/CMakeLists.txt +++ b/visualization/CMakeLists.txt @@ -36,3 +36,5 @@ target_link_libraries(visualization ${GLEW_LIBRARIES} OpenGL::GL ) + +install(TARGETS visualization LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/) |