Loupe/build-aux/flatpak/org.gnome.Loupe.Devel.json
Sophie Herold f80ec7db56 decoder: Use image-rs, libheif-rs, librsvg
This adds proper support for a lot of image formats including SVGs.
It will be the basis for many features to come. The technical core
is an asynchronous renderer that can arrange textures in smaller tiles
which might be generated on demand.

Closes #34, #40, #41, #49

Basis for fixing the following issues #7, #27, #36, #43, #68, #71
2023-03-04 21:48:51 -05:00

121 lines
3.8 KiB
JSON

{
"id" : "org.gnome.Loupe.Devel",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable",
"org.freedesktop.Sdk.Extension.llvm14"
],
"command" : "loupe",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--filesystem=host",
"--env=RUST_BACKTRACE=1",
"--env=RUST_LOG=loupe=debug",
"--talk-name=org.gtk.vfs.*",
"--filesystem=xdg-run/gvfs",
"--filesystem=xdg-run/gvfsd"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm14/bin",
"build-args" : [
"--share=network"
],
"env" : {
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER" : "clang",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER" : "clang",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS" : "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS" : "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
}
},
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name": "geocode-glib",
"buildsystem": "meson",
"config-opts": [
"-Denable-installed-tests=false",
"-Denable-introspection=false",
"-Denable-gtk-doc=false",
"-Dsoup2=false"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz",
"sha256": "2d9a6826d158470449a173871221596da0f83ebdcff98b90c7049089056a37aa",
"x-checker-data": {
"type": "gnome",
"name": "geocode-glib"
}
}
]
},
{
"name": "libgweather",
"buildsystem": "meson",
"config-opts": [
"-Denable_vala=false",
"-Dgtk_doc=false",
"-Dintrospection=false",
"-Dtests=false"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libgweather/4.2/libgweather-4.2.0.tar.xz",
"sha256": "af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203",
"x-checker-data": {
"type": "gnome",
"name": "libgweather",
"versions": {
"<": "40.0"
}
}
}
]
},
{
"name" : "libheif",
"buildsystem" : "cmake",
"config-opts": [
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/strukturag/libheif.git",
"tag" : "v1.15.1"
}
]
},
{
"name" : "loupe",
"buildsystem" : "meson",
"config-opts": [
"-Dprofile=development"
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/Incubator/loupe.git"
}
]
}
]
}