Skip to content
Snippets Groups Projects
Commit 1cdfcfc3 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Add desktop file

Fixes #5
parent da736e5d
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: 2016-2020 Bruce Cowan <bruce@bcowan.me.uk>
# SPDX-FileCopyrightText: 2016-2021 Bruce Cowan <bruce@bcowan.me.uk>
#
# SPDX-License-Identifier: CC0-1.0
......@@ -6,6 +6,16 @@ resources = gnome.compile_resources('gen-resources',
'rugby.gresource.xml',
source_dir: 'data')
desktop_file = 'uk.me.bcowan.Rugby.desktop'
install_data(desktop_file,
install_dir: join_paths(get_option('datadir'), 'applications'))
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: [desktop_file])
endif
compiled_schemas = gnome.compile_schemas(
build_by_default: true,
depend_files: 'uk.me.bcowan.Rugby.gschema.xml',
......
# SPDX-FileCopyrightText: 2020-2021 Bruce Cowan <bruce@bcowan.me.uk>
#
# SPDX-License-Identifier: CC0-1.0
[Desktop Entry]
Name=Rugby
Exec=rugby
Terminal=false
Type=Application
Categories=GNOME;GTK;Sports;Calculator;Utility
StartupNotify=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment