diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-27 00:52:36 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-27 00:52:36 +0000 |
commit | 83898a46ade9f248fdae8703e97b3ea1bc03273d (patch) | |
tree | 3dafb97be064279b73fc8dceea848cd794e221db /muse2/packaging | |
parent | 8092776083f70a25b8615c7b8d6299e2daba8865 (diff) |
Please see the ChangeLog
Diffstat (limited to 'muse2/packaging')
-rw-r--r-- | muse2/packaging/CMakeLists.txt | 16 | ||||
-rw-r--r-- | muse2/packaging/muse.desktop.in (renamed from muse2/packaging/muse.desktop) | 3 | ||||
-rw-r--r-- | muse2/packaging/muse.xml | 9 |
3 files changed, 26 insertions, 2 deletions
diff --git a/muse2/packaging/CMakeLists.txt b/muse2/packaging/CMakeLists.txt index e9b749b2..2582848a 100644 --- a/muse2/packaging/CMakeLists.txt +++ b/muse2/packaging/CMakeLists.txt @@ -18,10 +18,24 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #============================================================================= +# +# produce the .desktop file +# +configure_file ( + muse.desktop.in + ${PROJECT_BINARY_DIR}/packaging/muse.desktop + ) + +# +# install the desktop and mime files +# install( FILES muse_icon.png DESTINATION ${SHARE_INSTALL_PREFIX}/icons/hicolor/64x64/apps/ ) -install( FILES muse.desktop +install( FILES ${PROJECT_BINARY_DIR}/packaging/muse.desktop DESTINATION ${SHARE_INSTALL_PREFIX}/applications/ ) +install( FILES muse.xml + DESTINATION ${SHARE_INSTALL_PREFIX}/mime/packages/ + ) diff --git a/muse2/packaging/muse.desktop b/muse2/packaging/muse.desktop.in index e8444960..8977cbec 100644 --- a/muse2/packaging/muse.desktop +++ b/muse2/packaging/muse.desktop.in @@ -4,6 +4,7 @@ GenericName=Audio/MIDI Sequencer Comment=Midi Music Editor Icon=muse_icon Type=Application -Exec=muse2 +Exec=${MusE_EXEC_NAME} Terminal=false Categories=Sequencer;Midi;X-Jack;X-Sequencers;X-MIDI;Audio;AudioVideo; +MimeType=audio/midi;application/x-muse;application/xml; diff --git a/muse2/packaging/muse.xml b/muse2/packaging/muse.xml new file mode 100644 index 00000000..0b02e74a --- /dev/null +++ b/muse2/packaging/muse.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-muse"> + <comment>MusE file</comment> + <glob pattern="*.med"/> + <glob pattern="*.med.bz2"/> + <glob pattern="*.med.gz"/> + </mime-type> +</mime-info> |