mt32emu_qt: Added required files for freedesktop integration

This commit is contained in:
sergm
2021-01-30 10:21:59 +02:00
parent fd667b1c89
commit b8e3518367
4 changed files with 20 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ set(CPACK_PACKAGE_VERSION_MINOR "${munt_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${munt_VERSION_PATCH}")
set(CPACK_PACKAGE_VENDOR "muntemu.org")
set(CPACK_PACKAGE_CONTACT "sergm@muntemu.org")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/FreeBSD/usr/ports/audio/libmt32emu/pkg-descr")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Software synthesiser emulating pre-GM MIDI devices such as Roland MT-32, CM-32L, CM-64 and LAPC-I")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/mt32emu_qt/COPYING.txt")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
@@ -37,6 +38,8 @@ set(CPACK_SOURCE_STRIP_FILES TRUE)
set(CPACK_RPM_PACKAGE_GROUP "Audio/Emulators")
set(CPACK_RPM_PACKAGE_LICENSE "LGPLv2.1+, GPLv3+")
set(CPACK_RPM_PACKAGE_URL "http://munt.sourceforge.net/")
# These two directories pre-exist on a freedesktop-conforming system and cause conflict if not excluded
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION /usr/share/applications /usr/share/pixmaps)
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS "ON")
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://munt.sourceforge.net/")
set(CPACK_DEBIAN_PACKAGE_SECTION "sound")

View File

@@ -349,6 +349,11 @@ install(TARGETS
DESTINATION bin
)
if(UNIX AND NOT APPLE)
install(FILES res/mt32emu-qt.desktop DESTINATION share/applications)
install(FILES res/munt.png DESTINATION share/pixmaps)
endif(UNIX AND NOT APPLE)
install(FILES
AUTHORS.txt COPYING.txt NEWS.txt README.md TODO.txt
DESTINATION share/doc/munt/mt32emu-qt
@@ -375,6 +380,8 @@ set(CPACK_PACKAGE_EXECUTABLES mt32emu-qt;Munt\ MT-32\ Sound\ Module\ Emulator)
set(CPACK_RPM_PACKAGE_GROUP "Audio/Emulators")
set(CPACK_RPM_PACKAGE_LICENSE "GPLv3+")
set(CPACK_RPM_PACKAGE_URL "http://munt.sourceforge.net/")
# These two directories pre-exist on a freedesktop-conforming system and cause conflict if not excluded
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION /usr/share/applications /usr/share/pixmaps)
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS "ON")
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://munt.sourceforge.net/")
set(CPACK_DEBIAN_PACKAGE_SECTION "sound")

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=MT-32 Emulator
Comment=Munt - MT-32 sound module emulator
Exec=mt32emu-qt
Icon=munt
NoDisplay=false
StartupNotify=true
Terminal=false
Type=Application
Categories=AudioVideo;

BIN
mt32emu_qt/res/munt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB