{
 "app_id": "com.github.PintaProject.Pinta",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.PintaProject.Pinta/master/com.github.PintaProject.Pinta.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-templates",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-public-share",
  "--filesystem=xdg-run/gvfs",
  "--filesystem=/run/media",
  "--filesystem=xdg-download",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:07:24.905173+00:00",
 "manifest": {
  "app-id": "com.github.PintaProject.Pinta",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "pinta",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ],
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=network",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-public-share",
   "--filesystem=xdg-templates",
   "--filesystem=/run/media",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.gtk.vfs.*",
   "--device=dri"
  ],
  "cleanup": [
   "/lib/pkgconfig",
   "/share/man",
   "*.la"
  ],
  "modules": [
   {
    "name": "Pinta",
    "build-options": {
     "append-path": "/usr/lib/sdk/dotnet10/bin",
     "append-ld-library-path": "/usr/lib/sdk/dotnet10/lib",
     "env": {
      "PKG_CONFIG_PATH": "/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/sdk/dotnet10/lib/pkgconfig",
      "DOTNET_CLI_TELEMETRY_OPTOUT": "true",
      "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "true"
     }
    },
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PintaProject/Pinta.git",
      "tag": "3.1.2",
      "commit": "b3df1e579f6b3dd23193d2f6877deced20d8063b",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     },
     "nuget_sources.json",
     {
      "type": "shell",
      "commands": [
       "sed -i \"s|^PINTA_BUILD_OPTS.*|& --source $(pwd)/nuget-sources|\" Makefile.am"
      ]
     }
    ],
    "modules": [
     "shared-modules/intltool/intltool-0.51.json"
    ]
   },
   {
    "name": "dotnet-runtime",
    "buildsystem": "simple",
    "build-options": {
     "no-debuginfo": true,
     "strip": true
    },
    "build-commands": [
     "/usr/lib/sdk/dotnet10/bin/install.sh"
    ]
   }
  ]
 }
}