{ "app-id" : "org.gnome.Shotwell", "runtime" : "org.gnome.Platform", "runtime-version" : "master", "sdk" : "org.gnome.Sdk", "command" : "shotwell", "tags" : [ "nightly" ], "desktop-file-name-prefix" : "(Nightly) ", "finish-args" : [ "--filesystem=/media", "--filesystem=/run/media", "--filesystem=xdg-download", "--filesystem=xdg-pictures", "--filesystem=xdg-run/gvfsd", "--share=ipc", "--share=network", "--device=all", "--device=dri", "--socket=wayland", "--socket=fallback-x11", "--talk-name=org.freedesktop.FileManager1", "--talk-name=org.gnome.SettingsDaemon", "--talk-name=org.gtk.vfs.*", "--talk-name=org.freedesktop.secrets" ], "cleanup" : [ "/include", "/lib/pkconfig", "/share/pkgconfig", "/share/gtk-doc", "/share/man", "/share/vala", "/lib/girepository", "*.la", "*.a" ], "modules" : [ { "name" : "opencv", "buildsystem" : "cmake-ninja", "builddir" : true, "cleanup" : [ "/share/OpenCV/*.cmake", "/share/OpenCV/*.supp" ], "build-options" : { "cxxflags" : "-Wp,-U_GLIBCXX_ASSERTIONS", "cflags" : "-Wp,-U_GLIBCXX_ASSERTIONS" }, "config-opts" : [ "-DCMAKE_BUILD_TYPE=Release", "-DOPENCV_GENERATE_PKGCONFIG=ON", "-DBUILD_TESTS=OFF", "-DBUILD_EXAMPLES=OFF", "-DBUILD_PERF_TESTS=OFF", "-DWITH_FFMPEG=OFF", "-DWITH_GTK=OFF", "-DWITH_GSTREAMER=OFF", "-DWITH_JASPER=OFF", "-DWITH_OPENEXR=OFF", "-DWITH_GDAL=OFF", "-DWITH_GDCM=OFF", "-DBUILD_opencv_apps=OFF", "-DCMAKE_INSTALL_LIBDIR=lib", "-DBUILD_LIST=imgproc,imgcodecs,objdetect,dnn" ], "sources" : [ { "type" : "git", "commit" : "e60a7c0d490b5bd94524680deb74177d7bfb9ae4", "url" : "https://github.com/opencv/opencv" } ] }, { "name": "libportal", "buildsystem": "meson", "builddir": true, "config-opts": [ "--libdir=/app/lib", "--buildtype=debugoptimized", "-Dbackend-gtk3=enabled", "-Dbackend-gtk4=disabled", "-Dbackend-qt5=disabled", "-Ddocs=false", "-Dtests=false" ], "sources" : [ { "type": "git", "url": "https://github.com/flatpak/libportal.git", "branch": "main" } ] }, { "name" : "libusb", "sources" : [ { "type" : "archive", "url" : "https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2", "sha256" : "12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5" } ], "config-opts" : [ "--disable-udev" ] }, { "name" : "libghoto2", "cleanup" : [ "/bin", "/lib/udev", "/share/doc" ], "sources" : [ { "type" : "archive", "url" : "https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.30/libgphoto2-2.5.30.tar.bz2/download", "sha256" : "ee61a1dac6ad5cf711d114e06b90a6d431961a6e7ec59f4b757a7cd77b1c0fb4", "dest-filename" : "libgphoto2-2.5.30.tar.bz2" } ], "config-opts" : [ "--disable-introspection", "--disable-docs" ] }, { "name": "libraw", "config-opts": [ "--disable-examples", "--disable-static" ], "cleanup": [ "/share/doc" ], "sources": [ { "type": "archive", "url" : "https://www.libraw.org/data/LibRaw-0.21.1.tar.gz", "sha256" : "630a6bcf5e65d1b1b40cdb8608bdb922316759bfb981c65091fec8682d1543cd" }, { "type": "patch", "path": "patches/libraw-pkgconfig.patch" }, { "type": "shell", "commands": [ "autoreconf -fiv" ] } ] }, { "name" : "exiv2", "cleanup" : [ "/bin" ], "buildsystem" : "cmake-ninja", "config-opts" : [ "-DCMAKE_INSTALL_LIBDIR=lib", "-DCMAKE_BUILD_TYPE=Release", "-DEXIV2_BUILD_EXIV2_COMMAND=OFF", "-DEXIV2_BUILD_SAMPLES=OFF", "-DEXIV2_BUILD_UNIT_TESTS=OFF", "-DEXIV2_ENABLE_BMFF=ON" ], "sources" : [ { "type" : "git", "url" : "https://github.com/Exiv2/exiv2/", "branch" : "0.27-maintenance" } ] }, { "name" : "gexiv2", "buildsystem" : "meson", "cleanup" : [ "/lib/girepository-1.0", "/share/gir-1.0" ], "config-opts" : [ "-Dpython3=false" ], "build-options" : { "env" : { "PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR" : "/app/share/gir-1.0", "PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR" : "/app/lib/girepository-1.0" } }, "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/gexiv2.git/" } ] }, { "name": "de256", "buildsystem": "cmake-ninja", "config-opts" : [ "-DCMAKE_INSTALL_LIBDIR=lib", "-DCMAKE_BUILD_TYPE=Release", "-DENABLE_DECODER=Off", "-DENABLE_ENCODER=OfF" ], "sources" : [ { "type": "git", "url" : "https://github.com/strukturag/libde265.git", "tag" : "v1.0.11", "commit" : "e255f0571a46935955deef15808e52b18043788c" } ] }, { "name" : "libheif", "buildsystem" : "cmake-ninja", "config-opts": [ "-DCMAKE_INSTALL_LIBDIR=lib", "-DCMAKE_BUILD_TYPE=Release", "-DLIBDE265=On", "-DWITH_DAV1D=Off", "-DWITH_AOM_ENCODER=Off", "-DWITH_AOM_DECODER=Off", "-DWITH_SvtEnc=Off", "-DWITH_RAV1E=Off", "-DWITH_ENABLE_PLUGIN_LOADING=On", "-DWITH_EXAMPLES=Off" ], "sources" : [ { "type" : "git", "url" : "https://github.com/strukturag/libheif", "tag" : "v1.15.2", "commit" : "516ef5522680c7cb62768a34ecb24f3b165ec8b4" } ], "post-install" : [ "mkdir -p /app/lib/gdk-pixbuf-2.0/2.10.0/loaders", "mv $(pkg-config --define-variable=prefix=/app --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0)/* /app/lib/gdk-pixbuf-2.0/2.10.0/loaders", "gdk-pixbuf-query-loaders /app/lib/gdk-pixbuf-2.0/2.10.0/loaders/* > /app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" ] }, { "name" : "shotwell", "buildsystem" : "meson", "config-opts" : [ "-Dfatal_warnings=true", "-Dudev=false", "-Dinstall_apport_hook=false", "-Dface_detection_helper_bus=private", "-Dface_detection=true", "-Dextra_pixbuf_loaders_path=/app/lib/gdk-pixbuf-2.0/2.10.0" ], "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/shotwell.git/", "branch" : "shotwell-0.32" } ] } ] }