Commit e04b9c4d authored by GabMus's avatar GabMus

fixed appdata generation

parent 96737bee
Pipeline #71118201 passed with stage
in 48 seconds
......@@ -98,20 +98,22 @@ app_resources = gnome.compile_resources(app_id,
app_settings = gnome.compile_schemas()
appdata_conf = configuration_data()
appdata_conf.set('authorfullname', authorfullname)
appdata_conf.set('gitrepo', gitrepo)
appdata_conf.set('website', website)
appdata_conf.set('authoremail', authoremail)
appdata_conf.set('prettyname', prettyname)
appdata_conf.set('appid', app_id)
appdata_conf.set('prettylicense', prettylicense)
appdata_file = configure_file(
input: app_id + '.appdata.xml.in',
output: app_id + '.appdata.xml.i18n.in',
configuration: appdata_conf
)
#appdata_conf = configuration_data()
#appdata_conf.set('authorfullname', authorfullname)
#appdata_conf.set('gitrepo', gitrepo)
#appdata_conf.set('website', website)
#appdata_conf.set('authoremail', authoremail)
#appdata_conf.set('prettyname', prettyname)
#appdata_conf.set('appid', app_id)
#appdata_conf.set('prettylicense', prettylicense)
#
#configure_file(
# input: appdata_file,
# output: app_id + '.appdata.xml.',
# configuration: appdata_conf,
# install: true,
# install_dir: join_paths(datadir, 'metainfo')
#)
i18n.merge_file(
input: app_id + '.appdata.xml.in',
......
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>@appid@.desktop</id>
<!-- <translation type="gettext">trg</translation> -->
<name>@prettyname@</name>
<developer_name>@authorfullname@</developer_name>
<id>org.gabmus.hydrapaper.desktop</id>
<name>HydraPaper</name>
<developer_name>Gabriele Musco</developer_name>
<summary>Wallpaper manager with multimonitor support</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>@prettylicense@</project_license>
<project_license>GPL-3.0+</project_license>
<description>
<p>HydraPaper lets you set different wallpapers for each of your monitors in the GNOME desktop.</p>
<p>It works around this lack of functionality by automatically merging multiple wallpapers into one, and setting it as your wallpaper with the "Spanned" option.</p>
......@@ -14,24 +13,24 @@
</description>
<screenshots>
<screenshot type="default">
<image>@gitrepo@/raw/master/website/screenshots/mainwindow.png</image>
<image>https://gitlab.com/gabmus/hydrapaper/raw/master/website/screenshots/mainwindow.png</image>
</screenshot>
<screenshot>
<image>@gitrepo@/raw/master/website/screenshots/folders.png</image>
<image>https://gitlab.com/gabmus/hydrapaper/raw/master/website/screenshots/folders.png</image>
</screenshot>
<screenshot>
<image>@gitrepo@/raw/master/website/screenshots/favorites.png</image>
<image>https://gitlab.com/gabmus/hydrapaper/raw/master/website/screenshots/favorites.png</image>
</screenshot>
<screenshot>
<image>@gitrepo@/raw/master/website/screenshots/random.png</image>
<image>https://gitlab.com/gabmus/hydrapaper/raw/master/website/screenshots/random.png</image>
</screenshot>
<screenshot>
<image>@gitrepo@/raw/master/website/screenshots/preferences.png</image>
<image>https://gitlab.com/gabmus/hydrapaper/raw/master/website/screenshots/preferences.png</image>
</screenshot>
</screenshots>
<url type="homepage">@website@</url>
<url type="bugtracker">@gitrepo@/issues</url>
<update_contact>@authoremail@</update_contact>
<url type="homepage">https://gabmus.gitlab.io/HydraPaper/</url>
<url type="bugtracker">https://gitlab.com/gabmus/hydrapaper/issues</url>
<update_contact>emaildigabry@gmail.com</update_contact>
<releases>
<release version="1.8" timestamp="1563213244">
<description>
......
......@@ -10,7 +10,7 @@ prettylicense = 'GPL-3.0+'
author = 'gabmus'
authorfullname = 'Gabriele Musco'
authoremail = 'emaildigabry@gmail'
authoremail = 'emaildigabry@gmail.com'
domain = 'org'
# app_id built as: domain.author.project_name
gitrepo = 'https://gitlab.com/'+author+'/'+meson.project_name()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment