{
 "app_id": "net.osmand.plus.OsmAnd",
 "source_url": "https://gitlab.com/julianwi/atl_flatpaks/-/raw/master/osmand/net.osmand.plus.OsmAnd.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Platform",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--socket=pulseaudio"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T18:16:25.047462+00:00",
 "manifest": {
  "app-id": "net.osmand.plus.OsmAnd",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Platform",
  "base": "io.gitlab.android_translation_layer.BaseApp",
  "base-version": "stable",
  "command": "osmand.sh",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "modules": [
   {
    "name": "osmand",
    "buildsystem": "simple",
    "build-commands": [
     "install -D net.osmand.plus_490702.apk /app/share/OsmAnd.apk",
     "install -D osmand.sh /app/bin/osmand.sh",
     "install -D net.osmand.plus.OsmAnd.desktop /app/share/applications/net.osmand.plus.OsmAnd.desktop",
     "install -D net.osmand.plus.OsmAnd.service /app/share/dbus-1/services/net.osmand.plus.OsmAnd.service",
     "install -D icon.png /app/share/icons/hicolor/512x512/apps/net.osmand.plus.OsmAnd.png",
     "install -D net.osmand.plus.OsmAnd.metainfo.xml /app/share/metainfo/net.osmand.plus.OsmAnd.metainfo.xml"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://f-droid.org/archive/net.osmand.plus_490702.apk",
      "sha256": "617bcfa128649f56e6815d94a54886e5948072e740a2c6b419c61cb694624d7f"
     },
     {
      "type": "file",
      "url": "https://f-droid.org/repo/net.osmand.plus/en-US/icon.png",
      "sha256": "47972cc24a55a592f04ec3c3f39e6e90b5ff733b8e73317064b9fba42c5a07e9"
     },
     {
      "type": "file",
      "path": "osmand.sh"
     },
     {
      "type": "file",
      "path": "net.osmand.plus.OsmAnd.desktop"
     },
     {
      "type": "file",
      "path": "net.osmand.plus.OsmAnd.service"
     },
     {
      "type": "file",
      "path": "net.osmand.plus.OsmAnd.metainfo.xml"
     }
    ]
   },
   {
    "name": "run-dex2oat",
    "buildsystem": "simple",
    "build-options": {
     "append-ld-library-path": "/app/lib/art:/app/lib",
     "arch": {
      "x86_64": {
       "env": {
        "arch": "x86_64"
       }
      },
      "aarch64": {
       "env": {
        "arch": "arm64"
       }
      }
     }
    },
    "build-commands": [
     "mkdir -p /app/share/oat/$arch",
     "dex2oat --dex-file=/app/share/OsmAnd.apk --oat-file=/app/share/oat/$arch/OsmAnd.odex --host",
     "chmod +x /app/share/oat/$arch/OsmAnd.odex",
     "mv /app/share/OsmAnd.apk OsmAnd.apk",
     "zip -d OsmAnd.apk \"classes*.dex\"",
     "mv OsmAnd.apk /app/share/OsmAnd.apk"
    ]
   },
   {
    "name": "remove-dex2oat",
    "buildsystem": "simple",
    "build-commands": [
     "rm /app/lib/art/libart-compiler.so",
     "rm /app/lib/art/libart-dexlayout.so",
     "rm /app/bin/dex2oat",
     "rm /app/bin/dalvikvm"
    ]
   }
  ]
 }
}