Skip to content

Commit

Permalink
Bump appstreamcli requirement to 1.0.2, pass --icon-policy to compose
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Feb 26, 2024
1 parent c9f7ad0 commit 3a91836
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Configure arguments are documented in `meson_options.txt`.
## Runtime dependencies

The `flatpak-builder` tool requires `flatpak` and `appstreamcli` >=
0.16.3 being available on the host to function. Depending on the
1.0.2 being available on the host to function. Depending on the
manifest used it also requires some commands be available on the host.

Very commonly used:
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_70], [Glib max version])
GLIB_REQS=2.66
OSTREE_REQS=2017.14
FLATPAK_REQS=0.99.1
APPSTREAMCLI_REQS=0.16.3
APPSTREAMCLI_REQS=1.0.2
SYSTEM_DEBUGEDIT_REQS=5.0
LIBDW_REQS=0.172

Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ endforeach
debugedit = find_program('debugedit', version: '>= 5.0')

# Require appstream with compose plugin installed
appstreamcli = find_program('appstreamcli', version: '>= 0.16.3')
appstreamcli = find_program('appstreamcli', version: '>= 1.0.2')
appstreamcli_compose = run_command(appstreamcli, ['compose', '--help'], check: true)

subdir('src')
Expand Down
1 change: 1 addition & 0 deletions src/builder-manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -3055,6 +3055,7 @@ builder_manifest_cleanup (BuilderManifest *self,
if (!appstreamcli_compose (error,
"--no-partial-urls",
"--prefix=/",
"--icon-policy=128x128=cached-remote,128x128@2=cached-remote",
origin,
arg_base_url,
arg_media_dir,
Expand Down

0 comments on commit 3a91836

Please sign in to comment.