Skip to content

Commit 3a91836

Browse files
committed
Bump appstreamcli requirement to 1.0.2, pass --icon-policy to compose
1 parent c9f7ad0 commit 3a91836

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Configure arguments are documented in `meson_options.txt`.
2929
## Runtime dependencies
3030

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

3535
Very commonly used:

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_70], [Glib max version])
1818
GLIB_REQS=2.66
1919
OSTREE_REQS=2017.14
2020
FLATPAK_REQS=0.99.1
21-
APPSTREAMCLI_REQS=0.16.3
21+
APPSTREAMCLI_REQS=1.0.2
2222
SYSTEM_DEBUGEDIT_REQS=5.0
2323
LIBDW_REQS=0.172
2424

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ endforeach
4141
debugedit = find_program('debugedit', version: '>= 5.0')
4242

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

4747
subdir('src')

src/builder-manifest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3055,6 +3055,7 @@ builder_manifest_cleanup (BuilderManifest *self,
30553055
if (!appstreamcli_compose (error,
30563056
"--no-partial-urls",
30573057
"--prefix=/",
3058+
"--icon-policy=128x128=cached-remote,128x128@2=cached-remote",
30583059
origin,
30593060
arg_base_url,
30603061
arg_media_dir,

0 commit comments

Comments
 (0)