{
 "app_id": "app.abelnotes.notes",
 "source_url": "https://raw.githubusercontent.com/abelnotes/abelnotes/main/flatpak/flathub-submission/app.abelnotes.notes.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--talk-name=org.freedesktop.secrets",
  "--filesystem=home"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-20T12:56:12.670612+00:00",
 "manifest": {
  "app-id": "app.abelnotes.notes",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "abelnotes",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--talk-name=org.freedesktop.secrets",
   "--filesystem=home"
  ],
  "modules": [
   {
    "name": "libsecret",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib",
     "-Dmanpage=false",
     "-Dgtk_doc=false",
     "-Dintrospection=false",
     "-Dvapi=false"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz",
      "sha256": "6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e"
     }
    ]
   },
   {
    "name": "zenity",
    "buildsystem": "simple",
    "build-commands": [
     "meson setup _build --prefix=/app --libdir=lib -Dwebkitgtk=false",
     "ninja -C _build",
     "install -Dm644 /usr/share/icons/hicolor/index.theme /app/share/icons/hicolor/index.theme",
     "ninja -C _build install"
    ],
    "cleanup": [
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/zenity/3.44/zenity-3.44.4.tar.xz",
      "sha256": "f1a4c958f4d4103f644457e440fd4bd86cf8b0502e9ace06002c98e36cd84a18"
     }
    ]
   },
   {
    "name": "abelnotes",
    "buildsystem": "simple",
    "build-options": {
     "arch": {
      "x86_64": {
       "env": {
        "BUNDLE_PATH": "build/linux/x64/release/bundle"
       }
      },
      "aarch64": {
       "env": {
        "BUNDLE_PATH": "build/linux/arm64/release/bundle"
       }
      }
     },
     "append-path": "/usr/lib/sdk/llvm20/bin:/var/lib/flutter/bin:/var/lib/rustup/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib",
     "env": {
      "PUB_CACHE": "/run/build/abelnotes/.pub-cache",
      "CARGO_HOME": "/run/build/abelnotes/cargo",
      "RUSTUP_HOME": "/var/lib/rustup",
      "CXXFLAGS": "-Wno-error=deprecated-literal-operator -Wno-deprecated-literal-operator"
     }
    },
    "build-commands": [
     "setup-flutter.sh",
     "flutter config --enable-native-assets",
     "flutter build linux --release --no-pub",
     "mkdir -p /app/abelnotes",
     "cp -r $BUNDLE_PATH/. /app/abelnotes/",
     "mkdir -p /app/bin",
     "ln -s /app/abelnotes/abelnotes /app/bin/abelnotes",
     "install -Dm644 flatpak/app.abelnotes.notes.desktop /app/share/applications/app.abelnotes.notes.desktop",
     "install -Dm644 flatpak/app.abelnotes.notes.metainfo.xml /app/share/metainfo/app.abelnotes.notes.metainfo.xml",
     "install -Dm644 web/icons/Icon-512.png /app/share/icons/hicolor/512x512/apps/app.abelnotes.notes.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/abelnotes/abelnotes.git",
      "tag": "v0.37.2"
     },
     "generated/sources/cargo.json",
     "generated/sources/pubspec.json"
    ],
    "modules": [
     "generated/modules/rustup-1.94.0.json",
     "generated/modules/flutter-sdk-3.44.0.json"
    ]
   },
   {
    "name": "xrandr",
    "buildsystem": "autotools",
    "cleanup": [
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.x.org/releases/individual/app/xrandr-1.5.2.tar.xz",
      "sha256": "c8bee4790d9058bacc4b6246456c58021db58a87ddda1a9d0139bf5f18f1f240"
     }
    ]
   },
   {
    "name": "xinput",
    "buildsystem": "autotools",
    "cleanup": [
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.x.org/releases/individual/app/xinput-1.6.4.tar.xz",
      "sha256": "ad04d00d656884d133110eeddc34e9c69e626ebebbbab04dc95791c2907057c8"
     }
    ]
   }
  ]
 }
}