diff options
author | Thomas White <taw@physics.org> | 2022-04-07 11:08:38 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-04-07 11:08:38 +0200 |
commit | ed0306d7af32ed1eed7b7a2ab141065da9bf9246 (patch) | |
tree | 72e897030041cc5cfce9b63b35c1f8603fc7b866 | |
parent | bc803293b6f56dc6a40c8db5d397c05ca18c4b4a (diff) |
Add cell_explorer.desktop
This is hidden from menus, just so that cell_explorer gets its window
icon.
-rw-r--r-- | data/cell_explorer.desktop | 11 | ||||
-rw-r--r-- | meson.build | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/data/cell_explorer.desktop b/data/cell_explorer.desktop new file mode 100644 index 00000000..abcdb1a1 --- /dev/null +++ b/data/cell_explorer.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=cell_explorer +GenericName=cell_explorer +Comment=Unit cell explorer +Exec=cell_explorer +Icon=crystfel +Terminal=false +NoDisplay=true +Type=Application +Categories=Science + diff --git a/meson.build b/meson.build index 1ee4d667..d7b04aae 100644 --- a/meson.build +++ b/meson.build @@ -234,6 +234,9 @@ if gtkdep.found() dependencies: [mdep, libcrystfeldep, gtkdep, gsldep], install: true, install_rpath: '$ORIGIN/../lib64/:$ORIGIN/../lib') + + install_data(['data/cell_explorer.desktop'], + install_dir: get_option('datadir') / 'applications') endif # pattern_sim |