diff --git a/meson.build b/meson.build index c818b1c..656935d 100644 --- a/meson.build +++ b/meson.build @@ -63,9 +63,11 @@ if fluid.found() and fltkdep.found() executable('new-session-manager', sources: ['src/session-manager.cpp', 'src/debug.cpp', 'src/Endpoint.cpp', 'src/Thread.cpp', 'src/FL/Fl_Scalepack.C'], dependencies: [fltkdep, liblodep, threaddep], - install: true, + install: true, ) + install_data('src/new-session-manager.desktop', install_dir : get_option('datadir') / 'applications') + meson.add_install_script('sh', '-c', 'ln -sf new-session-manager ${DESTDIR}@0@/@1@/non-session-manager'.format( get_option('prefix'), get_option('bindir'))) diff --git a/src/new-session-manager.desktop b/src/new-session-manager.desktop new file mode 100644 index 0000000..a9eeb05 --- /dev/null +++ b/src/new-session-manager.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=New Session Manager Legacy GUI +Comment=Legacy FLTK GUI to manage sessions with NSM. +Exec=new-session-manager +Terminal=false +StartupNotify=false +Version=1.0 +Categories=AudioVideo;Audio;