mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
node-editor: Add things
Add a desktop file and appdata.
This commit is contained in:
parent
fff32faa67
commit
78d34c098e
@ -22,9 +22,21 @@ executable('gtk4-node-editor',
|
|||||||
install: false,
|
install: false,
|
||||||
)
|
)
|
||||||
|
|
||||||
# icons, don't install them until we decide to install gtk4-node-editor
|
# icons
|
||||||
#icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
||||||
|
|
||||||
|
foreach size: ['scalable', 'symbolic']
|
||||||
|
install_subdir('data/' + size, install_dir: icontheme_dir)
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
# desktop file
|
||||||
|
install_data('org.gtk.gtk4.NodeEditor.desktop', install_dir: gtk_applicationsdir)
|
||||||
|
|
||||||
|
# appdata
|
||||||
|
configure_file(
|
||||||
|
input: 'org.gtk.gtk4.NodeEditor.appdata.xml.in',
|
||||||
|
output: 'org.gtk.gtk4.NodeEditor.appdata.xml',
|
||||||
|
configuration: appdata_config,
|
||||||
|
install_dir: gtk_appdatadir
|
||||||
|
)
|
||||||
|
|
||||||
#foreach size: ['scalable', 'symbolic']
|
|
||||||
# install_subdir('data/' + size, install_dir: icontheme_dir)
|
|
||||||
#endforeach
|
|
||||||
|
40
demos/node-editor/org.gtk.gtk4.NodeEditor.appdata.xml.in
Normal file
40
demos/node-editor/org.gtk.gtk4.NodeEditor.appdata.xml.in
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop">
|
||||||
|
<id>org.gtk.gtk4.NodeEditor</id>
|
||||||
|
<launchable type="desktop-id">org.gtk.gtk4.NodeEditor.desktop</launchable>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<project_license>LGPL-2.1-or-later</project_license>
|
||||||
|
<name>GTK Node Editor</name>
|
||||||
|
<summary>Program to edit render node files</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
GTK Node Editor is a simple application to show and edit
|
||||||
|
render node files.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Render node files can e.g. be created by the GTK inspector.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot>
|
||||||
|
<image>https://static.gnome.org/appdata/gtk4-node-editor/gtk4-node-editor.png</image>
|
||||||
|
<caption>Node Editor</caption>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<kudos>
|
||||||
|
<kudo>HiDpiIcon</kudo>
|
||||||
|
<kudo>ModernToolkit</kudo>
|
||||||
|
</kudos>
|
||||||
|
<url type="homepage">https://www.gtk.org</url>
|
||||||
|
<translation type="gettext">gtk-4.0</translation>
|
||||||
|
<update_contact>matthias.clasen_at_gmail.com</update_contact>
|
||||||
|
<developer_name>Matthias Clasen and others</developer_name>
|
||||||
|
<content_rating type="oars-1.1"/>
|
||||||
|
<releases>
|
||||||
|
<release version="@BUILD_VERSION@">
|
||||||
|
<description>
|
||||||
|
<p>A new build of GTK.</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
|
</releases>
|
||||||
|
</component>
|
9
demos/node-editor/org.gtk.gtk4.NodeEditor.desktop
Normal file
9
demos/node-editor/org.gtk.gtk4.NodeEditor.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Node Editor
|
||||||
|
Comment=An application that edits render nodes
|
||||||
|
Exec=gtk4-node-editor
|
||||||
|
Icon=org.gtk.gtk4.NodeEditor
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
StartupNotify=true
|
||||||
|
Categories=Development;GTK;
|
Loading…
Reference in New Issue
Block a user