Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added data/assets/screenshots/database-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/assets/screenshots/database-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/assets/screenshots/new-connection-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/assets/screenshots/new-connection-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/assets/screenshots/sequeler-screenshot.png
Binary file not shown.
Binary file removed data/assets/screenshots/sequeler-screenshot1.png
Binary file not shown.
Binary file removed data/assets/screenshots/sequeler-screenshot2.png
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2017 Alessandro Castellani (https://github.com/Alecaddd) -->
<component type="desktop">
<component type="desktop-application">
<id>@appid@</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
Expand Down Expand Up @@ -500,30 +500,39 @@
</release>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/sequeler-screenshot.png</image>
<screenshot type="default" environment="pantheon">
<caption>Database screen</caption>
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/database-light.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/sequeler-screenshot1.png</image>
<screenshot environment="pantheon:dark">
<caption>Database screen</caption>
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/database-dark.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/sequeler-screenshot2.png</image>
<screenshot environment="pantheon">
<caption>New connection dialog</caption>
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/new-connection-light.png</image>
</screenshot>
<screenshot environment="pantheon:dark">
<caption>New connection dialog</caption>
<image>https://raw.githubusercontent.com/ellie-commons/sequeler/v@version@/data/assets/screenshots/new-connection-dark.png</image>
</screenshot>
</screenshots>
<developer id="io.github.ellie-commons">
<name>Alessandro Castellani</name>
</developer>
<launchable type="desktop-id">@appid@.desktop</launchable>
<translation type="gettext">@appid@</translation>
<url type="homepage">https://github.com/ellie-commons/sequeler</url>
<url type="donation">https://www.paypal.me/alecaddd</url>
<url type="bugtracker">https://github.com/ellie-commons/sequeler/issues</url>
<url type="help">https://github.com/ellie-commons/sequeler/issues</url>
<url type="translate">https://hosted.weblate.org/projects/sequeler</url>
<update_contact>castellani.ale@gmail.com</update_contact>
<content_rating type="oars-1.1" />
<branding>
<color type="primary">#3f3f3f</color>
</branding>
<custom>
<value key="x-appcenter-color-primary">#3f3f3f</value>
<value key="x-appcenter-color-primary-text">#ffffff</value>
<value key="x-appcenter-suggested-price">25</value>
<value key="x-appcenter-stripe">pk_live_Arrxw947rfYpLQK7VcSv4766</value>
</custom>
Expand Down
24 changes: 12 additions & 12 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -81,30 +81,30 @@ if desktop_file_validate.found()
)
endif

# Install the AppData file
appdata_conf = configuration_data()
appdata_conf.set('appid', application_id)
appdata_conf.set('version', meson.project_version())
# Install the MetaInfo file
metainfo_conf = configuration_data()
metainfo_conf.set('appid', application_id)
metainfo_conf.set('version', meson.project_version())

appdata_file = i18n.merge_file(
metainfo_file = i18n.merge_file(
input: configure_file(
input: '@0@.appdata.xml.in.in'.format(meson.project_name()),
output: '@0@.appdata.xml.in'.format(application_id),
configuration: appdata_conf
input: '@0@.metainfo.xml.in.in'.format(meson.project_name()),
output: '@0@.metainfo.xml.in'.format(application_id),
configuration: metainfo_conf
),
output: '@0@.appdata.xml'.format(application_id),
output: '@0@.metainfo.xml'.format(application_id),
po_dir: join_paths(meson.source_root(), 'po'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)

# Validate AppData file
# Validate MetaInfo file
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
'validate', appstream_util,
args: [
'validate-relax', appdata_file.full_path()
'validate-relax', metainfo_file.full_path()
]
)
endif
2 changes: 1 addition & 1 deletion po/extra/POTFILES
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
data/io.github.ellie_commons.sequeler.desktop.in.in
data/io.github.ellie_commons.sequeler.appdata.xml.in.in
data/io.github.ellie_commons.sequeler.metainfo.xml.in.in