{
 "app_id": "com.maxrdz.Memories",
 "source_url": "https://raw.githubusercontent.com/maxrdz/Memories/main/build-aux/flatpak/com.maxrdz.Memories.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "47",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=dri",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--share=ipc",
  "--env=RUST_BACKTRACE=0",
  "--talk-name=org.gtk.vfs.*",
  "--filesystem=xdg-run/gvfs",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=xdg-pictures:create",
  "--filesystem=xdg-videos:create",
  "--filesystem=xdg-data:create",
  "--filesystem=xdg-cache:create"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-18T07:59:01.053082+00:00",
 "manifest": {
  "app-id": "com.maxrdz.Memories",
  "runtime": "org.gnome.Platform",
  "runtime-version": "47",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm18"
  ],
  "add-extensions": {
   "com.maxrdz.Memories.HEIC": {
    "directory": "lib/libheif-heic",
    "add-ld-path": "lib",
    "bundle": true,
    "autodelete": true
   }
  },
  "command": "memories",
  "finish-args": [
   "--device=dri",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--env=RUST_BACKTRACE=0",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--filesystem=xdg-pictures:create",
   "--filesystem=xdg-videos:create",
   "--filesystem=xdg-data:create",
   "--filesystem=xdg-cache:create"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
   "build-args": [
    "--share=network"
   ]
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/man",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "x265",
    "builddir": true,
    "subdir": "source",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DENABLE_CLI=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz",
      "sha256": "663531f341c5389f460d730e62e10a4fcca3428ca2ca109693867bc5fe2e2807",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7275,
       "url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "x264",
    "config-opts": [
     "--enable-pic",
     "--enable-shared",
     "--disable-cli"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "commit": "a8b68ebfaa68621b5ac8907610d3335971839d52"
     }
    ]
   },
   {
    "name": "ffmpeg",
    "config-opts": [
     "--disable-ffplay",
     "--disable-ffprobe",
     "--disable-doc",
     "--enable-pic",
     "--enable-shared",
     "--disable-doc",
     "--disable-static",
     "--enable-gpl",
     "--enable-version3",
     "--enable-optimizations",
     "--enable-vaapi",
     "--enable-libx264",
     "--enable-libx265"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/ffmpeg/examples"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-7.0.1.tar.xz",
      "sha256": "bce9eeb0f17ef8982390b1f37711a61b4290dc8c2a0c1a37b5857e85bfb0e4ff",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5405,
       "versions": {
        ">=": "7",
        "<": "8"
       },
       "url-template": "https://ffmpeg.org/releases/ffmpeg-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libde265",
    "buildsystem": "cmake",
    "config-opts": [
     "-DCMAKE_INSTALL_PREFIX=/app/lib/libheif-heic",
     "-DENABLE_SDL=Off"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/strukturag/libde265.git",
      "tag": "v1.0.15"
     }
    ]
   },
   {
    "name": "libheif",
    "buildsystem": "cmake",
    "config-opts": [
     "-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",
     "-DWITH_X265=Off",
     "-DWITH_SvtEnc=Off",
     "-DWITH_SvtEnc_PLUGIN=Off",
     "-DWITH_AOM_ENCODER=Off",
     "-DWITH_RAV1E_PLUGIN=Off",
     "-DWITH_RAV1E=Off",
     "-DWITH_EXAMPLES=Off"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/strukturag/libheif.git",
      "tag": "v1.17.6"
     }
    ]
   },
   {
    "name": "glycin-loaders",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/glycin-loaders/1.0/glycin-loaders-1.0.1.tar.xz",
      "sha256": "d0f022462ff555856e85ea940474470bb36b37c9ffcbcba63a03fe5e954370cf",
      "x-checker-data": {
       "type": "gnome",
       "name": "glycin-loaders"
      }
     }
    ]
   },
   {
    "name": "memories",
    "buildsystem": "meson",
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "../../",
      "branch": "main"
     }
    ]
   }
  ]
 }
}