{ "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.*", "--filesystem=xdg-run/gvfs", "--filesystem=xdg-run/gvfsd", "--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" : "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.31/libgphoto2-2.5.31.tar.xz", "sha256" : "8fc7bf40f979459509b87dd4ff1aae9b6c1c2b4724d37db576081eec15406ace" } ], "config-opts" : [ "--disable-introspection", "--disable-docs" ] }, { "name" : "inih", "buildsystem" : "meson", "sources" : [ { "type": "git", "url" : "https://github.com/benhoyt/inih", "commit" : "9cecf0643da0846e77f64d10a126d9f48b9e05e8" } ] }, { "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": "archive", "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.1.tar.gz", "sha256" : "3078651f995cb6313b1041f07f4dd1bf0e9e4d394d6e2adc6e92ad0b621291fa" } ] }, { "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": "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": "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": "archive", "url": "https://github.com/flatpak/libportal/releases/download/0.7.1/libportal-0.7.1.tar.xz", "sha256" : "297b90b263fad22190a26b8c7e8ea938fe6b18fb936265e588927179920d3805" } ] }, { "name": "de256", "buildsystem": "cmake-ninja", "config-opts" : [ "-DCMAKE_INSTALL_LIBDIR=lib", "-DCMAKE_BUILD_TYPE=Release", "-DENABLE_DECODER=Off", "-DENABLE_ENCODER=OfF" ], "sources" : [ { "type": "archive", "url" : "https://github.com/strukturag/libde265/releases/download/v1.0.12/libde265-1.0.12.tar.gz", "sha256" : "62185ea2182e68cf68bba20cc6eb4c287407b509cf0a827d7ddb75614db77b5c" } ] }, { "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" : "archive", "url" : "https://github.com/strukturag/libheif/releases/download/v1.17.3/libheif-1.17.3.tar.gz", "sha256" : "8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea" } ], "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" } ] } ] }