extensionPrefs: Add metainfo
This is required for the app to appear properly in GNOME Software. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1081
This commit is contained in:
parent
b92ddc0d39
commit
3ee878491b
@ -27,3 +27,4 @@ i18n.merge_file('desktop',
|
|||||||
)
|
)
|
||||||
|
|
||||||
subdir('icons')
|
subdir('icons')
|
||||||
|
subdir('metainfo')
|
||||||
|
BIN
js/extensionPrefs/data/metainfo/extensions-main.png
Normal file
BIN
js/extensionPrefs/data/metainfo/extensions-main.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
js/extensionPrefs/data/metainfo/extensions-remove.png
Normal file
BIN
js/extensionPrefs/data/metainfo/extensions-remove.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
BIN
js/extensionPrefs/data/metainfo/extensions-update.png
Normal file
BIN
js/extensionPrefs/data/metainfo/extensions-update.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
16
js/extensionPrefs/data/metainfo/meson.build
Normal file
16
js/extensionPrefs/data/metainfo/meson.build
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
metainfo = app_id + '.metainfo.xml'
|
||||||
|
i18n.merge_file(metainfo,
|
||||||
|
input: metainfo + '.in',
|
||||||
|
output: metainfo,
|
||||||
|
po_dir: '../../../../po',
|
||||||
|
install: true,
|
||||||
|
install_dir: metainfodir
|
||||||
|
)
|
||||||
|
|
||||||
|
if (appstream_util.found())
|
||||||
|
test('Validating ' + metainfo,
|
||||||
|
appstream_util,
|
||||||
|
args: ['validate', '--nonet', metainfo],
|
||||||
|
workdir: meson.current_build_dir()
|
||||||
|
)
|
||||||
|
endif
|
@ -0,0 +1,55 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>org.gnome.Extensions</id>
|
||||||
|
|
||||||
|
<name>Extensions</name>
|
||||||
|
<summary>Manage your GNOME Extensions</summary>
|
||||||
|
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<project_license>GPL-2.0-or-later</project_license>
|
||||||
|
|
||||||
|
<url type="homepage">https://gitlab.gnome.org/GNOME/gnome-shell</url>
|
||||||
|
<url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-shell/issues/new</url>
|
||||||
|
<url type="donation">http://www.gnome.org/friends/</url>
|
||||||
|
<url type="translate">https://wiki.gnome.org/TranslationProject</url>
|
||||||
|
|
||||||
|
<project_group>GNOME</project_group>
|
||||||
|
|
||||||
|
<launchable type="desktop-id">org.gnome.Extensions.desktop</launchable>
|
||||||
|
|
||||||
|
<kudos>
|
||||||
|
<kudo>HiDpiIcon</kudo>
|
||||||
|
<kudo>HighContrast</kudo>
|
||||||
|
<kudo>ModernToolkit</kudo>
|
||||||
|
</kudos>
|
||||||
|
|
||||||
|
<recommends>
|
||||||
|
<control>pointing</control>
|
||||||
|
<control>keyboard</control>
|
||||||
|
<control>touch</control>
|
||||||
|
</recommends>
|
||||||
|
|
||||||
|
<content_rating type="oars-1.0"/>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
GNOME Extensions handles updating extensions, configuring extension preferences and removing or disabling unwanted extensions.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<releases>
|
||||||
|
<release version="3.36.0" date="2020-03-07"/>
|
||||||
|
</releases>
|
||||||
|
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://gitlab.gnome.org/GNOME/gnome-shell/raw/master/js/extensionPrefs/data/metainfo/extensions-main.png</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>https://gitlab.gnome.org/GNOME/gnome-shell/raw/master/js/extensionPrefs/data/metainfo/extensions-update.png</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>https://gitlab.gnome.org/GNOME/gnome-shell/raw/master/js/extensionPrefs/data/metainfo/extensions-remove.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
</component>
|
@ -58,6 +58,7 @@ desktopdir = join_paths(datadir, 'applications')
|
|||||||
icondir = join_paths(datadir, 'icons')
|
icondir = join_paths(datadir, 'icons')
|
||||||
ifacedir = join_paths(datadir, 'dbus-1', 'interfaces')
|
ifacedir = join_paths(datadir, 'dbus-1', 'interfaces')
|
||||||
localedir = join_paths(datadir, 'locale')
|
localedir = join_paths(datadir, 'locale')
|
||||||
|
metainfodir = join_paths(datadir, 'metainfo')
|
||||||
portaldir = join_paths(datadir, 'xdg-desktop-portal', 'portals')
|
portaldir = join_paths(datadir, 'xdg-desktop-portal', 'portals')
|
||||||
schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
|
schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
|
||||||
servicedir = join_paths(datadir, 'dbus-1', 'services')
|
servicedir = join_paths(datadir, 'dbus-1', 'services')
|
||||||
@ -139,6 +140,7 @@ mutter_typelibdir = mutter_dep.get_pkgconfig_variable('typelibdir')
|
|||||||
python = find_program('python3')
|
python = find_program('python3')
|
||||||
sassc = find_program('sassc')
|
sassc = find_program('sassc')
|
||||||
gjs = find_program('gjs')
|
gjs = find_program('gjs')
|
||||||
|
appstream_util = find_program('appstream-util', required: false)
|
||||||
|
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ data/50-gnome-shell-system.xml
|
|||||||
data/org.gnome.Shell.desktop.in.in
|
data/org.gnome.Shell.desktop.in.in
|
||||||
data/org.gnome.shell.gschema.xml.in
|
data/org.gnome.shell.gschema.xml.in
|
||||||
data/org.gnome.Shell.PortalHelper.desktop.in.in
|
data/org.gnome.Shell.PortalHelper.desktop.in.in
|
||||||
|
js/extensionPrefs/data/metainfo/org.gnome.Extensions.metainfo.xml.in
|
||||||
js/extensionPrefs/data/org.gnome.Extensions.desktop.in.in
|
js/extensionPrefs/data/org.gnome.Extensions.desktop.in.in
|
||||||
js/extensionPrefs/js/main.js
|
js/extensionPrefs/js/main.js
|
||||||
js/extensionPrefs/data/ui/extension-row.ui
|
js/extensionPrefs/data/ui/extension-row.ui
|
||||||
|
Loading…
Reference in New Issue
Block a user