Fix meson/flatpak builds

This commit is contained in:
Bnyro
2023-06-26 16:55:58 +02:00
parent dd78ca3e88
commit f1b729be5d
5 changed files with 6 additions and 9 deletions

View File

@@ -1,13 +1,13 @@
# Scalable icon
install_data(
'@0@.svg'.format(base_id),
install_dir: iconsdir / 'hicolor' / 'scalable' / 'apps',
install_dir: datadir / 'icons' / 'hicolor' / 'scalable' / 'apps',
rename: '@0@.svg'.format(application_id)
)
# Symbolic icon
install_data(
'@0@-symbolic.svg'.format(base_id),
install_dir: iconsdir / 'hicolor' / 'symbolic' / 'apps',
install_dir: datadir / 'icons' / 'hicolor' / 'symbolic' / 'apps',
rename: '@0@-symbolic.svg'.format(application_id)
)

View File

@@ -44,6 +44,6 @@
</kudos>
<developer_name>Bnyro</developer_name>
<update_contact>bnyro@tutanota.com</update_contact>
<launchable type="desktop-id">@app-id@.desktop</launchable>
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
<platform>GTK 4</platform>
</component>

View File

@@ -11,7 +11,7 @@ configure_file(
output: '@BASENAME@',
install: true,
configuration: desktop_conf,
install_dir: metainfodir
install_dir: datadir / 'applications'
)
# Metainfo file
@@ -20,7 +20,7 @@ configure_file(
output: '@BASENAME@',
install: true,
configuration: desktop_conf,
install_dir: metainfodir
install_dir: datadir / 'metainfo'
)
configure_file(