2020-12-26 02:05:34 -08:00
|
|
|
{
|
2022-08-05 00:55:13 -04:00
|
|
|
"id" : "org.gnome.Loupe.Devel",
|
2020-12-26 02:05:34 -08:00
|
|
|
"runtime" : "org.gnome.Platform",
|
2022-07-14 06:37:47 +00:00
|
|
|
"runtime-version" : "master",
|
2020-12-26 02:05:34 -08:00
|
|
|
"sdk" : "org.gnome.Sdk",
|
|
|
|
|
"sdk-extensions" : [
|
2022-08-05 00:37:38 -04:00
|
|
|
"org.freedesktop.Sdk.Extension.rust-stable",
|
2023-06-20 11:53:35 +02:00
|
|
|
"org.freedesktop.Sdk.Extension.llvm16"
|
2020-12-26 02:05:34 -08:00
|
|
|
],
|
2021-09-28 17:44:26 -07:00
|
|
|
"command" : "loupe",
|
2020-12-26 02:05:34 -08:00
|
|
|
"finish-args" : [
|
|
|
|
|
"--share=ipc",
|
|
|
|
|
"--socket=fallback-x11",
|
|
|
|
|
"--socket=wayland",
|
|
|
|
|
"--device=dri",
|
|
|
|
|
"--filesystem=host",
|
|
|
|
|
"--env=RUST_BACKTRACE=1",
|
2023-01-31 21:56:44 +01:00
|
|
|
"--env=RUST_LOG=loupe=debug",
|
|
|
|
|
"--talk-name=org.gtk.vfs.*",
|
|
|
|
|
"--filesystem=xdg-run/gvfs",
|
|
|
|
|
"--filesystem=xdg-run/gvfsd"
|
2020-12-26 02:05:34 -08:00
|
|
|
],
|
|
|
|
|
"build-options" : {
|
2023-06-20 11:53:35 +02:00
|
|
|
"append-path" : "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm16/bin",
|
2022-08-05 00:37:38 -04:00
|
|
|
"build-args" : [
|
|
|
|
|
"--share=network"
|
|
|
|
|
],
|
|
|
|
|
"env" : {
|
2023-03-09 18:33:47 -05:00
|
|
|
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL" : "sparse",
|
2022-08-05 00:37:38 -04:00
|
|
|
"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"
|
|
|
|
|
}
|
2020-12-26 02:05:34 -08:00
|
|
|
},
|
|
|
|
|
"cleanup" : [
|
|
|
|
|
"/include",
|
|
|
|
|
"/lib/pkgconfig",
|
|
|
|
|
"/man",
|
|
|
|
|
"/share/doc",
|
|
|
|
|
"/share/gtk-doc",
|
|
|
|
|
"/share/man",
|
|
|
|
|
"/share/pkgconfig",
|
|
|
|
|
"*.la",
|
|
|
|
|
"*.a"
|
|
|
|
|
],
|
2023-03-05 21:18:31 +01:00
|
|
|
"add-extensions": {
|
|
|
|
|
/* Exile HEIC (x265) codec into extension */
|
|
|
|
|
"org.gnome.Loupe.Devel.HEIC" : {
|
|
|
|
|
/* Relative to app dir */
|
|
|
|
|
"directory" : "lib/libheif-heic",
|
|
|
|
|
/* Relative to directory above */
|
|
|
|
|
"add-ld-path" : "lib",
|
|
|
|
|
/* Remove extension data from main flatpak package */
|
|
|
|
|
"bundle" : true,
|
|
|
|
|
/* Remove this extension when Loupe is deinstalled */
|
|
|
|
|
"autodelete" : true
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-12-26 02:05:34 -08:00
|
|
|
"modules" : [
|
2022-11-06 01:08:43 +01:00
|
|
|
{
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
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 03:14:52 +01:00
|
|
|
{
|
2023-03-05 21:18:31 +01:00
|
|
|
/* HEIC (x265) decoder */
|
|
|
|
|
"name" : "libde265",
|
|
|
|
|
"buildsystem" : "cmake",
|
|
|
|
|
"config-opts": [
|
|
|
|
|
/* Install into folder for extension */
|
|
|
|
|
"-DCMAKE_INSTALL_PREFIX=/app/lib/libheif-heic",
|
|
|
|
|
"-DENABLE_SDL=Off"
|
|
|
|
|
],
|
|
|
|
|
"sources" : [
|
|
|
|
|
{
|
|
|
|
|
"type" : "git",
|
|
|
|
|
"url" : "https://github.com/strukturag/libde265.git",
|
|
|
|
|
"tag" : "v1.0.11"
|
|
|
|
|
}
|
|
|
|
|
]
|
2023-05-23 01:49:40 +02:00
|
|
|
},
|
|
|
|
|
{
|
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 03:14:52 +01:00
|
|
|
"name" : "libheif",
|
|
|
|
|
"buildsystem" : "cmake",
|
|
|
|
|
"config-opts": [
|
2023-03-05 21:18:31 +01:00
|
|
|
/* Build HEIC (x265) as plugin */
|
|
|
|
|
"-DWITH_LIBDE265_PLUGIN=On",
|
|
|
|
|
"-DPLUGIN_DIRECTORY=/app/lib/libheif-heic/lib",
|
|
|
|
|
"-DLIBDE265_INCLUDE_DIR=/app/lib/libheif-heic/include",
|
|
|
|
|
"-DLIBDE265_PKGCONF_LIBRARY_DIRS=/app/lib/libheif-heic/lib",
|
|
|
|
|
/* Turn all encoders off */
|
|
|
|
|
"-DWITH_X265=Off",
|
|
|
|
|
"-DWITH_SvtEnc=Off",
|
|
|
|
|
"-DWITH_SvtEnc_PLUGIN=Off",
|
|
|
|
|
"-DWITH_AOM_ENCODER=Off",
|
|
|
|
|
/* Turn off plugins for AV1 */
|
|
|
|
|
"-DWITH_RAV1E_PLUGIN=Off",
|
|
|
|
|
/* Turn off unused AV1 decoders */
|
|
|
|
|
"-DWITH_RAV1E=Off",
|
|
|
|
|
/* No need for examples */
|
|
|
|
|
"-DWITH_EXAMPLES=Off"
|
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 03:14:52 +01:00
|
|
|
],
|
|
|
|
|
"sources" : [
|
|
|
|
|
{
|
|
|
|
|
"type" : "git",
|
|
|
|
|
"url" : "https://github.com/strukturag/libheif.git",
|
2023-05-23 01:49:40 +02:00
|
|
|
"tag" : "v1.16.2"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name" : "glycin",
|
|
|
|
|
"buildsystem" : "meson",
|
|
|
|
|
"sources" : [
|
|
|
|
|
{
|
|
|
|
|
"type" : "git",
|
|
|
|
|
"url" : "https://gitlab.gnome.org/sophie-h/glycin.git",
|
2023-08-04 13:20:41 +02:00
|
|
|
"tag" : "0.1.beta"
|
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 03:14:52 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2020-12-26 02:05:34 -08:00
|
|
|
{
|
2021-09-28 17:44:26 -07:00
|
|
|
"name" : "loupe",
|
2020-12-26 02:05:34 -08:00
|
|
|
"buildsystem" : "meson",
|
|
|
|
|
"config-opts": [
|
2023-05-23 01:49:40 +02:00
|
|
|
"-Dprofile=development",
|
|
|
|
|
"-Ddisable-glycin-sandbox=true"
|
2020-12-26 02:05:34 -08:00
|
|
|
],
|
|
|
|
|
"sources" : [
|
|
|
|
|
{
|
|
|
|
|
"type" : "git",
|
2023-07-13 10:44:46 -04:00
|
|
|
"url" : "https://gitlab.gnome.org/GNOME/loupe.git"
|
2020-12-26 02:05:34 -08:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|