Commit b843015c authored by Debarshi Ray's avatar Debarshi Ray

flatpak: Explicitly specify the LibRaw build options

Currently the build detects the presence of the necessary dependencies
and automatically enables or disables the corresponding options. Unless
someone is keeping a close eye on the build logs, a change in the
manifest or the SDK might silently and unexpectedly change the build
options.

Ideally, the build would fail if a requested option can't be met, to
draw attention to this unforeseen change.

Unfortunately, the LibRaw build uses AC_MSG_WARN even for explicitly
enabled build options. This means that a missing dependency won't fail
the build even if the option was explicitly requested. While this is
not ideal, at least listing the options makes it clear what the
required outcome is. That way someone can manually check the logs from
time to time and see if it's living up to the requirements.

The set of build flags have been chosen to match the current reality of
automatically selected options. Hence, there shouldn't be any
user-visible change.

GNOME/gnome-photos!91
parent cd16fded
Pipeline #49021 passed with stage
in 11 minutes and 35 seconds
......@@ -148,7 +148,12 @@
},
{
"name": "libraw",
"config-opts": [ "--disable-examples", "--disable-static" ],
"config-opts": [ "--disable-examples",
"--disable-jasper",
"--disable-static",
"--enable-jpeg",
"--enable-lcms",
"--enable-openmp" ],
"cleanup": [ "/share/doc" ],
"sources": [
{
......
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