From 83898a46ade9f248fdae8703e97b3ea1bc03273d Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Mon, 27 Dec 2010 00:52:36 +0000 Subject: Please see the ChangeLog --- muse2/packaging/CMakeLists.txt | 16 +++++++++++++++- muse2/packaging/muse.desktop | 9 --------- muse2/packaging/muse.desktop.in | 10 ++++++++++ muse2/packaging/muse.xml | 9 +++++++++ 4 files changed, 34 insertions(+), 10 deletions(-) delete mode 100644 muse2/packaging/muse.desktop create mode 100644 muse2/packaging/muse.desktop.in create mode 100644 muse2/packaging/muse.xml (limited to 'muse2/packaging') 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 deleted file mode 100644 index e8444960..00000000 --- a/muse2/packaging/muse.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=MusE -GenericName=Audio/MIDI Sequencer -Comment=Midi Music Editor -Icon=muse_icon -Type=Application -Exec=muse2 -Terminal=false -Categories=Sequencer;Midi;X-Jack;X-Sequencers;X-MIDI;Audio;AudioVideo; diff --git a/muse2/packaging/muse.desktop.in b/muse2/packaging/muse.desktop.in new file mode 100644 index 00000000..8977cbec --- /dev/null +++ b/muse2/packaging/muse.desktop.in @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=MusE +GenericName=Audio/MIDI Sequencer +Comment=Midi Music Editor +Icon=muse_icon +Type=Application +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 @@ + + + + MusE file + + + + + -- cgit v1.2.3