mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Add appdata file
This commit is contained in:
@ -78,6 +78,7 @@ PKG_PROG_PKG_CONFIG([0.22])
|
|||||||
GLIB_GSETTINGS
|
GLIB_GSETTINGS
|
||||||
GOBJECT_INTROSPECTION_CHECK([1.42.0])
|
GOBJECT_INTROSPECTION_CHECK([1.42.0])
|
||||||
VAPIGEN_CHECK
|
VAPIGEN_CHECK
|
||||||
|
APPSTREAM_XML
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -18,15 +18,25 @@ gsettings_SCHEMAS = org.gnome.sysprof2.gschema.xml
|
|||||||
|
|
||||||
@GSETTINGS_RULES@
|
@GSETTINGS_RULES@
|
||||||
|
|
||||||
|
|
||||||
|
%.appdata.xml: %.appdata.xml.in
|
||||||
|
$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
|
||||||
|
|
||||||
|
@APPSTREAM_XML_RULES@
|
||||||
|
appstream_in_files = org.gnome.Sysprof2.appdata.xml.in
|
||||||
|
appstream_XML = $(appstream_in_files:.xml.in=.xml)
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
sysprof.pc.in \
|
sysprof.pc.in \
|
||||||
org.gnome.Sysprof2.desktop \
|
org.gnome.Sysprof2.desktop \
|
||||||
|
$(appstream_in_files) \
|
||||||
$(mime_DATA) \
|
$(mime_DATA) \
|
||||||
$(gsettings_SCHEMAS) \
|
$(gsettings_SCHEMAS) \
|
||||||
meson.build \
|
meson.build \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
DISTCLEANFILES = $(pkgconfig_DATA)
|
DISTCLEANFILES = $(pkgconfig_DATA) $(appstream_XML)
|
||||||
GITIGNOREFILES = $(dbusservice_DATA)
|
GITIGNOREFILES = $(dbusservice_DATA)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
datadir = get_option('datadir')
|
datadir = get_option('datadir')
|
||||||
|
podir = join_paths(meson.source_root(), 'po')
|
||||||
|
msgfmt = find_program('msgfmt')
|
||||||
|
|
||||||
install_data('sysprof-mime.xml',
|
install_data('sysprof-mime.xml',
|
||||||
install_dir: join_paths(datadir, 'mime/packages')
|
install_dir: join_paths(datadir, 'mime/packages')
|
||||||
@ -12,6 +14,14 @@ install_data('org.gnome.sysprof2.gschema.xml',
|
|||||||
install_dir: join_paths(datadir, 'glib-2.0/schemas')
|
install_dir: join_paths(datadir, 'glib-2.0/schemas')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# TODO: 0.37.0 adds i18n.merge_file()
|
||||||
|
custom_target('appdata-file',
|
||||||
|
input: 'org.gnome.Sysprof2.appdata.xml.in',
|
||||||
|
output: 'org.gnome.Sysprof2.appdata.xml',
|
||||||
|
command: [msgfmt, '--xml', '--template', '@INPUT@', '-d', podir, '-o', '@OUTPUT@'],
|
||||||
|
install: true,
|
||||||
|
install_dir: join_paths(datadir, 'appdata')
|
||||||
|
)
|
||||||
|
|
||||||
pkgconf = configuration_data()
|
pkgconf = configuration_data()
|
||||||
pkgconf.set('VERSION', meson.project_version())
|
pkgconf.set('VERSION', meson.project_version())
|
||||||
|
|||||||
43
data/org.gnome.Sysprof2.appdata.xml.in
Normal file
43
data/org.gnome.Sysprof2.appdata.xml.in
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>org.gnome.Sysprof2.desktop</id>
|
||||||
|
<translation type="gettext">sysprof</translation>
|
||||||
|
<name>Sysprof</name>
|
||||||
|
<summary>Profiler for an application or entire system</summary>
|
||||||
|
<project_license>GPL-3.0+</project_license>
|
||||||
|
<project_group>GNOME</project_group>
|
||||||
|
<developer_name>The GNOME Foundation</developer_name>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
<p>Sysprof allows you to profile applications to aid in debugging and optimization.</p>
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<url type="homepage">https://wiki.gnome.org/Apps/Sysprof</url>
|
||||||
|
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof</url>
|
||||||
|
<url type="donation">https://www.gnome.org/friends</url>
|
||||||
|
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://git.gnome.org/browse/sysprof/plain/data/screenshots/sysprof-main-window.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
|
||||||
|
<kudos>
|
||||||
|
<kudo>AppMenu</kudo>
|
||||||
|
<kudo>HiDpiIcon</kudo>
|
||||||
|
<kudo>ModernToolkit</kudo>
|
||||||
|
</kudos>
|
||||||
|
|
||||||
|
<provides>
|
||||||
|
<binary>sysprof</binary>
|
||||||
|
<binary>sysprof-cli</binary>
|
||||||
|
<dbus type="system">org.gnome.Sysprof2</dbus>
|
||||||
|
</provides>
|
||||||
|
|
||||||
|
<releases>
|
||||||
|
<release version="3.22.2" date="2016-11-28"/>
|
||||||
|
</releases>
|
||||||
|
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<update_contact>tingping_AT_tingping.se</update_contact>
|
||||||
|
</component>
|
||||||
BIN
data/screenshots/sysprof-main-window.png
Normal file
BIN
data/screenshots/sysprof-main-window.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
@ -1,5 +1,6 @@
|
|||||||
# List of source files containing translatable strings.
|
# List of source files containing translatable strings.
|
||||||
# Please keep this file sorted alphabetically.
|
# Please keep this file sorted alphabetically.
|
||||||
|
data/org.gnome.Sysprof2.appdata.xml.in
|
||||||
data/org.gnome.Sysprof2.desktop
|
data/org.gnome.Sysprof2.desktop
|
||||||
data/org.gnome.sysprof2.gschema.xml
|
data/org.gnome.sysprof2.gschema.xml
|
||||||
lib/resources/ui/sp-callgraph-view.ui
|
lib/resources/ui/sp-callgraph-view.ui
|
||||||
|
|||||||
Reference in New Issue
Block a user